mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Implemented missing functionality for NSPredicate and NSExpression.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25183 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
492c861e29
commit
db81f051db
4 changed files with 912 additions and 793 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-05-23 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/Foundation/NSCompoundPredicate.h: Add some common ivars.
|
||||
* Headers/Foundation/NSExpression.h:Add some common ivar.
|
||||
* Source/NSPredicate.m: Implement a lot of missing functionality
|
||||
for the predicate and expression classes. Clean up formatting.
|
||||
|
||||
2007-05-16 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Foundation/NSNetServices.h: fix bug #19872
|
||||
|
|
|
@ -42,6 +42,10 @@ typedef enum _NSCompoundPredicateType
|
|||
} NSCompoundPredicateType;
|
||||
|
||||
@interface NSCompoundPredicate : NSPredicate
|
||||
{
|
||||
NSCompoundPredicateType _type;
|
||||
NSArray *_subs;
|
||||
}
|
||||
|
||||
+ (NSPredicate *) andPredicateWithSubpredicates: (NSArray *)list;
|
||||
+ (NSPredicate *) notPredicateWithSubpredicate: (NSPredicate *)predicate;
|
||||
|
|
|
@ -28,13 +28,15 @@
|
|||
|
||||
#if OS_API_VERSION(100400, GS_API_LATEST)
|
||||
|
||||
#import <Foundation/NSPredicate.h>
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@class NSArray;
|
||||
@class NSMutableDictionary;
|
||||
@class NSString;
|
||||
|
||||
typedef enum _NSExpressionType
|
||||
{
|
||||
|
@ -46,6 +48,9 @@ typedef enum _NSExpressionType
|
|||
} NSExpressionType;
|
||||
|
||||
@interface NSExpression : NSObject <NSCoding, NSCopying>
|
||||
{
|
||||
NSExpressionType _type;
|
||||
}
|
||||
|
||||
+ (NSExpression *) expressionForConstantValue: (id)obj;
|
||||
+ (NSExpression *) expressionForEvaluatedObject;
|
||||
|
|
1687
Source/NSPredicate.m
1687
Source/NSPredicate.m
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue