blob: 9bce17fa844061252106665a2e4ed02d7a49cf02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
{ Parsed from Foundation.framework NSPredicate.h }
{$ifdef TYPES}
{$ifndef NSPREDICATE_PAS_T}
{$define NSPREDICATE_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSPREDICATE_PAS_R}
{$define NSPREDICATE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSPREDICATE_PAS_F}
{$define NSPREDICATE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSPREDICATE_PAS_S}
{$define NSPREDICATE_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSPredicate = objcclass;
NSPredicatePointer = ^NSPredicate;
NSPredicatePtr = NSPredicatePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSPREDICATE_PAS_C}
{$define NSPREDICATE_PAS_C}
{ NSPredicate }
NSPredicate = objcclass external (NSObject, NSCodingProtocol, NSCopyingProtocol)
private
_reserved: Pointer;
public
class function predicateWithFormat_argumentArray(predicateFormat_: NSString; arguments: NSArray): NSPredicate; message 'predicateWithFormat:argumentArray:';
class function predicateWithFormat(firstKey: id): NSPredicate; varargs; message 'predicateWithFormat:';
class function predicateWithFormat_arguments(predicateFormat_: NSString; argList: va_list): NSPredicate; message 'predicateWithFormat:arguments:';
class function predicateWithValue(value: Boolean): NSPredicate; message 'predicateWithValue:';
function predicateFormat: NSString; message 'predicateFormat';
function predicateWithSubstitutionVariables(variables: NSDictionary): NSPredicate; message 'predicateWithSubstitutionVariables:';
function evaluateWithObject(object_: id): Boolean; message 'evaluateWithObject:';
function evaluateWithObject_substitutionVariables(object_: id; bindings: NSDictionary): Boolean; message 'evaluateWithObject:substitutionVariables:';
{ Adopted Protocols }
procedure encodeWithCoder(aCoder: NSCoder);
function initWithCoder(aDecoder: NSCoder): id;
function copyWithZone(zone_: NSZonePtr): id;
end;
{ NSPredicateSupportCategory }
NSPredicateSupportCategory = objccategory external (NSArray)
function filteredArrayUsingPredicate(predicate: NSPredicate): NSArray; message 'filteredArrayUsingPredicate:';
end;
{ NSPredicateSupport_NSMutableArrayCategory }
NSPredicateSupport_NSMutableArrayCategory = objccategory external name 'NSPredicateSupport' (NSMutableArray)
procedure filterUsingPredicate(predicate: NSPredicate); message 'filterUsingPredicate:';
end;
{ NSPredicateSupport_NSSetCategory }
NSPredicateSupport_NSSetCategory = objccategory external name 'NSPredicateSupport' (NSSet)
function filteredSetUsingPredicate(predicate: NSPredicate): NSSet; message 'filteredSetUsingPredicate:';
end;
{ NSPredicateSupport_NSMutableSetCategory }
NSPredicateSupport_NSMutableSetCategory = objccategory external name 'NSPredicateSupport' (NSMutableSet)
procedure filterUsingPredicate(predicate: NSPredicate); message 'filterUsingPredicate:';
end;
{$endif}
{$endif}
|