nano-store 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +3 -1
- data/Rakefile +1 -1
- data/lib/nano_store.rb +1 -1
- data/lib/nano_store/model.rb +11 -7
- data/lib/nano_store/version.rb +1 -1
- data/spec/model_spec.rb +2 -5
- data/vendor/Podfile.lock +4 -4
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoGlobals.h +3 -1
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoPredicate.h +5 -5
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSearch.h +4 -2
- data/vendor/Pods/Documentation/NanoStore/docset-installed.txt +4 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist +33 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html +2266 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html +4708 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html +818 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html +1781 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html +800 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html +1054 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html +2544 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html +713 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html +3723 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html +312 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html +651 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/styles.css +584 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/stylesPrint.css +22 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html +106 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/button_bar_background.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/disclosure.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/disclosure_open.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/library_background.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/title_background.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html +654 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml +92 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens1.xml +596 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens10.xml +48 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens11.xml +118 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens2.xml +1209 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens3.xml +158 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens4.xml +455 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml +166 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens6.xml +246 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml +821 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml +125 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens9.xml +1082 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.mom +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html +2266 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html +4708 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html +818 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html +1781 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html +800 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html +1054 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html +2544 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html +713 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html +3723 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html +312 -0
- data/vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html +651 -0
- data/vendor/Pods/Documentation/NanoStore/html/css/styles.css +584 -0
- data/vendor/Pods/Documentation/NanoStore/html/css/stylesPrint.css +22 -0
- data/vendor/Pods/Documentation/NanoStore/html/hierarchy.html +106 -0
- data/vendor/Pods/Documentation/NanoStore/html/img/button_bar_background.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/img/disclosure.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/img/disclosure_open.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/img/library_background.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/img/title_background.png +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/index.html +654 -0
- data/vendor/Pods/Headers/NanoStore/NSFNanoGlobals.h +3 -1
- data/vendor/Pods/Headers/NanoStore/NSFNanoPredicate.h +5 -5
- data/vendor/Pods/Headers/NanoStore/NSFNanoSearch.h +4 -2
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.h +3 -1
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.m +1 -0
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.h +5 -5
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m +15 -14
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.h +4 -2
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m +95 -20
- data/vendor/Pods/Pods.bridgesupport +708 -700
- data/vendor/Pods/Pods.xcconfig +3 -3
- metadata +62 -4
@@ -77,7 +77,7 @@
|
|
77
77
|
/** * The comparison operator to be used. */
|
78
78
|
@property (nonatomic, assign, readonly) NSFMatchType match;
|
79
79
|
/** * The value to be used for comparison. */
|
80
|
-
@property (nonatomic,
|
80
|
+
@property (nonatomic, readonly) id value;
|
81
81
|
|
82
82
|
/** @name Creating and Initializing a Predicate
|
83
83
|
*/
|
@@ -87,22 +87,22 @@
|
|
87
87
|
/** * Creates and returns a predicate.
|
88
88
|
* @param theType is the column type. Can be \link Globals::NSFKeyColumn NSFKeyColumn \endlink, \link Globals::NSFAttributeColumn NSFAttributeColumn \endlink or \link Globals::NSFValueColumn NSFValueColumn \endlink.
|
89
89
|
* @param theMatch is the match operator.
|
90
|
-
* @param theValue
|
90
|
+
* @param theValue can be an NSString or [NSNull null]
|
91
91
|
* @return A predicate which can be used in an NSFNanoExpression.
|
92
92
|
* @see \link initWithColumn:matching:value: - (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue \endlink
|
93
93
|
*/
|
94
94
|
|
95
|
-
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(
|
95
|
+
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue;
|
96
96
|
|
97
97
|
/** * Initializes a newly allocated predicate.
|
98
98
|
* @param theType is the column type. Can be \link Globals::NSFKeyColumn NSFKeyColumn \endlink, \link Globals::NSFAttributeColumn NSFAttributeColumn \endlink or \link Globals::NSFValueColumn NSFValueColumn \endlink.
|
99
99
|
* @param theMatch is the match operator.
|
100
|
-
* @param theValue
|
100
|
+
* @param theValue can be an NSString or [NSNull null]
|
101
101
|
* @return A predicate which can be used in an NSFNanoExpression.
|
102
102
|
* @see \link predicateWithColumn:matching:value: + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue \endlink
|
103
103
|
*/
|
104
104
|
|
105
|
-
- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(
|
105
|
+
- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue;
|
106
106
|
|
107
107
|
//@}
|
108
108
|
|
@@ -180,6 +180,8 @@
|
|
180
180
|
@property (nonatomic, assign, readwrite) NSUInteger offset;
|
181
181
|
/** * The limit clause is used to place an upper bound on the number of rows returned by a Search operation. */
|
182
182
|
@property (nonatomic, assign, readwrite) NSUInteger limit;
|
183
|
+
/** * limit a Search to a particular bag. */
|
184
|
+
@property (nonatomic, assign, readwrite) NSFNanoBag *bag;
|
183
185
|
|
184
186
|
/** @name Creating and Initializing a Search
|
185
187
|
*/
|
@@ -213,7 +215,7 @@
|
|
213
215
|
* @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
|
214
216
|
* @param outError is used if an error occurs. May be NULL.
|
215
217
|
* @return An array is returned if: 1) the sort has been specified or 2) the return type is \link Globals::NSFReturnKeys NSFReturnKeys \endlink. Otherwise, a dictionary is returned.
|
216
|
-
* @note The sort descriptor will be ignored when
|
218
|
+
* @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
|
217
219
|
* @see \link searchObjectsAdded:date:returnType:error: - (id)searchObjectsAdded:(NSFDateMatchType)theDateMatch date:(NSDate *)theDate returnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
|
218
220
|
*/
|
219
221
|
|
@@ -225,7 +227,7 @@
|
|
225
227
|
* @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
|
226
228
|
* @param outError is used if an error occurs. May be NULL.
|
227
229
|
* @return If theReturnType is \link Globals::NSFReturnObjects NSFReturnObjects \endlink, a dictionary is returned. Otherwise, an array is returned.
|
228
|
-
* @note The sort descriptor will be ignored when
|
230
|
+
* @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
|
229
231
|
* @see \link searchObjectsWithReturnType:error: - (id)searchObjectsWithReturnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
|
230
232
|
*/
|
231
233
|
|
@@ -85,6 +85,7 @@ NSString * NSFStringFromMatchType (NSFMatchType aMatchType)
|
|
85
85
|
case NSFInsensitiveEndsWith: value = @"Ends with (case insensitive)"; break;
|
86
86
|
case NSFGreaterThan: value = @"Greater than"; break;
|
87
87
|
case NSFLessThan: value = @"Less than"; break;
|
88
|
+
case NSFNotEqualTo: value = @"Not equal to"; break;
|
88
89
|
}
|
89
90
|
|
90
91
|
return value;
|
@@ -77,7 +77,7 @@
|
|
77
77
|
/** * The comparison operator to be used. */
|
78
78
|
@property (nonatomic, assign, readonly) NSFMatchType match;
|
79
79
|
/** * The value to be used for comparison. */
|
80
|
-
@property (nonatomic,
|
80
|
+
@property (nonatomic, readonly) id value;
|
81
81
|
|
82
82
|
/** @name Creating and Initializing a Predicate
|
83
83
|
*/
|
@@ -87,22 +87,22 @@
|
|
87
87
|
/** * Creates and returns a predicate.
|
88
88
|
* @param theType is the column type. Can be \link Globals::NSFKeyColumn NSFKeyColumn \endlink, \link Globals::NSFAttributeColumn NSFAttributeColumn \endlink or \link Globals::NSFValueColumn NSFValueColumn \endlink.
|
89
89
|
* @param theMatch is the match operator.
|
90
|
-
* @param theValue
|
90
|
+
* @param theValue can be an NSString or [NSNull null]
|
91
91
|
* @return A predicate which can be used in an NSFNanoExpression.
|
92
92
|
* @see \link initWithColumn:matching:value: - (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue \endlink
|
93
93
|
*/
|
94
94
|
|
95
|
-
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(
|
95
|
+
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue;
|
96
96
|
|
97
97
|
/** * Initializes a newly allocated predicate.
|
98
98
|
* @param theType is the column type. Can be \link Globals::NSFKeyColumn NSFKeyColumn \endlink, \link Globals::NSFAttributeColumn NSFAttributeColumn \endlink or \link Globals::NSFValueColumn NSFValueColumn \endlink.
|
99
99
|
* @param theMatch is the match operator.
|
100
|
-
* @param theValue
|
100
|
+
* @param theValue can be an NSString or [NSNull null]
|
101
101
|
* @return A predicate which can be used in an NSFNanoExpression.
|
102
102
|
* @see \link predicateWithColumn:matching:value: + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue \endlink
|
103
103
|
*/
|
104
104
|
|
105
|
-
- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(
|
105
|
+
- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue;
|
106
106
|
|
107
107
|
//@}
|
108
108
|
|
@@ -33,7 +33,7 @@
|
|
33
33
|
/** \cond */
|
34
34
|
@property (nonatomic, assign, readwrite) NSFTableColumnType column;
|
35
35
|
@property (nonatomic, assign, readwrite) NSFMatchType match;
|
36
|
-
@property (nonatomic,
|
36
|
+
@property (nonatomic, readwrite) id value;
|
37
37
|
/** \endcond */
|
38
38
|
|
39
39
|
@end
|
@@ -44,23 +44,16 @@
|
|
44
44
|
// Initialization / Cleanup
|
45
45
|
// ----------------------------------------------
|
46
46
|
|
47
|
-
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(
|
47
|
+
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(id)aValue
|
48
48
|
{
|
49
|
-
if (nil == aValue)
|
50
|
-
[[NSException exceptionWithName:NSFUnexpectedParameterException
|
51
|
-
reason:[NSString stringWithFormat:@"*** -[%@ %@]: value is nil.", [self class], NSStringFromSelector(_cmd)]
|
52
|
-
userInfo:nil]raise];
|
53
|
-
|
54
49
|
return [[self alloc]initWithColumn:type matching:matching value:aValue];
|
55
50
|
}
|
56
51
|
|
57
|
-
- (id)initWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(
|
52
|
+
- (id)initWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(id)aValue
|
58
53
|
{
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
userInfo:nil]raise];
|
63
|
-
|
54
|
+
NSAssert(nil != aValue, @"*** -[%@ %@]: value is nil.", [self class], NSStringFromSelector(_cmd));
|
55
|
+
NSAssert([aValue isKindOfClass:[NSString class]] || [aValue isKindOfClass:[NSNull class]], @"*** -[%@ %@]: value must be of type NSString or NSNull.", [self class], NSStringFromSelector(_cmd));
|
56
|
+
|
64
57
|
if ((self = [super init])) {
|
65
58
|
_column = type;
|
66
59
|
_match = matching;
|
@@ -96,7 +89,12 @@
|
|
96
89
|
}
|
97
90
|
|
98
91
|
// Make sure we escape quotes if present and the value is a string
|
99
|
-
|
92
|
+
if (YES == [_value isKindOfClass:[NSString class]]) {
|
93
|
+
_value = [_value stringByReplacingOccurrencesOfString:@"'" withString:@"''"];
|
94
|
+
} else {
|
95
|
+
_value = NSFStringFromNanoDataType(NSFNanoTypeNULL);
|
96
|
+
columnValue = NSFDatatype;
|
97
|
+
}
|
100
98
|
|
101
99
|
switch (_match) {
|
102
100
|
case NSFEqualTo:
|
@@ -135,6 +133,9 @@
|
|
135
133
|
case NSFLessThan:
|
136
134
|
[values addObject:[NSString stringWithFormat:@"%@ < '%@'", columnValue, _value]];
|
137
135
|
break;
|
136
|
+
case NSFNotEqualTo:
|
137
|
+
[values addObject:[NSString stringWithFormat:@"%@ <> '%@'", columnValue, _value]];
|
138
|
+
break;
|
138
139
|
}
|
139
140
|
|
140
141
|
return values;
|
@@ -180,6 +180,8 @@
|
|
180
180
|
@property (nonatomic, assign, readwrite) NSUInteger offset;
|
181
181
|
/** * The limit clause is used to place an upper bound on the number of rows returned by a Search operation. */
|
182
182
|
@property (nonatomic, assign, readwrite) NSUInteger limit;
|
183
|
+
/** * limit a Search to a particular bag. */
|
184
|
+
@property (nonatomic, assign, readwrite) NSFNanoBag *bag;
|
183
185
|
|
184
186
|
/** @name Creating and Initializing a Search
|
185
187
|
*/
|
@@ -213,7 +215,7 @@
|
|
213
215
|
* @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
|
214
216
|
* @param outError is used if an error occurs. May be NULL.
|
215
217
|
* @return An array is returned if: 1) the sort has been specified or 2) the return type is \link Globals::NSFReturnKeys NSFReturnKeys \endlink. Otherwise, a dictionary is returned.
|
216
|
-
* @note The sort descriptor will be ignored when
|
218
|
+
* @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
|
217
219
|
* @see \link searchObjectsAdded:date:returnType:error: - (id)searchObjectsAdded:(NSFDateMatchType)theDateMatch date:(NSDate *)theDate returnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
|
218
220
|
*/
|
219
221
|
|
@@ -225,7 +227,7 @@
|
|
225
227
|
* @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
|
226
228
|
* @param outError is used if an error occurs. May be NULL.
|
227
229
|
* @return If theReturnType is \link Globals::NSFReturnObjects NSFReturnObjects \endlink, a dictionary is returned. Otherwise, an array is returned.
|
228
|
-
* @note The sort descriptor will be ignored when
|
230
|
+
* @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
|
229
231
|
* @see \link searchObjectsWithReturnType:error: - (id)searchObjectsWithReturnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
|
230
232
|
*/
|
231
233
|
|
@@ -569,11 +569,15 @@
|
|
569
569
|
segment = [NSFNanoSearch _querySegmentForColumn:NSFAttribute value:anAttribute matching:NSFEqualTo];
|
570
570
|
[theSQLStatement appendString:segment];
|
571
571
|
[theSQLStatement appendString:@" AND "];
|
572
|
-
segment = [NSFNanoSearch _querySegmentForColumn:NSFValue value:aValue matching:
|
572
|
+
segment = [NSFNanoSearch _querySegmentForColumn:NSFValue value:aValue matching:aMatch];
|
573
573
|
}
|
574
574
|
}
|
575
575
|
|
576
576
|
[theSQLStatement appendString:segment];
|
577
|
+
if (self.bag != nil) {
|
578
|
+
NSString *selectInABag = [NSString stringWithFormat:@" AND NSFKey IN (SELECT NSFValue FROM NSFVALUES WHERE NSFKey == '%@' AND NSFAttribute == '%@')",self.bag.key,NSF_Private_NSFNanoBag_NSFObjectKeys];
|
579
|
+
[theSQLStatement appendString:selectInABag];
|
580
|
+
}
|
577
581
|
} else {
|
578
582
|
if (nil != aValue) {
|
579
583
|
if (YES == querySegmentWasAdded)
|
@@ -732,6 +736,10 @@
|
|
732
736
|
value = [[NSMutableString alloc]initWithFormat:@"%@ < '%@'", aColumn, aValue];
|
733
737
|
[segment appendString:value];
|
734
738
|
break;
|
739
|
+
case NSFNotEqualTo:
|
740
|
+
value = [[NSMutableString alloc]initWithFormat:@"%@ <> '%@'", aColumn, aValue];
|
741
|
+
[segment appendString:value];
|
742
|
+
break;
|
735
743
|
}
|
736
744
|
} else if (YES == [aValue isKindOfClass:[NSArray class]]) {
|
737
745
|
// Quote the parameters
|
@@ -749,6 +757,19 @@
|
|
749
757
|
[segment appendString:value];
|
750
758
|
|
751
759
|
// Free allocated resources
|
760
|
+
} else if (YES == [aValue isKindOfClass:[NSNull class]]){
|
761
|
+
switch (match) {
|
762
|
+
case NSFEqualTo:
|
763
|
+
value = [[NSMutableString alloc]initWithFormat:@"%@ IS NULL", aColumn];
|
764
|
+
[segment appendString:value];
|
765
|
+
break;
|
766
|
+
case NSFNotEqualTo:
|
767
|
+
value = [[NSMutableString alloc]initWithFormat:@"%@ IS NOT NULL", aColumn];
|
768
|
+
[segment appendString:value];
|
769
|
+
break;
|
770
|
+
default:
|
771
|
+
break;
|
772
|
+
}
|
752
773
|
}
|
753
774
|
|
754
775
|
return segment;
|
@@ -761,51 +782,56 @@
|
|
761
782
|
|
762
783
|
if ((YES == [aValue isKindOfClass:[NSString class]]) || (nil == aValue)) {
|
763
784
|
if (nil == aValue) {
|
764
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@') OR (%@ GLOB '%@.*') OR (%@ GLOB '*.%@.*') OR (%@ GLOB '*.%@')", NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue];
|
785
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@') OR (%@ GLOB '%@.*') OR (%@ GLOB '*.%@.*') OR (%@ GLOB '*.%@'))", NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue];
|
765
786
|
[segment appendString:value];
|
766
787
|
} else {
|
767
788
|
switch (match) {
|
768
789
|
case NSFEqualTo:
|
769
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ = '%@') OR (%@ GLOB '%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@' AND %@ = '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
790
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ = '%@') OR (%@ GLOB '%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@' AND %@ = '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
770
791
|
[segment appendString:value];
|
771
792
|
break;
|
772
793
|
case NSFBeginsWith:
|
773
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@*') OR (%@ GLOB '%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@' AND %@ GLOB '%@*')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
794
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ GLOB '%@*') OR (%@ GLOB '%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@' AND %@ GLOB '%@*'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
774
795
|
[segment appendString:value];
|
775
796
|
break;
|
776
797
|
case NSFContains:
|
777
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@') OR (%@ GLOB '%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@' AND %@ GLOB '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
798
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ GLOB '%@') OR (%@ GLOB '%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@' AND %@ GLOB '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
778
799
|
[segment appendString:value];
|
779
800
|
break;
|
780
801
|
case NSFEndsWith:
|
781
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '*%@') OR (%@ GLOB '%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@' AND %@ GLOB '*%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
802
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ GLOB '*%@') OR (%@ GLOB '%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@' AND %@ GLOB '*%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
782
803
|
[segment appendString:value];
|
783
804
|
break;
|
784
805
|
case NSFInsensitiveEqualTo:
|
785
806
|
aValue = [aValue uppercaseString];
|
786
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) = '%@') OR (%@ GLOB '%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@' AND upper(%@) = '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
807
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND upper(%@) = '%@') OR (%@ GLOB '%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@' AND upper(%@) = '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
787
808
|
[segment appendString:value];
|
788
809
|
break;
|
789
810
|
case NSFInsensitiveBeginsWith:
|
790
811
|
aValue = [aValue uppercaseString];
|
791
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) GLOB '%@*') OR (%@ GLOB '%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@' AND upper(%@) GLOB '%@*')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
812
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND upper(%@) GLOB '%@*') OR (%@ GLOB '%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@' AND upper(%@) GLOB '%@*'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
792
813
|
[segment appendString:value];
|
793
814
|
break;
|
794
815
|
case NSFInsensitiveContains:
|
795
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
816
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ LIKE '%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
796
817
|
[segment appendString:value];
|
797
818
|
break;
|
798
819
|
case NSFInsensitiveEndsWith:
|
799
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%%%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%%%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
820
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ LIKE '%%%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%%%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
800
821
|
[segment appendString:value];
|
801
822
|
break;
|
802
823
|
case NSFGreaterThan:
|
803
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ > '%@') OR (%@ GLOB '%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@' AND %@ > '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
824
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ > '%@') OR (%@ GLOB '%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@' AND %@ > '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
804
825
|
[segment appendString:value];
|
805
826
|
break;
|
806
827
|
case NSFLessThan:
|
807
|
-
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ < '%@') OR (%@ GLOB '%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@' AND %@ < '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
828
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ < '%@') OR (%@ GLOB '%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@' AND %@ < '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
808
829
|
[segment appendString:value];
|
830
|
+
break;
|
831
|
+
case NSFNotEqualTo:
|
832
|
+
value = [[NSMutableString alloc]initWithFormat:@"((%@ <> '%@' AND %@ <> '%@') OR (%@ GLOB '%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@' AND %@ <> '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
|
833
|
+
[segment appendString:value];
|
834
|
+
|
809
835
|
break;
|
810
836
|
}
|
811
837
|
}
|
@@ -825,6 +851,56 @@
|
|
825
851
|
[segment appendString:value];
|
826
852
|
|
827
853
|
// Free allocated resources
|
854
|
+
} else if (YES == [aValue isKindOfClass:[NSNull class]]) {
|
855
|
+
NSString *NULLStringValue = NSFStringFromNanoDataType (NSFNanoTypeNULL);
|
856
|
+
switch (match) {
|
857
|
+
case NSFEqualTo:
|
858
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ = '%@') OR (%@ GLOB '%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@' AND %@ = '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
859
|
+
[segment appendString:value];
|
860
|
+
break;
|
861
|
+
case NSFNotEqualTo:
|
862
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ <> '%@') OR (%@ GLOB '%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@' AND %@ <> '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
863
|
+
[segment appendString:value];
|
864
|
+
break;
|
865
|
+
case NSFBeginsWith:
|
866
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@*') OR (%@ GLOB '%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@' AND %@ GLOB '%@*')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
867
|
+
[segment appendString:value];
|
868
|
+
break;
|
869
|
+
case NSFContains:
|
870
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@') OR (%@ GLOB '%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@' AND %@ GLOB '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
871
|
+
[segment appendString:value];
|
872
|
+
break;
|
873
|
+
case NSFEndsWith:
|
874
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '*%@') OR (%@ GLOB '%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@' AND %@ GLOB '*%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
875
|
+
[segment appendString:value];
|
876
|
+
break;
|
877
|
+
case NSFInsensitiveEqualTo:
|
878
|
+
aValue = [aValue uppercaseString];
|
879
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) = '%@') OR (%@ GLOB '%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@' AND upper(%@) = '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
880
|
+
[segment appendString:value];
|
881
|
+
break;
|
882
|
+
case NSFInsensitiveBeginsWith:
|
883
|
+
aValue = [aValue uppercaseString];
|
884
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) GLOB '%@*') OR (%@ GLOB '%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@' AND upper(%@) GLOB '%@*')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
885
|
+
[segment appendString:value];
|
886
|
+
break;
|
887
|
+
case NSFInsensitiveContains:
|
888
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
889
|
+
[segment appendString:value];
|
890
|
+
break;
|
891
|
+
case NSFInsensitiveEndsWith:
|
892
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%%%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%%%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
893
|
+
[segment appendString:value];
|
894
|
+
break;
|
895
|
+
case NSFGreaterThan:
|
896
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ > '%@') OR (%@ GLOB '%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@' AND %@ > '%@')", NSFAttribute, NSFDatatype, NULLStringValue, aValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
897
|
+
[segment appendString:value];
|
898
|
+
break;
|
899
|
+
case NSFLessThan:
|
900
|
+
value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ < '%@') OR (%@ GLOB '%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@' AND %@ < '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
|
901
|
+
[segment appendString:value];
|
902
|
+
break;
|
903
|
+
}
|
828
904
|
}
|
829
905
|
|
830
906
|
return segment;
|
@@ -872,15 +948,14 @@
|
|
872
948
|
id theResults = results;
|
873
949
|
|
874
950
|
if ([_sort count] > 0) {
|
875
|
-
NSMutableArray *cocoaSortDescriptors = [NSMutableArray new];
|
876
|
-
|
877
|
-
for (NSFNanoSortDescriptor *descriptor in _sort) {
|
878
|
-
NSString *targetKeyPath = [[NSString alloc]initWithFormat:@"rootObject.%@", descriptor.attribute];
|
879
|
-
NSSortDescriptor *cocoaSort = [[NSSortDescriptor alloc]initWithKey:targetKeyPath ascending:descriptor.isAscending];
|
880
|
-
[cocoaSortDescriptors addObject:cocoaSort];
|
881
|
-
}
|
882
|
-
|
883
951
|
if (NSFReturnObjects == theReturnType) {
|
952
|
+
NSMutableArray *cocoaSortDescriptors = [NSMutableArray new];
|
953
|
+
|
954
|
+
for (NSFNanoSortDescriptor *descriptor in _sort) {
|
955
|
+
NSString *targetKeyPath = [[NSString alloc]initWithFormat:@"rootObject.%@", descriptor.attribute];
|
956
|
+
NSSortDescriptor *cocoaSort = [[NSSortDescriptor alloc]initWithKey:targetKeyPath ascending:descriptor.isAscending];
|
957
|
+
[cocoaSortDescriptors addObject:cocoaSort];
|
958
|
+
}
|
884
959
|
theResults = [[results allValues]sortedArrayUsingDescriptors:cocoaSortDescriptors];
|
885
960
|
} else {
|
886
961
|
theResults = [results allKeys];
|
@@ -1,1349 +1,1357 @@
|
|
1
1
|
<?xml version='1.0'?>
|
2
2
|
<signatures version='1.0'>
|
3
|
-
<constant
|
4
|
-
<constant
|
5
|
-
<constant
|
6
|
-
<constant
|
7
|
-
<constant
|
8
|
-
<constant
|
9
|
-
<constant
|
10
|
-
<constant
|
11
|
-
<constant
|
12
|
-
<constant
|
13
|
-
<constant
|
14
|
-
<constant
|
15
|
-
<constant
|
16
|
-
<constant
|
17
|
-
<constant
|
18
|
-
<constant
|
19
|
-
<constant
|
20
|
-
<constant
|
21
|
-
<constant
|
22
|
-
<constant
|
23
|
-
<constant
|
24
|
-
<constant
|
25
|
-
<constant
|
26
|
-
<constant
|
27
|
-
<constant
|
28
|
-
<constant
|
29
|
-
<constant
|
30
|
-
<constant
|
31
|
-
<constant
|
32
|
-
<constant
|
33
|
-
<constant
|
34
|
-
<constant
|
35
|
-
<constant
|
36
|
-
<constant
|
37
|
-
<constant
|
38
|
-
<enum
|
39
|
-
<enum
|
40
|
-
<enum
|
41
|
-
<enum
|
42
|
-
<enum
|
43
|
-
<enum
|
44
|
-
<enum
|
45
|
-
<enum
|
46
|
-
<enum
|
47
|
-
<enum
|
48
|
-
<enum
|
49
|
-
<enum
|
50
|
-
<enum
|
51
|
-
<enum
|
52
|
-
<enum
|
53
|
-
<enum
|
54
|
-
<enum
|
55
|
-
<enum
|
56
|
-
<enum
|
57
|
-
<enum
|
58
|
-
<enum
|
59
|
-
<enum
|
60
|
-
<enum
|
61
|
-
<enum
|
62
|
-
<enum
|
63
|
-
<enum
|
64
|
-
<enum
|
65
|
-
<enum
|
66
|
-
<enum
|
67
|
-
<enum
|
68
|
-
<enum
|
69
|
-
<enum
|
70
|
-
<enum
|
71
|
-
<enum
|
72
|
-
<enum
|
73
|
-
<enum
|
74
|
-
<enum
|
75
|
-
<enum
|
76
|
-
<enum
|
77
|
-
<enum
|
78
|
-
<enum
|
79
|
-
<enum
|
80
|
-
<enum
|
81
|
-
<enum
|
82
|
-
<enum
|
83
|
-
<enum
|
84
|
-
<enum
|
85
|
-
<enum
|
86
|
-
<enum
|
87
|
-
<enum
|
88
|
-
<enum
|
89
|
-
<enum
|
90
|
-
<enum
|
91
|
-
<enum
|
92
|
-
<enum
|
93
|
-
<enum
|
3
|
+
<constant const='true' name='NSFAttribute' declared_type='NSString*' type='@'/>
|
4
|
+
<constant const='true' name='NSFCalendarDate' declared_type='NSString*' type='@'/>
|
5
|
+
<constant const='true' name='NSFDatatype' declared_type='NSString*' type='@'/>
|
6
|
+
<constant const='true' name='NSFDomainKey' declared_type='NSString*' type='@'/>
|
7
|
+
<constant const='true' name='NSFKey' declared_type='NSString*' type='@'/>
|
8
|
+
<constant const='true' name='NSFKeyedArchive' declared_type='NSString*' type='@'/>
|
9
|
+
<constant const='true' name='NSFKeys' declared_type='NSString*' type='@'/>
|
10
|
+
<constant const='true' name='NSFMemoryDatabase' declared_type='NSString*' type='@'/>
|
11
|
+
<constant const='true' name='NSFNanoObjectBehaviorException' declared_type='NSString*' type='@'/>
|
12
|
+
<constant const='true' name='NSFNanoStoreErrorKey' declared_type='NSInteger' type='i'/>
|
13
|
+
<constant const='true' name='NSFNanoStoreUnableToManipulateStoreException' declared_type='NSString*' type='@'/>
|
14
|
+
<constant const='true' name='NSFNonConformingNanoObjectProtocolException' declared_type='NSString*' type='@'/>
|
15
|
+
<constant const='true' name='NSFObjectClass' declared_type='NSString*' type='@'/>
|
16
|
+
<constant const='true' name='NSFP_ColumnIdentifier' declared_type='NSString*' type='@'/>
|
17
|
+
<constant const='true' name='NSFP_DatatypeIdentifier' declared_type='NSString*' type='@'/>
|
18
|
+
<constant const='true' name='NSFP_FullDatatypeIdentifier' declared_type='NSString*' type='@'/>
|
19
|
+
<constant const='true' name='NSFP_SchemaTable' declared_type='NSString*' type='@'/>
|
20
|
+
<constant const='true' name='NSFP_TableIdentifier' declared_type='NSString*' type='@'/>
|
21
|
+
<constant const='true' name='NSFRowIDColumnName' declared_type='NSString*' type='@'/>
|
22
|
+
<constant const='true' name='NSFTemporaryDatabase' declared_type='NSString*' type='@'/>
|
23
|
+
<constant const='true' name='NSFUnexpectedParameterException' declared_type='NSString*' type='@'/>
|
24
|
+
<constant const='true' name='NSFValue' declared_type='NSString*' type='@'/>
|
25
|
+
<constant const='true' name='NSFValues' declared_type='NSString*' type='@'/>
|
26
|
+
<constant const='true' name='NSFVersionKey' declared_type='NSString*' type='@'/>
|
27
|
+
<constant const='true' name='NSF_Private_InvalidParameterDataCodeKey' declared_type='NSInteger' type='i'/>
|
28
|
+
<constant const='true' name='NSF_Private_MacOSXErrorCodeKey' declared_type='NSInteger' type='i'/>
|
29
|
+
<constant const='true' name='NSF_Private_NSFKeys_NSFKey' declared_type='NSString*' type='@'/>
|
30
|
+
<constant const='true' name='NSF_Private_NSFKeys_NSFKeyedArchive' declared_type='NSString*' type='@'/>
|
31
|
+
<constant const='true' name='NSF_Private_NSFNanoBag_NSFKey' declared_type='NSString*' type='@'/>
|
32
|
+
<constant const='true' name='NSF_Private_NSFNanoBag_NSFObjectKeys' declared_type='NSString*' type='@'/>
|
33
|
+
<constant const='true' name='NSF_Private_NSFNanoBag_Name' declared_type='NSString*' type='@'/>
|
34
|
+
<constant const='true' name='NSF_Private_NSFValues_NSFAttribute' declared_type='NSString*' type='@'/>
|
35
|
+
<constant const='true' name='NSF_Private_NSFValues_NSFKey' declared_type='NSString*' type='@'/>
|
36
|
+
<constant const='true' name='NSF_Private_NSFValues_NSFValue' declared_type='NSString*' type='@'/>
|
37
|
+
<constant const='true' name='NSF_Private_ToDeleteTableKey' declared_type='NSString*' type='@'/>
|
38
|
+
<enum value='1' name='CacheAllData'/>
|
39
|
+
<enum value='2' name='CacheDataOnDemand'/>
|
40
|
+
<enum value='3' name='DoNotCacheData'/>
|
41
|
+
<enum value='0' name='JournalModeDelete'/>
|
42
|
+
<enum value='3' name='JournalModeMemory'/>
|
43
|
+
<enum value='5' name='JournalModeOFF'/>
|
44
|
+
<enum value='2' name='JournalModePersist'/>
|
45
|
+
<enum value='1' name='JournalModeTruncate'/>
|
46
|
+
<enum value='4' name='JournalModeWAL'/>
|
47
|
+
<enum value='3' name='NSFAfterDate'/>
|
48
|
+
<enum value='1' name='NSFAnd'/>
|
49
|
+
<enum value='2' name='NSFAttributeColumn'/>
|
50
|
+
<enum value='1' name='NSFAverage'/>
|
51
|
+
<enum value='1' name='NSFBeforeDate'/>
|
52
|
+
<enum value='1' name='NSFBeginsWith'/>
|
53
|
+
<enum value='2' name='NSFContains'/>
|
54
|
+
<enum value='2' name='NSFCount'/>
|
55
|
+
<enum value='2' name='NSFEncodingUTF16'/>
|
56
|
+
<enum value='1' name='NSFEncodingUTF8'/>
|
57
|
+
<enum value='3' name='NSFEncodingUnknown'/>
|
58
|
+
<enum value='3' name='NSFEndsWith'/>
|
59
|
+
<enum value='1' name='NSFEngineProcessingDefaultMode'/>
|
60
|
+
<enum value='2' name='NSFEngineProcessingFastMode'/>
|
61
|
+
<enum value='0' name='NSFEqualTo'/>
|
62
|
+
<enum value='8' name='NSFGreaterThan'/>
|
63
|
+
<enum value='5' name='NSFInsensitiveBeginsWith'/>
|
64
|
+
<enum value='6' name='NSFInsensitiveContains'/>
|
65
|
+
<enum value='7' name='NSFInsensitiveEndsWith'/>
|
66
|
+
<enum value='4' name='NSFInsensitiveEqualTo'/>
|
67
|
+
<enum value='1' name='NSFKeyColumn'/>
|
68
|
+
<enum value='9' name='NSFLessThan'/>
|
69
|
+
<enum value='3' name='NSFMax'/>
|
70
|
+
<enum value='1' name='NSFMemoryStoreType'/>
|
71
|
+
<enum value='4' name='NSFMin'/>
|
72
|
+
<enum value='1' name='NSFNanoTypeData'/>
|
73
|
+
<enum value='3' name='NSFNanoTypeDate'/>
|
74
|
+
<enum value='5' name='NSFNanoTypeNULL'/>
|
75
|
+
<enum value='4' name='NSFNanoTypeNumber'/>
|
76
|
+
<enum value='0' name='NSFNanoTypeRowUID'/>
|
77
|
+
<enum value='2' name='NSFNanoTypeString'/>
|
78
|
+
<enum value='6' name='NSFNanoTypeURL'/>
|
79
|
+
<enum value='-1' name='NSFNanoTypeUnknown'/>
|
80
|
+
<enum value='10' name='NSFNotEqualTo'/>
|
81
|
+
<enum value='2' name='NSFOnDate'/>
|
82
|
+
<enum value='2' name='NSFOr'/>
|
83
|
+
<enum value='3' name='NSFPersistentStoreType'/>
|
84
|
+
<enum value='2' name='NSFReturnKeys'/>
|
85
|
+
<enum value='1' name='NSFReturnObjects'/>
|
86
|
+
<enum value='2' name='NSFTemporaryStoreType'/>
|
87
|
+
<enum value='5' name='NSFTotal'/>
|
88
|
+
<enum value='3' name='NSFValueColumn'/>
|
89
|
+
<enum value='2' name='SynchronousModeFull'/>
|
90
|
+
<enum value='1' name='SynchronousModeNormal'/>
|
91
|
+
<enum value='0' name='SynchronousModeOff'/>
|
92
|
+
<enum value='0' name='TempStoreModeDefault'/>
|
93
|
+
<enum value='1' name='TempStoreModeFile'/>
|
94
|
+
<enum value='2' name='TempStoreModeMemory'/>
|
94
95
|
<function name='NSFIsDebugOn'>
|
95
|
-
<retval
|
96
|
+
<retval declared_type='BOOL' type='B'/>
|
96
97
|
</function>
|
97
98
|
<function name='NSFNanoDatatypeFromString'>
|
98
|
-
<arg
|
99
|
-
<retval
|
99
|
+
<arg name='aNanoDatatype' declared_type='NSString*' type='@'/>
|
100
|
+
<retval declared_type='NSFNanoDatatype' type='i'/>
|
100
101
|
</function>
|
101
102
|
<function name='NSFSetIsDebugOn'>
|
102
|
-
<arg
|
103
|
-
<retval
|
103
|
+
<arg name='flag' declared_type='BOOL' type='B'/>
|
104
|
+
<retval declared_type='void' type='v'/>
|
104
105
|
</function>
|
105
106
|
<function name='NSFStringFromMatchType'>
|
106
|
-
<arg
|
107
|
-
<retval
|
107
|
+
<arg name='aMatchType' declared_type='NSFMatchType' type='i'/>
|
108
|
+
<retval declared_type='NSString*' type='@'/>
|
108
109
|
</function>
|
109
110
|
<function name='NSFStringFromNanoDataType'>
|
110
|
-
<arg
|
111
|
-
<retval
|
111
|
+
<arg name='aNanoDatatype' declared_type='NSFNanoDatatype' type='i'/>
|
112
|
+
<retval declared_type='NSString*' type='@'/>
|
112
113
|
</function>
|
113
114
|
<function name='safeJSONArrayFromArray'>
|
114
|
-
<arg
|
115
|
-
<retval
|
115
|
+
<arg name='array' declared_type='NSArray*' type='@'/>
|
116
|
+
<retval declared_type='NSArray*' type='@'/>
|
116
117
|
</function>
|
117
118
|
<function name='safeJSONDictionaryFromDictionary'>
|
118
|
-
<arg
|
119
|
-
<retval
|
119
|
+
<arg name='dictionary' declared_type='NSDictionary*' type='@'/>
|
120
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
120
121
|
</function>
|
121
122
|
<function name='safeJSONObjectFromObject'>
|
122
|
-
<arg
|
123
|
-
<retval
|
123
|
+
<arg name='object' declared_type='id' type='@'/>
|
124
|
+
<retval declared_type='id' type='@'/>
|
124
125
|
</function>
|
125
126
|
<class name='NSFNanoBag'>
|
126
127
|
<method selector='JSONDescription'>
|
127
|
-
<retval
|
128
|
+
<retval declared_type='NSString*' type='@'/>
|
128
129
|
</method>
|
129
130
|
<method selector='_inflateObjectsWithKeys:'>
|
130
|
-
<arg
|
131
|
-
<retval
|
131
|
+
<arg index='0' name='someKeys' declared_type='NSArray*' type='@'/>
|
132
|
+
<retval declared_type='void' type='v'/>
|
132
133
|
</method>
|
133
134
|
<method selector='_saveInStore:error:'>
|
134
|
-
<arg
|
135
|
-
<arg
|
136
|
-
<retval
|
135
|
+
<arg index='0' name='someStore' declared_type='NSFNanoStore*' type='@'/>
|
136
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
137
|
+
<retval declared_type='BOOL' type='B'/>
|
137
138
|
</method>
|
138
139
|
<method selector='_setStore:'>
|
139
|
-
<arg
|
140
|
-
<retval
|
140
|
+
<arg index='0' name='aStore' declared_type='NSFNanoStore*' type='@'/>
|
141
|
+
<retval declared_type='void' type='v'/>
|
141
142
|
</method>
|
142
143
|
<method selector='addObject:error:'>
|
143
|
-
<arg
|
144
|
-
<arg
|
145
|
-
<retval
|
144
|
+
<arg index='0' name='theObject' declared_type='id' type='@'/>
|
145
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
146
|
+
<retval declared_type='BOOL' type='B'/>
|
146
147
|
</method>
|
147
148
|
<method selector='addObjectsFromArray:error:'>
|
148
|
-
<arg
|
149
|
-
<arg
|
150
|
-
<retval
|
149
|
+
<arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
|
150
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
151
|
+
<retval declared_type='BOOL' type='B'/>
|
151
152
|
</method>
|
152
153
|
<method selector='bag' class_method='true'>
|
153
|
-
<retval
|
154
|
+
<retval declared_type='NSFNanoBag*' type='@'/>
|
154
155
|
</method>
|
155
156
|
<method selector='bagWithName:' class_method='true'>
|
156
|
-
<arg
|
157
|
-
<retval
|
157
|
+
<arg index='0' name='theName' declared_type='NSString*' type='@'/>
|
158
|
+
<retval declared_type='id' type='@'/>
|
158
159
|
</method>
|
159
160
|
<method selector='bagWithName:andObjects:' class_method='true'>
|
160
|
-
<arg
|
161
|
-
<arg
|
162
|
-
<retval
|
161
|
+
<arg index='0' name='theName' declared_type='NSString*' type='@'/>
|
162
|
+
<arg index='1' name='theObjects' declared_type='NSArray*' type='@'/>
|
163
|
+
<retval declared_type='id' type='@'/>
|
163
164
|
</method>
|
164
165
|
<method selector='bagWithObjects:' class_method='true'>
|
165
|
-
<arg
|
166
|
-
<retval
|
166
|
+
<arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
|
167
|
+
<retval declared_type='NSFNanoBag*' type='@'/>
|
167
168
|
</method>
|
168
169
|
<method selector='count'>
|
169
|
-
<retval
|
170
|
+
<retval declared_type='NSUInteger' type='I'/>
|
170
171
|
</method>
|
171
172
|
<method selector='deflateBag'>
|
172
|
-
<retval
|
173
|
+
<retval declared_type='void' type='v'/>
|
173
174
|
</method>
|
174
175
|
<method selector='description'>
|
175
|
-
<retval
|
176
|
+
<retval declared_type='NSString*' type='@'/>
|
176
177
|
</method>
|
177
178
|
<method selector='dictionaryRepresentation'>
|
178
|
-
<retval
|
179
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
179
180
|
</method>
|
180
181
|
<method selector='hasUnsavedChanges'>
|
181
|
-
<retval
|
182
|
+
<retval declared_type='BOOL' type='B'/>
|
182
183
|
</method>
|
183
184
|
<method selector='inflateBag'>
|
184
|
-
<retval
|
185
|
+
<retval declared_type='void' type='v'/>
|
185
186
|
</method>
|
186
187
|
<method selector='initBagWithName:andObjects:'>
|
187
|
-
<arg
|
188
|
-
<arg
|
189
|
-
<retval
|
188
|
+
<arg index='0' name='theName' declared_type='NSString*' type='@'/>
|
189
|
+
<arg index='1' name='someObjects' declared_type='NSArray*' type='@'/>
|
190
|
+
<retval declared_type='id' type='@'/>
|
190
191
|
</method>
|
191
192
|
<method selector='isEqualToNanoBag:'>
|
192
|
-
<arg
|
193
|
-
<retval
|
193
|
+
<arg index='0' name='otherNanoBag' declared_type='NSFNanoBag*' type='@'/>
|
194
|
+
<retval declared_type='BOOL' type='B'/>
|
194
195
|
</method>
|
195
196
|
<method selector='key'>
|
196
|
-
<retval
|
197
|
+
<retval declared_type='NSString*' type='@'/>
|
197
198
|
</method>
|
198
199
|
<method selector='name'>
|
199
|
-
<retval
|
200
|
+
<retval declared_type='NSString*' type='@'/>
|
200
201
|
</method>
|
201
202
|
<method selector='reloadBagWithError:'>
|
202
|
-
<arg
|
203
|
-
<retval
|
203
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
204
|
+
<retval declared_type='BOOL' type='B'/>
|
204
205
|
</method>
|
205
206
|
<method selector='removeAllObjects'>
|
206
|
-
<retval
|
207
|
+
<retval declared_type='void' type='v'/>
|
207
208
|
</method>
|
208
209
|
<method selector='removeObject:'>
|
209
|
-
<arg
|
210
|
-
<retval
|
210
|
+
<arg index='0' name='theObject' declared_type='id' type='@'/>
|
211
|
+
<retval declared_type='void' type='v'/>
|
211
212
|
</method>
|
212
213
|
<method selector='removeObjectWithKey:'>
|
213
|
-
<arg
|
214
|
-
<retval
|
214
|
+
<arg index='0' name='theObjectKey' declared_type='NSString*' type='@'/>
|
215
|
+
<retval declared_type='void' type='v'/>
|
215
216
|
</method>
|
216
217
|
<method selector='removeObjectsInArray:'>
|
217
|
-
<arg
|
218
|
-
<retval
|
218
|
+
<arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
|
219
|
+
<retval declared_type='void' type='v'/>
|
219
220
|
</method>
|
220
221
|
<method selector='removeObjectsWithKeysInArray:'>
|
221
|
-
<arg
|
222
|
-
<retval
|
222
|
+
<arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
|
223
|
+
<retval declared_type='void' type='v'/>
|
223
224
|
</method>
|
224
225
|
<method selector='removedObjects'>
|
225
|
-
<retval
|
226
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
226
227
|
</method>
|
227
228
|
<method selector='saveAndReturnError:'>
|
228
|
-
<arg
|
229
|
-
<retval
|
229
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
230
|
+
<retval declared_type='BOOL' type='B'/>
|
230
231
|
</method>
|
231
232
|
<method selector='savedObjects'>
|
232
|
-
<retval
|
233
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
233
234
|
</method>
|
234
235
|
<method selector='setName:'>
|
235
|
-
<arg
|
236
|
-
<retval
|
236
|
+
<arg index='0' name='name' declared_type='NSString*' type='@'/>
|
237
|
+
<retval declared_type='void' type='v'/>
|
237
238
|
</method>
|
238
239
|
<method selector='setStore:'>
|
239
|
-
<arg
|
240
|
-
<retval
|
240
|
+
<arg index='0' name='store' declared_type='NSFNanoStore*' type='@'/>
|
241
|
+
<retval declared_type='void' type='v'/>
|
241
242
|
</method>
|
242
243
|
<method selector='store'>
|
243
|
-
<retval
|
244
|
+
<retval declared_type='NSFNanoStore*' type='@'/>
|
244
245
|
</method>
|
245
246
|
<method selector='undoChangesWithError:'>
|
246
|
-
<arg
|
247
|
-
<retval
|
247
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
248
|
+
<retval declared_type='BOOL' type='B'/>
|
248
249
|
</method>
|
249
250
|
<method selector='unsavedObjects'>
|
250
|
-
<retval
|
251
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
251
252
|
</method>
|
252
253
|
</class>
|
253
254
|
<class name='NSFNanoEngine'>
|
254
255
|
<method selector='JSONDescription'>
|
255
|
-
<retval
|
256
|
+
<retval declared_type='NSString*' type='@'/>
|
256
257
|
</method>
|
257
258
|
<method selector='NSFEncodingTypeToNSString:' class_method='true'>
|
258
|
-
<arg
|
259
|
-
<retval
|
259
|
+
<arg index='0' name='value' declared_type='NSFEncodingType' type='i'/>
|
260
|
+
<retval declared_type='NSString*' type='@'/>
|
260
261
|
</method>
|
261
262
|
<method selector='NSFP_ROWIDPresenceLocation:datatypes:'>
|
262
|
-
<arg
|
263
|
-
<arg
|
264
|
-
<retval
|
263
|
+
<arg index='0' name='tableColumns' declared_type='NSArray*' type='@'/>
|
264
|
+
<arg index='1' name='datatypes' declared_type='NSArray*' type='@'/>
|
265
|
+
<retval declared_type='NSInteger' type='i'/>
|
265
266
|
</method>
|
266
267
|
<method selector='NSFP_beginTransactionMode:'>
|
267
|
-
<arg
|
268
|
-
<retval
|
268
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
269
|
+
<retval declared_type='BOOL' type='B'/>
|
269
270
|
</method>
|
270
271
|
<method selector='NSFP_cacheMethodToString'>
|
271
|
-
<retval
|
272
|
+
<retval declared_type='NSString*' type='@'/>
|
272
273
|
</method>
|
273
274
|
<method selector='NSFP_createTable:withColumns:datatypes:isTemporary:'>
|
274
|
-
<arg
|
275
|
-
<arg
|
276
|
-
<arg
|
277
|
-
<arg
|
278
|
-
<retval
|
275
|
+
<arg index='0' name='table' declared_type='NSString*' type='@'/>
|
276
|
+
<arg index='1' name='tableColumns' declared_type='NSArray*' type='@'/>
|
277
|
+
<arg index='2' name='tableDatatypes' declared_type='NSArray*' type='@'/>
|
278
|
+
<arg index='3' name='isTemporaryFlag' declared_type='BOOL' type='B'/>
|
279
|
+
<retval declared_type='BOOL' type='B'/>
|
279
280
|
</method>
|
280
281
|
<method selector='NSFP_datatypeForColumn:'>
|
281
|
-
<arg
|
282
|
-
<retval
|
282
|
+
<arg index='0' name='tableAndColumn' declared_type='NSString*' type='@'/>
|
283
|
+
<retval declared_type='NSFNanoDatatype' type='i'/>
|
283
284
|
</method>
|
284
285
|
<method selector='NSFP_datatypeForTable:column:'>
|
285
|
-
<arg
|
286
|
-
<arg
|
287
|
-
<retval
|
286
|
+
<arg index='0' name='table' declared_type='NSString*' type='@'/>
|
287
|
+
<arg index='1' name='column' declared_type='NSString*' type='@'/>
|
288
|
+
<retval declared_type='NSFNanoDatatype' type='i'/>
|
288
289
|
</method>
|
289
290
|
<method selector='NSFP_decodeQuantum:andSource:' class_method='true'>
|
290
|
-
<arg
|
291
|
-
<arg
|
292
|
-
<retval
|
291
|
+
<arg index='0' name='dest' declared_type='unsigned char*' type='*'/>
|
292
|
+
<arg const='true' index='1' name='src' declared_type='char*' type='*'/>
|
293
|
+
<retval declared_type='void' type='v'/>
|
293
294
|
</method>
|
294
295
|
<method selector='NSFP_flattenAllTables'>
|
295
|
-
<retval
|
296
|
+
<retval declared_type='NSArray*' type='@'/>
|
296
297
|
</method>
|
297
298
|
<method selector='NSFP_insertStringValues:forColumns:table:'>
|
298
|
-
<arg
|
299
|
-
<arg
|
300
|
-
<arg
|
301
|
-
<retval
|
299
|
+
<arg index='0' name='values' declared_type='NSArray*' type='@'/>
|
300
|
+
<arg index='1' name='columns' declared_type='NSArray*' type='@'/>
|
301
|
+
<arg index='2' name='table' declared_type='NSString*' type='@'/>
|
302
|
+
<retval declared_type='BOOL' type='B'/>
|
302
303
|
</method>
|
303
304
|
<method selector='NSFP_installCommitCallback'>
|
304
|
-
<retval
|
305
|
+
<retval declared_type='void' type='v'/>
|
305
306
|
</method>
|
306
307
|
<method selector='NSFP_isColumnROWIDAlias:forTable:'>
|
307
|
-
<arg
|
308
|
-
<arg
|
309
|
-
<retval
|
308
|
+
<arg index='0' name='column' declared_type='NSString*' type='@'/>
|
309
|
+
<arg index='1' name='table' declared_type='NSString*' type='@'/>
|
310
|
+
<retval declared_type='BOOL' type='B'/>
|
310
311
|
</method>
|
311
312
|
<method selector='NSFP_nestedDescriptionWithPrefixedSpace:'>
|
312
|
-
<arg
|
313
|
-
<retval
|
313
|
+
<arg index='0' name='prefixedSpace' declared_type='NSString*' type='@'/>
|
314
|
+
<retval declared_type='NSString*' type='@'/>
|
314
315
|
</method>
|
315
316
|
<method selector='NSFP_prefixWithDotDelimiter:'>
|
316
|
-
<arg
|
317
|
-
<retval
|
317
|
+
<arg index='0' name='tableAndColumn' declared_type='NSString*' type='@'/>
|
318
|
+
<retval declared_type='NSString*' type='@'/>
|
318
319
|
</method>
|
319
320
|
<method selector='NSFP_prepareSQLite3Statement:theSQLStatement:'>
|
320
|
-
<arg
|
321
|
-
<arg
|
322
|
-
<retval
|
321
|
+
<arg index='0' name='aStatement' declared_type='sqlite3_stmt**' type='^^{sqlite3_stmt}'/>
|
322
|
+
<arg index='1' name='aSQLQuery' declared_type='NSString*' type='@'/>
|
323
|
+
<retval declared_type='NSInteger' type='i'/>
|
323
324
|
</method>
|
324
325
|
<method selector='NSFP_rebuildDatatypeCache'>
|
325
|
-
<retval
|
326
|
+
<retval declared_type='void' type='v'/>
|
326
327
|
</method>
|
327
328
|
<method selector='NSFP_removeColumn:fromTable:'>
|
328
|
-
<arg
|
329
|
-
<arg
|
330
|
-
<retval
|
329
|
+
<arg index='0' name='column' declared_type='NSString*' type='@'/>
|
330
|
+
<arg index='1' name='table' declared_type='NSString*' type='@'/>
|
331
|
+
<retval declared_type='BOOL' type='B'/>
|
331
332
|
</method>
|
332
333
|
<method selector='NSFP_setFullColumnNamesEnabled'>
|
333
|
-
<retval
|
334
|
+
<retval declared_type='void' type='v'/>
|
334
335
|
</method>
|
335
336
|
<method selector='NSFP_sharedROWIDKeywords' class_method='true'>
|
336
|
-
<retval
|
337
|
+
<retval declared_type='NSArray*' type='@'/>
|
337
338
|
</method>
|
338
339
|
<method selector='NSFP_sqlString:appendingTags:'>
|
339
|
-
<arg
|
340
|
-
<arg
|
341
|
-
<retval
|
340
|
+
<arg index='0' name='theSQLStatement' declared_type='NSMutableString*' type='@'/>
|
341
|
+
<arg index='1' name='columns' declared_type='NSArray*' type='@'/>
|
342
|
+
<retval declared_type='void' type='v'/>
|
342
343
|
</method>
|
343
344
|
<method selector='NSFP_sqlString:appendingTags:quoteTags:'>
|
344
|
-
<arg
|
345
|
-
<arg
|
346
|
-
<arg
|
347
|
-
<retval
|
345
|
+
<arg index='0' name='theSQLStatement' declared_type='NSMutableString*' type='@'/>
|
346
|
+
<arg index='1' name='tags' declared_type='NSArray*' type='@'/>
|
347
|
+
<arg index='2' name='flag' declared_type='BOOL' type='B'/>
|
348
|
+
<retval declared_type='void' type='v'/>
|
348
349
|
</method>
|
349
350
|
<method selector='NSFP_sqlString:forTable:withColumns:datatypes:'>
|
350
|
-
<arg
|
351
|
-
<arg
|
352
|
-
<arg
|
353
|
-
<arg
|
354
|
-
<retval
|
351
|
+
<arg index='0' name='theSQLStatement' declared_type='NSMutableString*' type='@'/>
|
352
|
+
<arg index='1' name='table' declared_type='NSString*' type='@'/>
|
353
|
+
<arg index='2' name='columns' declared_type='NSArray*' type='@'/>
|
354
|
+
<arg index='3' name='datatypes' declared_type='NSArray*' type='@'/>
|
355
|
+
<retval declared_type='BOOL' type='B'/>
|
355
356
|
</method>
|
356
357
|
<method selector='NSFP_stripBitsFromExtendedResultCode:' class_method='true'>
|
357
|
-
<arg
|
358
|
-
<retval
|
358
|
+
<arg index='0' name='extendedResult' declared_type='int' type='i'/>
|
359
|
+
<retval declared_type='int' type='i'/>
|
359
360
|
</method>
|
360
361
|
<method selector='NSFP_suffixWithDotDelimiter:'>
|
361
|
-
<arg
|
362
|
-
<retval
|
362
|
+
<arg index='0' name='tableAndColumn' declared_type='NSString*' type='@'/>
|
363
|
+
<retval declared_type='NSString*' type='@'/>
|
363
364
|
</method>
|
364
365
|
<method selector='NSFP_uninstallCommitCallback'>
|
365
|
-
<retval
|
366
|
+
<retval declared_type='void' type='v'/>
|
366
367
|
</method>
|
367
368
|
<method selector='NSStringToNSFEncodingType:' class_method='true'>
|
368
|
-
<arg
|
369
|
-
<retval
|
369
|
+
<arg index='0' name='value' declared_type='NSString*' type='@'/>
|
370
|
+
<retval declared_type='NSFEncodingType' type='i'/>
|
370
371
|
</method>
|
371
372
|
<method selector='_plistToDictionary:' class_method='true'>
|
372
|
-
<arg
|
373
|
-
<retval
|
373
|
+
<arg index='0' name='aPlist' declared_type='NSString*' type='@'/>
|
374
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
374
375
|
</method>
|
375
376
|
<method selector='allTables'>
|
376
|
-
<retval
|
377
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
377
378
|
</method>
|
378
379
|
<method selector='beginDeferredTransaction'>
|
379
|
-
<retval
|
380
|
+
<retval declared_type='BOOL' type='B'/>
|
380
381
|
</method>
|
381
382
|
<method selector='beginTransaction'>
|
382
|
-
<retval
|
383
|
+
<retval declared_type='BOOL' type='B'/>
|
383
384
|
</method>
|
384
385
|
<method selector='busyTimeout'>
|
385
|
-
<retval
|
386
|
+
<retval declared_type='unsigned int' type='I'/>
|
386
387
|
</method>
|
387
388
|
<method selector='cacheMethod'>
|
388
|
-
<retval
|
389
|
+
<retval declared_type='NSFCacheMethod' type='i'/>
|
389
390
|
</method>
|
390
391
|
<method selector='cacheSize'>
|
391
|
-
<retval
|
392
|
+
<retval declared_type='NSUInteger' type='I'/>
|
392
393
|
</method>
|
393
394
|
<method selector='close'>
|
394
|
-
<retval
|
395
|
+
<retval declared_type='BOOL' type='B'/>
|
395
396
|
</method>
|
396
397
|
<method selector='columnsForTable:'>
|
397
|
-
<arg
|
398
|
-
<retval
|
398
|
+
<arg index='0' name='theTable' declared_type='NSString*' type='@'/>
|
399
|
+
<retval declared_type='NSArray*' type='@'/>
|
399
400
|
</method>
|
400
401
|
<method selector='commitTransaction'>
|
401
|
-
<retval
|
402
|
+
<retval declared_type='BOOL' type='B'/>
|
402
403
|
</method>
|
403
404
|
<method selector='compact'>
|
404
|
-
<retval
|
405
|
+
<retval declared_type='BOOL' type='B'/>
|
405
406
|
</method>
|
406
407
|
<method selector='createIndexForColumn:table:isUnique:'>
|
407
|
-
<arg
|
408
|
-
<arg
|
409
|
-
<arg
|
410
|
-
<retval
|
408
|
+
<arg index='0' name='theColumn' declared_type='NSString*' type='@'/>
|
409
|
+
<arg index='1' name='theTable' declared_type='NSString*' type='@'/>
|
410
|
+
<arg index='2' name='isUnique' declared_type='BOOL' type='B'/>
|
411
|
+
<retval declared_type='BOOL' type='B'/>
|
411
412
|
</method>
|
412
413
|
<method selector='createTable:withColumns:datatypes:'>
|
413
|
-
<arg
|
414
|
-
<arg
|
415
|
-
<arg
|
416
|
-
<retval
|
414
|
+
<arg index='0' name='theTable' declared_type='NSString*' type='@'/>
|
415
|
+
<arg index='1' name='theColumns' declared_type='NSArray*' type='@'/>
|
416
|
+
<arg index='2' name='theDatatypes' declared_type='NSArray*' type='@'/>
|
417
|
+
<retval declared_type='BOOL' type='B'/>
|
417
418
|
</method>
|
418
419
|
<method selector='databaseWithPath:' class_method='true'>
|
419
|
-
<arg
|
420
|
-
<retval
|
420
|
+
<arg index='0' name='thePath' declared_type='NSString*' type='@'/>
|
421
|
+
<retval declared_type='id' type='@'/>
|
421
422
|
</method>
|
422
423
|
<method selector='datatypesForTable:'>
|
423
|
-
<arg
|
424
|
-
<retval
|
424
|
+
<arg index='0' name='theTable' declared_type='NSString*' type='@'/>
|
425
|
+
<retval declared_type='NSArray*' type='@'/>
|
425
426
|
</method>
|
426
427
|
<method selector='decodeDataFromBase64:' class_method='true'>
|
427
|
-
<arg
|
428
|
-
<retval
|
428
|
+
<arg index='0' name='theEncodedData' declared_type='NSString*' type='@'/>
|
429
|
+
<retval declared_type='NSData*' type='@'/>
|
429
430
|
</method>
|
430
431
|
<method selector='description'>
|
431
|
-
<retval
|
432
|
+
<retval declared_type='NSString*' type='@'/>
|
432
433
|
</method>
|
433
434
|
<method selector='dictionaryDescription'>
|
434
|
-
<retval
|
435
|
+
<retval declared_type='NSFOrderedDictionary*' type='@'/>
|
435
436
|
</method>
|
436
437
|
<method selector='dropIndex:'>
|
437
|
-
<arg
|
438
|
-
<retval
|
438
|
+
<arg index='0' name='theIndex' declared_type='NSString*' type='@'/>
|
439
|
+
<retval declared_type='void' type='v'/>
|
439
440
|
</method>
|
440
441
|
<method selector='dropTable:'>
|
441
|
-
<arg
|
442
|
-
<retval
|
442
|
+
<arg index='0' name='theTable' declared_type='NSString*' type='@'/>
|
443
|
+
<retval declared_type='BOOL' type='B'/>
|
443
444
|
</method>
|
444
445
|
<method selector='encodeDataToBase64:' class_method='true'>
|
445
|
-
<arg
|
446
|
-
<retval
|
446
|
+
<arg index='0' name='theData' declared_type='NSData*' type='@'/>
|
447
|
+
<retval declared_type='NSString*' type='@'/>
|
447
448
|
</method>
|
448
449
|
<method selector='encoding'>
|
449
|
-
<retval
|
450
|
+
<retval declared_type='NSFEncodingType' type='i'/>
|
450
451
|
</method>
|
451
452
|
<method selector='executeSQL:'>
|
452
|
-
<arg
|
453
|
-
<retval
|
453
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
454
|
+
<retval declared_type='NSFNanoResult*' type='@'/>
|
454
455
|
</method>
|
455
456
|
<method selector='indexedColumnsForTable:'>
|
456
|
-
<arg
|
457
|
-
<retval
|
457
|
+
<arg index='0' name='theTable' declared_type='NSString*' type='@'/>
|
458
|
+
<retval declared_type='NSArray*' type='@'/>
|
458
459
|
</method>
|
459
460
|
<method selector='indexes'>
|
460
|
-
<retval
|
461
|
+
<retval declared_type='NSArray*' type='@'/>
|
461
462
|
</method>
|
462
463
|
<method selector='initWithPath:'>
|
463
|
-
<arg
|
464
|
-
<retval
|
464
|
+
<arg index='0' name='thePath' declared_type='NSString*' type='@'/>
|
465
|
+
<retval declared_type='id' type='@'/>
|
465
466
|
</method>
|
466
467
|
<method selector='integrityCheck'>
|
467
|
-
<retval
|
468
|
+
<retval declared_type='BOOL' type='B'/>
|
468
469
|
</method>
|
469
470
|
<method selector='isDatabaseOpen'>
|
470
|
-
<retval
|
471
|
+
<retval declared_type='BOOL' type='B'/>
|
471
472
|
</method>
|
472
473
|
<method selector='isTransactionActive'>
|
473
|
-
<retval
|
474
|
+
<retval declared_type='BOOL' type='B'/>
|
474
475
|
</method>
|
475
476
|
<method selector='journalModeAndReturnError:'>
|
476
|
-
<arg
|
477
|
-
<retval
|
477
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
478
|
+
<retval declared_type='NSFJournalModeMode' type='i'/>
|
478
479
|
</method>
|
479
480
|
<method selector='maxRowUIDForTable:'>
|
480
|
-
<arg
|
481
|
-
<retval
|
481
|
+
<arg index='0' name='theTable' declared_type='NSString*' type='@'/>
|
482
|
+
<retval declared_type='long long' type='q'/>
|
482
483
|
</method>
|
483
484
|
<method selector='nanoStoreEngineVersion' class_method='true'>
|
484
|
-
<retval
|
485
|
+
<retval declared_type='NSString*' type='@'/>
|
485
486
|
</method>
|
486
487
|
<method selector='openWithCacheMethod:useFastMode:'>
|
487
|
-
<arg
|
488
|
-
<arg
|
489
|
-
<retval
|
488
|
+
<arg index='0' name='theCacheMethod' declared_type='NSFCacheMethod' type='i'/>
|
489
|
+
<arg index='1' name='useFastMode' declared_type='BOOL' type='B'/>
|
490
|
+
<retval declared_type='BOOL' type='B'/>
|
490
491
|
</method>
|
491
492
|
<method selector='pageSize'>
|
492
|
-
<retval
|
493
|
+
<retval declared_type='NSUInteger' type='I'/>
|
493
494
|
</method>
|
494
495
|
<method selector='path'>
|
495
|
-
<retval
|
496
|
+
<retval declared_type='NSString*' type='@'/>
|
496
497
|
</method>
|
497
498
|
<method selector='recommendedCacheSize' class_method='true'>
|
498
|
-
<retval
|
499
|
+
<retval declared_type='NSUInteger' type='I'/>
|
499
500
|
</method>
|
500
501
|
<method selector='rollbackTransaction'>
|
501
|
-
<retval
|
502
|
+
<retval declared_type='BOOL' type='B'/>
|
502
503
|
</method>
|
503
504
|
<method selector='setBusyTimeout:'>
|
504
|
-
<arg
|
505
|
-
<retval
|
505
|
+
<arg index='0' name='theTimeout' declared_type='unsigned int' type='I'/>
|
506
|
+
<retval declared_type='void' type='v'/>
|
506
507
|
</method>
|
507
508
|
<method selector='setCacheMethod:'>
|
508
|
-
<arg
|
509
|
-
<retval
|
509
|
+
<arg index='0' name='cacheMethod' declared_type='NSFCacheMethod' type='i'/>
|
510
|
+
<retval declared_type='void' type='v'/>
|
510
511
|
</method>
|
511
512
|
<method selector='setCacheSize:'>
|
512
|
-
<arg
|
513
|
-
<retval
|
513
|
+
<arg index='0' name='numberOfPages' declared_type='NSUInteger' type='I'/>
|
514
|
+
<retval declared_type='BOOL' type='B'/>
|
514
515
|
</method>
|
515
516
|
<method selector='setEncodingType:'>
|
516
|
-
<arg
|
517
|
-
<retval
|
517
|
+
<arg index='0' name='theEncodingType' declared_type='NSFEncodingType' type='i'/>
|
518
|
+
<retval declared_type='BOOL' type='B'/>
|
518
519
|
</method>
|
519
520
|
<method selector='setJournalMode:'>
|
520
|
-
<arg
|
521
|
-
<retval
|
521
|
+
<arg index='0' name='theMode' declared_type='NSFJournalModeMode' type='i'/>
|
522
|
+
<retval declared_type='BOOL' type='B'/>
|
522
523
|
</method>
|
523
524
|
<method selector='setPageSize:'>
|
524
|
-
<arg
|
525
|
-
<retval
|
525
|
+
<arg index='0' name='numberOfBytes' declared_type='NSUInteger' type='I'/>
|
526
|
+
<retval declared_type='BOOL' type='B'/>
|
526
527
|
</method>
|
527
528
|
<method selector='setSynchronousMode:'>
|
528
|
-
<arg
|
529
|
-
<retval
|
529
|
+
<arg index='0' name='theSynchronousMode' declared_type='NSFSynchronousMode' type='i'/>
|
530
|
+
<retval declared_type='void' type='v'/>
|
530
531
|
</method>
|
531
532
|
<method selector='setTempStoreMode:'>
|
532
|
-
<arg
|
533
|
-
<retval
|
533
|
+
<arg index='0' name='theTempStoreMode' declared_type='NSFTempStoreMode' type='i'/>
|
534
|
+
<retval declared_type='void' type='v'/>
|
534
535
|
</method>
|
535
536
|
<method selector='sharedNanoStoreEngineDatatypes' class_method='true'>
|
536
|
-
<retval
|
537
|
+
<retval declared_type='NSSet*' type='@'/>
|
537
538
|
</method>
|
538
539
|
<method selector='sqlite'>
|
539
|
-
<retval type='^{sqlite3=}'
|
540
|
+
<retval declared_type='sqlite3*' type='^{sqlite3=}'/>
|
540
541
|
</method>
|
541
542
|
<method selector='sqliteVersion' class_method='true'>
|
542
|
-
<retval
|
543
|
+
<retval declared_type='NSString*' type='@'/>
|
543
544
|
</method>
|
544
545
|
<method selector='stringWithUUID' class_method='true'>
|
545
|
-
<retval
|
546
|
+
<retval declared_type='NSString*' type='@'/>
|
546
547
|
</method>
|
547
548
|
<method selector='synchronousMode'>
|
548
|
-
<retval
|
549
|
+
<retval declared_type='NSFSynchronousMode' type='i'/>
|
549
550
|
</method>
|
550
551
|
<method selector='systemPageSize' class_method='true'>
|
551
|
-
<retval
|
552
|
+
<retval declared_type='NSInteger' type='i'/>
|
552
553
|
</method>
|
553
554
|
<method selector='tables'>
|
554
|
-
<retval
|
555
|
+
<retval declared_type='NSArray*' type='@'/>
|
555
556
|
</method>
|
556
557
|
<method selector='tempStoreMode'>
|
557
|
-
<retval
|
558
|
+
<retval declared_type='NSFTempStoreMode' type='i'/>
|
558
559
|
</method>
|
559
560
|
<method selector='temporaryTables'>
|
560
|
-
<retval
|
561
|
+
<retval declared_type='NSArray*' type='@'/>
|
561
562
|
</method>
|
562
563
|
</class>
|
563
564
|
<class name='NSFNanoExpression'>
|
564
565
|
<method selector='JSONDescription'>
|
565
|
-
<retval
|
566
|
+
<retval declared_type='NSString*' type='@'/>
|
566
567
|
</method>
|
567
568
|
<method selector='addPredicate:withOperator:'>
|
568
|
-
<arg
|
569
|
-
<arg
|
570
|
-
<retval
|
569
|
+
<arg index='0' name='thePredicate' declared_type='NSFNanoPredicate*' type='@'/>
|
570
|
+
<arg index='1' name='theOperator' declared_type='NSFOperator' type='i'/>
|
571
|
+
<retval declared_type='void' type='v'/>
|
571
572
|
</method>
|
572
573
|
<method selector='arrayDescription'>
|
573
|
-
<retval
|
574
|
+
<retval declared_type='NSArray*' type='@'/>
|
574
575
|
</method>
|
575
576
|
<method selector='description'>
|
576
|
-
<retval
|
577
|
+
<retval declared_type='NSString*' type='@'/>
|
577
578
|
</method>
|
578
579
|
<method selector='expressionWithPredicate:' class_method='true'>
|
579
|
-
<arg
|
580
|
-
<retval
|
580
|
+
<arg index='0' name='thePredicate' declared_type='NSFNanoPredicate*' type='@'/>
|
581
|
+
<retval declared_type='NSFNanoExpression*' type='@'/>
|
581
582
|
</method>
|
582
583
|
<method selector='initWithPredicate:'>
|
583
|
-
<arg
|
584
|
-
<retval
|
584
|
+
<arg index='0' name='thePredicate' declared_type='NSFNanoPredicate*' type='@'/>
|
585
|
+
<retval declared_type='id' type='@'/>
|
585
586
|
</method>
|
586
587
|
<method selector='operators'>
|
587
|
-
<retval
|
588
|
+
<retval declared_type='NSArray*' type='@'/>
|
588
589
|
</method>
|
589
590
|
<method selector='predicates'>
|
590
|
-
<retval
|
591
|
+
<retval declared_type='NSArray*' type='@'/>
|
591
592
|
</method>
|
592
593
|
</class>
|
593
594
|
<class name='NSFNanoObject'>
|
594
595
|
<method selector='JSONDescription'>
|
595
|
-
<retval
|
596
|
+
<retval declared_type='NSString*' type='@'/>
|
596
597
|
</method>
|
597
598
|
<method selector='_NSObjectToJSONString:error:' class_method='true'>
|
598
|
-
<arg
|
599
|
-
<arg
|
600
|
-
<retval
|
599
|
+
<arg index='0' name='object' declared_type='id' type='@'/>
|
600
|
+
<arg index='1' name='error' declared_type='NSError**' type='^@'/>
|
601
|
+
<retval declared_type='NSString*' type='@'/>
|
601
602
|
</method>
|
602
603
|
<method selector='_safeArrayFromArray:' class_method='true'>
|
603
|
-
<arg
|
604
|
-
<retval
|
604
|
+
<arg index='0' name='array' declared_type='NSArray*' type='@'/>
|
605
|
+
<retval declared_type='NSArray*' type='@'/>
|
605
606
|
</method>
|
606
607
|
<method selector='_safeDictionaryFromDictionary:' class_method='true'>
|
607
|
-
<arg
|
608
|
-
<retval
|
608
|
+
<arg index='0' name='dictionary' declared_type='NSDictionary*' type='@'/>
|
609
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
609
610
|
</method>
|
610
611
|
<method selector='_safeObjectFromObject:' class_method='true'>
|
611
|
-
<arg
|
612
|
-
<retval
|
612
|
+
<arg index='0' name='object' declared_type='id' type='@'/>
|
613
|
+
<retval declared_type='id' type='@'/>
|
613
614
|
</method>
|
614
615
|
<method selector='_setOriginalClassString:'>
|
615
|
-
<arg
|
616
|
-
<retval
|
616
|
+
<arg index='0' name='theClassString' declared_type='NSString*' type='@'/>
|
617
|
+
<retval declared_type='void' type='v'/>
|
617
618
|
</method>
|
618
619
|
<method selector='addEntriesFromDictionary:'>
|
619
|
-
<arg
|
620
|
-
<retval
|
620
|
+
<arg index='0' name='otherDictionary' declared_type='NSDictionary*' type='@'/>
|
621
|
+
<retval declared_type='void' type='v'/>
|
621
622
|
</method>
|
622
623
|
<method selector='description'>
|
623
|
-
<retval
|
624
|
+
<retval declared_type='NSString*' type='@'/>
|
624
625
|
</method>
|
625
626
|
<method selector='dictionaryRepresentation'>
|
626
|
-
<retval
|
627
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
627
628
|
</method>
|
628
629
|
<method selector='info'>
|
629
|
-
<retval
|
630
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
630
631
|
</method>
|
631
632
|
<method selector='initFromDictionaryRepresentation:'>
|
632
|
-
<arg
|
633
|
-
<retval
|
633
|
+
<arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
|
634
|
+
<retval declared_type='id' type='@'/>
|
634
635
|
</method>
|
635
636
|
<method selector='initFromDictionaryRepresentation:key:'>
|
636
|
-
<arg
|
637
|
-
<arg
|
638
|
-
<retval
|
637
|
+
<arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
|
638
|
+
<arg index='1' name='theKey' declared_type='NSString*' type='@'/>
|
639
|
+
<retval declared_type='id' type='@'/>
|
639
640
|
</method>
|
640
641
|
<method selector='isEqualToNanoObject:'>
|
641
|
-
<arg
|
642
|
-
<retval
|
642
|
+
<arg index='0' name='otherNanoObject' declared_type='NSFNanoObject*' type='@'/>
|
643
|
+
<retval declared_type='BOOL' type='B'/>
|
643
644
|
</method>
|
644
645
|
<method selector='key'>
|
645
|
-
<retval
|
646
|
+
<retval declared_type='NSString*' type='@'/>
|
646
647
|
</method>
|
647
648
|
<method selector='nanoObject' class_method='true'>
|
648
|
-
<retval
|
649
|
+
<retval declared_type='NSFNanoObject*' type='@'/>
|
649
650
|
</method>
|
650
651
|
<method selector='nanoObjectWithDictionary:' class_method='true'>
|
651
|
-
<arg
|
652
|
-
<retval
|
652
|
+
<arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
|
653
|
+
<retval declared_type='NSFNanoObject*' type='@'/>
|
653
654
|
</method>
|
654
655
|
<method selector='nanoObjectWithDictionary:key:' class_method='true'>
|
655
|
-
<arg
|
656
|
-
<arg
|
657
|
-
<retval
|
656
|
+
<arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
|
657
|
+
<arg index='1' name='theKey' declared_type='NSString*' type='@'/>
|
658
|
+
<retval declared_type='NSFNanoObject*' type='@'/>
|
658
659
|
</method>
|
659
660
|
<method selector='objectForKey:'>
|
660
|
-
<arg
|
661
|
-
<retval
|
661
|
+
<arg index='0' name='aKey' declared_type='NSString*' type='@'/>
|
662
|
+
<retval declared_type='id' type='@'/>
|
662
663
|
</method>
|
663
664
|
<method selector='originalClassString'>
|
664
|
-
<retval
|
665
|
+
<retval declared_type='NSString*' type='@'/>
|
665
666
|
</method>
|
666
667
|
<method selector='removeAllObjects'>
|
667
|
-
<retval
|
668
|
+
<retval declared_type='void' type='v'/>
|
668
669
|
</method>
|
669
670
|
<method selector='removeObjectForKey:'>
|
670
|
-
<arg
|
671
|
-
<retval
|
671
|
+
<arg index='0' name='aKey' declared_type='NSString*' type='@'/>
|
672
|
+
<retval declared_type='void' type='v'/>
|
672
673
|
</method>
|
673
674
|
<method selector='removeObjectsForKeys:'>
|
674
|
-
<arg
|
675
|
-
<retval
|
675
|
+
<arg index='0' name='keyArray' declared_type='NSArray*' type='@'/>
|
676
|
+
<retval declared_type='void' type='v'/>
|
676
677
|
</method>
|
677
678
|
<method selector='saveStoreAndReturnError:'>
|
678
|
-
<arg
|
679
|
-
<retval
|
679
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
680
|
+
<retval declared_type='BOOL' type='B'/>
|
680
681
|
</method>
|
681
682
|
<method selector='setObject:forKey:'>
|
682
|
-
<arg
|
683
|
-
<arg
|
684
|
-
<retval
|
683
|
+
<arg index='0' name='anObject' declared_type='id' type='@'/>
|
684
|
+
<arg index='1' name='aKey' declared_type='NSString*' type='@'/>
|
685
|
+
<retval declared_type='void' type='v'/>
|
685
686
|
</method>
|
686
687
|
<method selector='setStore:'>
|
687
|
-
<arg
|
688
|
-
<retval
|
688
|
+
<arg index='0' name='store' declared_type='NSFNanoStore*' type='@'/>
|
689
|
+
<retval declared_type='void' type='v'/>
|
689
690
|
</method>
|
690
691
|
<method selector='store'>
|
691
|
-
<retval
|
692
|
+
<retval declared_type='NSFNanoStore*' type='@'/>
|
692
693
|
</method>
|
693
694
|
</class>
|
694
695
|
<class name='NSFNanoPredicate'>
|
695
696
|
<method selector='JSONDescription'>
|
696
|
-
<retval
|
697
|
+
<retval declared_type='NSString*' type='@'/>
|
697
698
|
</method>
|
698
699
|
<method selector='column'>
|
699
|
-
<retval
|
700
|
+
<retval declared_type='NSFTableColumnType' type='i'/>
|
700
701
|
</method>
|
701
702
|
<method selector='description'>
|
702
|
-
<retval
|
703
|
+
<retval declared_type='NSString*' type='@'/>
|
703
704
|
</method>
|
704
705
|
<method selector='initWithColumn:matching:value:'>
|
705
|
-
<arg
|
706
|
-
<arg
|
707
|
-
<arg
|
708
|
-
<retval
|
706
|
+
<arg index='0' name='theType' declared_type='NSFTableColumnType' type='i'/>
|
707
|
+
<arg index='1' name='theMatch' declared_type='NSFMatchType' type='i'/>
|
708
|
+
<arg index='2' name='theValue' declared_type='id' type='@'/>
|
709
|
+
<retval declared_type='id' type='@'/>
|
709
710
|
</method>
|
710
711
|
<method selector='match'>
|
711
|
-
<retval
|
712
|
+
<retval declared_type='NSFMatchType' type='i'/>
|
712
713
|
</method>
|
713
714
|
<method selector='predicateWithColumn:matching:value:' class_method='true'>
|
714
|
-
<arg
|
715
|
-
<arg
|
716
|
-
<arg
|
717
|
-
<retval
|
715
|
+
<arg index='0' name='theType' declared_type='NSFTableColumnType' type='i'/>
|
716
|
+
<arg index='1' name='theMatch' declared_type='NSFMatchType' type='i'/>
|
717
|
+
<arg index='2' name='theValue' declared_type='id' type='@'/>
|
718
|
+
<retval declared_type='NSFNanoPredicate*' type='@'/>
|
718
719
|
</method>
|
719
720
|
<method selector='value'>
|
720
|
-
<retval
|
721
|
+
<retval declared_type='id' type='@'/>
|
721
722
|
</method>
|
722
723
|
</class>
|
723
724
|
<class name='NSFNanoResult'>
|
724
725
|
<method selector='JSONDescription'>
|
725
|
-
<retval
|
726
|
+
<retval declared_type='NSString*' type='@'/>
|
726
727
|
</method>
|
727
728
|
<method selector='_calculateNumberOfRows'>
|
728
|
-
<retval
|
729
|
+
<retval declared_type='void' type='v'/>
|
729
730
|
</method>
|
730
731
|
<method selector='_initWithDictionary:'>
|
731
|
-
<arg
|
732
|
-
<retval
|
732
|
+
<arg index='0' name='results' declared_type='NSDictionary*' type='@'/>
|
733
|
+
<retval declared_type='id' type='@'/>
|
733
734
|
</method>
|
734
735
|
<method selector='_initWithError:'>
|
735
|
-
<arg
|
736
|
-
<retval
|
736
|
+
<arg index='0' name='error' declared_type='NSError*' type='@'/>
|
737
|
+
<retval declared_type='id' type='@'/>
|
737
738
|
</method>
|
738
739
|
<method selector='_reset'>
|
739
|
-
<retval
|
740
|
+
<retval declared_type='void' type='v'/>
|
740
741
|
</method>
|
741
742
|
<method selector='_resultWithDictionary:' class_method='true'>
|
742
|
-
<arg
|
743
|
-
<retval
|
743
|
+
<arg index='0' name='results' declared_type='NSDictionary*' type='@'/>
|
744
|
+
<retval declared_type='NSFNanoResult*' type='@'/>
|
744
745
|
</method>
|
745
746
|
<method selector='_resultWithError:' class_method='true'>
|
746
|
-
<arg
|
747
|
-
<retval
|
747
|
+
<arg index='0' name='error' declared_type='NSError*' type='@'/>
|
748
|
+
<retval declared_type='NSFNanoResult*' type='@'/>
|
748
749
|
</method>
|
749
750
|
<method selector='_setError:'>
|
750
|
-
<arg
|
751
|
-
<retval
|
751
|
+
<arg index='0' name='error' declared_type='NSError*' type='@'/>
|
752
|
+
<retval declared_type='void' type='v'/>
|
752
753
|
</method>
|
753
754
|
<method selector='columns'>
|
754
|
-
<retval
|
755
|
+
<retval declared_type='NSArray*' type='@'/>
|
755
756
|
</method>
|
756
757
|
<method selector='description'>
|
757
|
-
<retval
|
758
|
+
<retval declared_type='NSString*' type='@'/>
|
758
759
|
</method>
|
759
760
|
<method selector='error'>
|
760
|
-
<retval
|
761
|
+
<retval declared_type='NSError*' type='@'/>
|
761
762
|
</method>
|
762
763
|
<method selector='firstValue'>
|
763
|
-
<retval
|
764
|
+
<retval declared_type='NSString*' type='@'/>
|
764
765
|
</method>
|
765
766
|
<method selector='numberOfRows'>
|
766
|
-
<retval
|
767
|
+
<retval declared_type='NSUInteger' type='I'/>
|
767
768
|
</method>
|
768
769
|
<method selector='setError:'>
|
769
|
-
<arg
|
770
|
-
<retval
|
770
|
+
<arg index='0' name='error' declared_type='NSError*' type='@'/>
|
771
|
+
<retval declared_type='void' type='v'/>
|
771
772
|
</method>
|
772
773
|
<method selector='valueAtIndex:forColumn:'>
|
773
|
-
<arg
|
774
|
-
<arg
|
775
|
-
<retval
|
774
|
+
<arg index='0' name='theIndex' declared_type='NSUInteger' type='I'/>
|
775
|
+
<arg index='1' name='theColumn' declared_type='NSString*' type='@'/>
|
776
|
+
<retval declared_type='NSString*' type='@'/>
|
776
777
|
</method>
|
777
778
|
<method selector='valuesForColumn:'>
|
778
|
-
<arg
|
779
|
-
<retval
|
779
|
+
<arg index='0' name='theColumn' declared_type='NSString*' type='@'/>
|
780
|
+
<retval declared_type='NSArray*' type='@'/>
|
780
781
|
</method>
|
781
782
|
<method selector='writeToFile:'>
|
782
|
-
<arg
|
783
|
-
<retval
|
783
|
+
<arg index='0' name='thePath' declared_type='NSString*' type='@'/>
|
784
|
+
<retval declared_type='void' type='v'/>
|
784
785
|
</method>
|
785
786
|
</class>
|
786
787
|
<class name='NSFNanoSearch'>
|
787
788
|
<method selector='JSONDescription'>
|
788
|
-
<retval
|
789
|
+
<retval declared_type='NSString*' type='@'/>
|
789
790
|
</method>
|
790
791
|
<method selector='_dataWithKey:attribute:value:matching:'>
|
791
|
-
<arg
|
792
|
-
<arg
|
793
|
-
<arg
|
794
|
-
<arg
|
795
|
-
<retval
|
792
|
+
<arg index='0' name='aKey' declared_type='NSString*' type='@'/>
|
793
|
+
<arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
|
794
|
+
<arg index='2' name='aValue' declared_type='NSString*' type='@'/>
|
795
|
+
<arg index='3' name='match' declared_type='NSFMatchType' type='i'/>
|
796
|
+
<retval declared_type='NSArray*' type='@'/>
|
796
797
|
</method>
|
797
798
|
<method selector='_dataWithKey:attribute:value:matching:returning:'>
|
798
|
-
<arg
|
799
|
-
<arg
|
800
|
-
<arg
|
801
|
-
<arg
|
802
|
-
<arg
|
803
|
-
<retval
|
799
|
+
<arg index='0' name='aKey' declared_type='NSString*' type='@'/>
|
800
|
+
<arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
|
801
|
+
<arg index='2' name='aValue' declared_type='NSString*' type='@'/>
|
802
|
+
<arg index='3' name='match' declared_type='NSFMatchType' type='i'/>
|
803
|
+
<arg index='4' name='returnedObjectType' declared_type='NSFReturnType' type='i'/>
|
804
|
+
<retval declared_type='NSArray*' type='@'/>
|
804
805
|
</method>
|
805
806
|
<method selector='_dictionaryForKeyPath:value:'>
|
806
|
-
<arg
|
807
|
-
<arg
|
808
|
-
<retval
|
807
|
+
<arg index='0' name='keyPath' declared_type='NSString*' type='@'/>
|
808
|
+
<arg index='1' name='value' declared_type='id' type='@'/>
|
809
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
809
810
|
</method>
|
810
811
|
<method selector='_prepareSQLQueryStringWithExpressions:'>
|
811
|
-
<arg
|
812
|
-
<retval
|
812
|
+
<arg index='0' name='someExpressions' declared_type='NSArray*' type='@'/>
|
813
|
+
<retval declared_type='NSString*' type='@'/>
|
813
814
|
</method>
|
814
815
|
<method selector='_prepareSQLQueryStringWithKey:attribute:value:matching:'>
|
815
|
-
<arg
|
816
|
-
<arg
|
817
|
-
<arg
|
818
|
-
<arg
|
819
|
-
<retval
|
816
|
+
<arg index='0' name='aKey' declared_type='NSString*' type='@'/>
|
817
|
+
<arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
|
818
|
+
<arg index='2' name='aValue' declared_type='id' type='@'/>
|
819
|
+
<arg index='3' name='match' declared_type='NSFMatchType' type='i'/>
|
820
|
+
<retval declared_type='NSString*' type='@'/>
|
820
821
|
</method>
|
821
822
|
<method selector='_prepareSQLQueryStringWithKeys:' class_method='true'>
|
822
|
-
<arg
|
823
|
-
<retval
|
823
|
+
<arg index='0' name='someKeys' declared_type='NSArray*' type='@'/>
|
824
|
+
<retval declared_type='NSString*' type='@'/>
|
824
825
|
</method>
|
825
826
|
<method selector='_preparedSQL'>
|
826
|
-
<retval
|
827
|
+
<retval declared_type='NSString*' type='@'/>
|
827
828
|
</method>
|
828
829
|
<method selector='_querySegmentForAttributeColumnWithValue:matching:valueColumnWithValue:' class_method='true'>
|
829
|
-
<arg
|
830
|
-
<arg
|
831
|
-
<arg
|
832
|
-
<retval
|
830
|
+
<arg index='0' name='anAttributeValue' declared_type='id' type='@'/>
|
831
|
+
<arg index='1' name='match' declared_type='NSFMatchType' type='i'/>
|
832
|
+
<arg index='2' name='aValue' declared_type='id' type='@'/>
|
833
|
+
<retval declared_type='NSString*' type='@'/>
|
833
834
|
</method>
|
834
835
|
<method selector='_querySegmentForColumn:value:matching:' class_method='true'>
|
835
|
-
<arg
|
836
|
-
<arg
|
837
|
-
<arg
|
838
|
-
<retval
|
836
|
+
<arg index='0' name='aColumn' declared_type='NSString*' type='@'/>
|
837
|
+
<arg index='1' name='aValue' declared_type='id' type='@'/>
|
838
|
+
<arg index='2' name='match' declared_type='NSFMatchType' type='i'/>
|
839
|
+
<retval declared_type='NSString*' type='@'/>
|
839
840
|
</method>
|
840
841
|
<method selector='_quoteStrings:joiningWithDelimiter:' class_method='true'>
|
841
|
-
<arg
|
842
|
-
<arg
|
843
|
-
<retval
|
842
|
+
<arg index='0' name='strings' declared_type='NSArray*' type='@'/>
|
843
|
+
<arg index='1' name='delimiter' declared_type='NSString*' type='@'/>
|
844
|
+
<retval declared_type='NSString*' type='@'/>
|
844
845
|
</method>
|
845
846
|
<method selector='_resultsFromSQLQuery:'>
|
846
|
-
<arg
|
847
|
-
<retval
|
847
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
848
|
+
<retval declared_type='NSArray*' type='@'/>
|
848
849
|
</method>
|
849
850
|
<method selector='_retrieveDataAdded:calendarDate:error:'>
|
850
|
-
<arg
|
851
|
-
<arg
|
852
|
-
<arg
|
853
|
-
<retval
|
851
|
+
<arg index='0' name='aDateMatch' declared_type='NSFDateMatchType' type='i'/>
|
852
|
+
<arg index='1' name='aDate' declared_type='NSDate*' type='@'/>
|
853
|
+
<arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
854
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
854
855
|
</method>
|
855
856
|
<method selector='_retrieveDataWithError:'>
|
856
|
-
<arg
|
857
|
-
<retval
|
857
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
858
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
858
859
|
</method>
|
859
860
|
<method selector='_sortResultsIfApplicable:returnType:'>
|
860
|
-
<arg
|
861
|
-
<arg
|
862
|
-
<retval
|
861
|
+
<arg index='0' name='results' declared_type='NSDictionary*' type='@'/>
|
862
|
+
<arg index='1' name='theReturnType' declared_type='NSFReturnType' type='i'/>
|
863
|
+
<retval declared_type='id' type='@'/>
|
863
864
|
</method>
|
864
865
|
<method selector='aggregateOperation:onAttribute:'>
|
865
|
-
<arg
|
866
|
-
<arg
|
867
|
-
<retval
|
866
|
+
<arg index='0' name='theFunctionType' declared_type='NSFAggregateFunctionType' type='i'/>
|
867
|
+
<arg index='1' name='theAttribute' declared_type='NSString*' type='@'/>
|
868
|
+
<retval declared_type='NSNumber*' type='@'/>
|
868
869
|
</method>
|
869
870
|
<method selector='attribute'>
|
870
|
-
<retval
|
871
|
+
<retval declared_type='NSString*' type='@'/>
|
871
872
|
</method>
|
872
873
|
<method selector='attributesToBeReturned'>
|
873
|
-
<retval
|
874
|
+
<retval declared_type='NSArray*' type='@'/>
|
875
|
+
</method>
|
876
|
+
<method selector='bag'>
|
877
|
+
<retval declared_type='NSFNanoBag*' type='@'/>
|
874
878
|
</method>
|
875
879
|
<method selector='description'>
|
876
|
-
<retval
|
880
|
+
<retval declared_type='NSString*' type='@'/>
|
877
881
|
</method>
|
878
882
|
<method selector='executeSQL:'>
|
879
|
-
<arg
|
880
|
-
<retval
|
883
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
884
|
+
<retval declared_type='NSFNanoResult*' type='@'/>
|
881
885
|
</method>
|
882
886
|
<method selector='executeSQL:returnType:error:'>
|
883
|
-
<arg
|
884
|
-
<arg
|
885
|
-
<arg
|
886
|
-
<retval
|
887
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
888
|
+
<arg index='1' name='theReturnType' declared_type='NSFReturnType' type='i'/>
|
889
|
+
<arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
890
|
+
<retval declared_type='id' type='@'/>
|
887
891
|
</method>
|
888
892
|
<method selector='explainSQL:'>
|
889
|
-
<arg
|
890
|
-
<retval
|
893
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
894
|
+
<retval declared_type='NSFNanoResult*' type='@'/>
|
891
895
|
</method>
|
892
896
|
<method selector='expressions'>
|
893
|
-
<retval
|
897
|
+
<retval declared_type='NSArray*' type='@'/>
|
894
898
|
</method>
|
895
899
|
<method selector='filterClass'>
|
896
|
-
<retval
|
900
|
+
<retval declared_type='NSString*' type='@'/>
|
897
901
|
</method>
|
898
902
|
<method selector='groupValues'>
|
899
|
-
<retval
|
903
|
+
<retval declared_type='BOOL' type='B'/>
|
900
904
|
</method>
|
901
905
|
<method selector='initWithStore:'>
|
902
|
-
<arg
|
903
|
-
<retval
|
906
|
+
<arg index='0' name='theNanoStore' declared_type='NSFNanoStore*' type='@'/>
|
907
|
+
<retval declared_type='id' type='@'/>
|
904
908
|
</method>
|
905
909
|
<method selector='key'>
|
906
|
-
<retval
|
910
|
+
<retval declared_type='NSString*' type='@'/>
|
907
911
|
</method>
|
908
912
|
<method selector='limit'>
|
909
|
-
<retval
|
913
|
+
<retval declared_type='NSUInteger' type='I'/>
|
910
914
|
</method>
|
911
915
|
<method selector='match'>
|
912
|
-
<retval
|
916
|
+
<retval declared_type='NSFMatchType' type='i'/>
|
913
917
|
</method>
|
914
918
|
<method selector='nanoStore'>
|
915
|
-
<retval
|
919
|
+
<retval declared_type='NSFNanoStore*' type='@'/>
|
916
920
|
</method>
|
917
921
|
<method selector='offset'>
|
918
|
-
<retval
|
922
|
+
<retval declared_type='NSUInteger' type='I'/>
|
919
923
|
</method>
|
920
924
|
<method selector='reset'>
|
921
|
-
<retval
|
925
|
+
<retval declared_type='void' type='v'/>
|
922
926
|
</method>
|
923
927
|
<method selector='searchObjectsAdded:date:returnType:error:'>
|
924
|
-
<arg
|
925
|
-
<arg
|
926
|
-
<arg
|
927
|
-
<arg
|
928
|
-
<retval
|
928
|
+
<arg index='0' name='theDateMatch' declared_type='NSFDateMatchType' type='i'/>
|
929
|
+
<arg index='1' name='theDate' declared_type='NSDate*' type='@'/>
|
930
|
+
<arg index='2' name='theReturnType' declared_type='NSFReturnType' type='i'/>
|
931
|
+
<arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
932
|
+
<retval declared_type='id' type='@'/>
|
929
933
|
</method>
|
930
934
|
<method selector='searchObjectsWithReturnType:error:'>
|
931
|
-
<arg
|
932
|
-
<arg
|
933
|
-
<retval
|
935
|
+
<arg index='0' name='theReturnType' declared_type='NSFReturnType' type='i'/>
|
936
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
937
|
+
<retval declared_type='id' type='@'/>
|
934
938
|
</method>
|
935
939
|
<method selector='searchWithStore:' class_method='true'>
|
936
|
-
<arg
|
937
|
-
<retval
|
940
|
+
<arg index='0' name='theNanoStore' declared_type='NSFNanoStore*' type='@'/>
|
941
|
+
<retval declared_type='NSFNanoSearch*' type='@'/>
|
938
942
|
</method>
|
939
943
|
<method selector='setAttribute:'>
|
940
|
-
<arg
|
941
|
-
<retval
|
944
|
+
<arg index='0' name='attribute' declared_type='NSString*' type='@'/>
|
945
|
+
<retval declared_type='void' type='v'/>
|
942
946
|
</method>
|
943
947
|
<method selector='setAttributesToBeReturned:'>
|
944
|
-
<arg
|
945
|
-
<retval
|
948
|
+
<arg index='0' name='attributesToBeReturned' declared_type='NSArray*' type='@'/>
|
949
|
+
<retval declared_type='void' type='v'/>
|
950
|
+
</method>
|
951
|
+
<method selector='setBag:'>
|
952
|
+
<arg index='0' name='bag' declared_type='NSFNanoBag*' type='@'/>
|
953
|
+
<retval declared_type='void' type='v'/>
|
946
954
|
</method>
|
947
955
|
<method selector='setExpressions:'>
|
948
|
-
<arg
|
949
|
-
<retval
|
956
|
+
<arg index='0' name='expressions' declared_type='NSArray*' type='@'/>
|
957
|
+
<retval declared_type='void' type='v'/>
|
950
958
|
</method>
|
951
959
|
<method selector='setFilterClass:'>
|
952
|
-
<arg
|
953
|
-
<retval
|
960
|
+
<arg index='0' name='filterClass' declared_type='NSString*' type='@'/>
|
961
|
+
<retval declared_type='void' type='v'/>
|
954
962
|
</method>
|
955
963
|
<method selector='setGroupValues:'>
|
956
|
-
<arg
|
957
|
-
<retval
|
964
|
+
<arg index='0' name='groupValues' declared_type='BOOL' type='B'/>
|
965
|
+
<retval declared_type='void' type='v'/>
|
958
966
|
</method>
|
959
967
|
<method selector='setKey:'>
|
960
|
-
<arg
|
961
|
-
<retval
|
968
|
+
<arg index='0' name='key' declared_type='NSString*' type='@'/>
|
969
|
+
<retval declared_type='void' type='v'/>
|
962
970
|
</method>
|
963
971
|
<method selector='setLimit:'>
|
964
|
-
<arg
|
965
|
-
<retval
|
972
|
+
<arg index='0' name='limit' declared_type='NSUInteger' type='I'/>
|
973
|
+
<retval declared_type='void' type='v'/>
|
966
974
|
</method>
|
967
975
|
<method selector='setMatch:'>
|
968
|
-
<arg
|
969
|
-
<retval
|
976
|
+
<arg index='0' name='match' declared_type='NSFMatchType' type='i'/>
|
977
|
+
<retval declared_type='void' type='v'/>
|
970
978
|
</method>
|
971
979
|
<method selector='setNanoStore:'>
|
972
|
-
<arg
|
973
|
-
<retval
|
980
|
+
<arg index='0' name='nanoStore' declared_type='NSFNanoStore*' type='@'/>
|
981
|
+
<retval declared_type='void' type='v'/>
|
974
982
|
</method>
|
975
983
|
<method selector='setOffset:'>
|
976
|
-
<arg
|
977
|
-
<retval
|
984
|
+
<arg index='0' name='offset' declared_type='NSUInteger' type='I'/>
|
985
|
+
<retval declared_type='void' type='v'/>
|
978
986
|
</method>
|
979
987
|
<method selector='setSort:'>
|
980
|
-
<arg
|
981
|
-
<retval
|
988
|
+
<arg index='0' name='sort' declared_type='NSArray*' type='@'/>
|
989
|
+
<retval declared_type='void' type='v'/>
|
982
990
|
</method>
|
983
991
|
<method selector='setValue:'>
|
984
|
-
<arg
|
985
|
-
<retval
|
992
|
+
<arg index='0' name='value' declared_type='id' type='@'/>
|
993
|
+
<retval declared_type='void' type='v'/>
|
986
994
|
</method>
|
987
995
|
<method selector='sort'>
|
988
|
-
<retval
|
996
|
+
<retval declared_type='NSArray*' type='@'/>
|
989
997
|
</method>
|
990
998
|
<method selector='sql'>
|
991
|
-
<retval
|
999
|
+
<retval declared_type='NSString*' type='@'/>
|
992
1000
|
</method>
|
993
1001
|
<method selector='value'>
|
994
|
-
<retval
|
1002
|
+
<retval declared_type='id' type='@'/>
|
995
1003
|
</method>
|
996
1004
|
</class>
|
997
1005
|
<class name='NSFNanoSortDescriptor'>
|
998
1006
|
<method selector='JSONDescription'>
|
999
|
-
<retval
|
1007
|
+
<retval declared_type='NSString*' type='@'/>
|
1000
1008
|
</method>
|
1001
1009
|
<method selector='attribute'>
|
1002
|
-
<retval
|
1010
|
+
<retval declared_type='NSString*' type='@'/>
|
1003
1011
|
</method>
|
1004
1012
|
<method selector='description'>
|
1005
|
-
<retval
|
1013
|
+
<retval declared_type='NSString*' type='@'/>
|
1006
1014
|
</method>
|
1007
1015
|
<method selector='initWithAttribute:ascending:'>
|
1008
|
-
<arg
|
1009
|
-
<arg
|
1010
|
-
<retval
|
1016
|
+
<arg index='0' name='theAttribute' declared_type='NSString*' type='@'/>
|
1017
|
+
<arg index='1' name='ascending' declared_type='BOOL' type='B'/>
|
1018
|
+
<retval declared_type='id' type='@'/>
|
1011
1019
|
</method>
|
1012
1020
|
<method selector='isAscending'>
|
1013
|
-
<retval
|
1021
|
+
<retval declared_type='BOOL' type='B'/>
|
1014
1022
|
</method>
|
1015
1023
|
<method selector='sortDescriptorWithAttribute:ascending:' class_method='true'>
|
1016
|
-
<arg
|
1017
|
-
<arg
|
1018
|
-
<retval
|
1024
|
+
<arg index='0' name='theAttribute' declared_type='NSString*' type='@'/>
|
1025
|
+
<arg index='1' name='ascending' declared_type='BOOL' type='B'/>
|
1026
|
+
<retval declared_type='NSFNanoSortDescriptor*' type='@'/>
|
1019
1027
|
</method>
|
1020
1028
|
</class>
|
1021
1029
|
<class name='NSFNanoStore'>
|
1022
1030
|
<method selector='JSONDescription'>
|
1023
|
-
<retval
|
1031
|
+
<retval declared_type='NSString*' type='@'/>
|
1024
1032
|
</method>
|
1025
1033
|
<method selector='_NSFDatatypeOfObject:'>
|
1026
|
-
<arg
|
1027
|
-
<retval
|
1034
|
+
<arg index='0' name='value' declared_type='id' type='@'/>
|
1035
|
+
<retval declared_type='NSFNanoDatatype' type='i'/>
|
1028
1036
|
</method>
|
1029
1037
|
<method selector='__storeDictionaries:forKeys:error:'>
|
1030
|
-
<arg
|
1031
|
-
<arg
|
1032
|
-
<arg
|
1033
|
-
<retval
|
1038
|
+
<arg index='0' name='someObjects' declared_type='NSArray*' type='@'/>
|
1039
|
+
<arg index='1' name='someKeys' declared_type='NSArray*' type='@'/>
|
1040
|
+
<arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1041
|
+
<retval declared_type='BOOL' type='B'/>
|
1034
1042
|
</method>
|
1035
1043
|
<method selector='_addObjectsFromArray:forceSave:error:'>
|
1036
|
-
<arg
|
1037
|
-
<arg
|
1038
|
-
<arg
|
1039
|
-
<retval
|
1044
|
+
<arg index='0' name='someObjects' declared_type='NSArray*' type='@'/>
|
1045
|
+
<arg index='1' name='forceSave' declared_type='BOOL' type='B'/>
|
1046
|
+
<arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1047
|
+
<retval declared_type='BOOL' type='B'/>
|
1040
1048
|
</method>
|
1041
1049
|
<method selector='_backupFileStoreToDirectoryAtPath:extension:compact:error:'>
|
1042
|
-
<arg
|
1043
|
-
<arg
|
1044
|
-
<arg
|
1045
|
-
<arg
|
1046
|
-
<retval
|
1050
|
+
<arg index='0' name='aPath' declared_type='NSString*' type='@'/>
|
1051
|
+
<arg index='1' name='anExtension' declared_type='NSString*' type='@'/>
|
1052
|
+
<arg index='2' name='flag' declared_type='BOOL' type='B'/>
|
1053
|
+
<arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1054
|
+
<retval declared_type='BOOL' type='B'/>
|
1047
1055
|
</method>
|
1048
1056
|
<method selector='_backupMemoryStoreToDirectoryAtPath:extension:compact:error:'>
|
1049
|
-
<arg
|
1050
|
-
<arg
|
1051
|
-
<arg
|
1052
|
-
<arg
|
1053
|
-
<retval
|
1057
|
+
<arg index='0' name='aPath' declared_type='NSString*' type='@'/>
|
1058
|
+
<arg index='1' name='anExtension' declared_type='NSString*' type='@'/>
|
1059
|
+
<arg index='2' name='flag' declared_type='BOOL' type='B'/>
|
1060
|
+
<arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1061
|
+
<retval declared_type='BOOL' type='B'/>
|
1054
1062
|
</method>
|
1055
1063
|
<method selector='_bindValue:forAttribute:parameterNumber:usingSQLite3Statement:'>
|
1056
|
-
<arg
|
1057
|
-
<arg
|
1058
|
-
<arg
|
1059
|
-
<arg
|
1060
|
-
<retval
|
1064
|
+
<arg index='0' name='aValue' declared_type='id' type='@'/>
|
1065
|
+
<arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
|
1066
|
+
<arg index='2' name='aParamNumber' declared_type='NSInteger' type='i'/>
|
1067
|
+
<arg index='3' name='aStatement' declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}'/>
|
1068
|
+
<retval declared_type='BOOL' type='B'/>
|
1061
1069
|
</method>
|
1062
1070
|
<method selector='_calendarDateToString:' class_method='true'>
|
1063
|
-
<arg
|
1064
|
-
<retval
|
1071
|
+
<arg index='0' name='aDate' declared_type='NSDate*' type='@'/>
|
1072
|
+
<retval declared_type='NSString*' type='@'/>
|
1065
1073
|
</method>
|
1066
1074
|
<method selector='_checkNanoStoreIsReadyAndReturnError:'>
|
1067
|
-
<arg
|
1068
|
-
<retval
|
1075
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1076
|
+
<retval declared_type='BOOL' type='B'/>
|
1069
1077
|
</method>
|
1070
1078
|
<method selector='_createAndOpenDebugDatabase' class_method='true'>
|
1071
|
-
<retval
|
1079
|
+
<retval declared_type='NSFNanoStore*' type='@'/>
|
1072
1080
|
</method>
|
1073
1081
|
<method selector='_defaultTestData' class_method='true'>
|
1074
|
-
<retval
|
1082
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
1075
1083
|
</method>
|
1076
1084
|
<method selector='_executeSQL:'>
|
1077
|
-
<arg
|
1078
|
-
<retval
|
1085
|
+
<arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
|
1086
|
+
<retval declared_type='NSFNanoResult*' type='@'/>
|
1079
1087
|
</method>
|
1080
1088
|
<method selector='_executeSQLite3StepUsingSQLite3Statement:'>
|
1081
|
-
<arg
|
1082
|
-
<retval
|
1089
|
+
<arg index='0' name='aStatement' declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}'/>
|
1090
|
+
<retval declared_type='void' type='v'/>
|
1083
1091
|
</method>
|
1084
1092
|
<method selector='_flattenCollection:keyPath:keys:values:'>
|
1085
|
-
<arg
|
1086
|
-
<arg
|
1087
|
-
<arg
|
1088
|
-
<arg
|
1089
|
-
<retval
|
1093
|
+
<arg index='0' name='someObject' declared_type='id' type='@'/>
|
1094
|
+
<arg index='1' name='aKeyPath' declared_type='NSMutableArray**' type='^@'/>
|
1095
|
+
<arg index='2' name='someKeys' declared_type='NSMutableArray**' type='^@'/>
|
1096
|
+
<arg index='3' name='someValues' declared_type='NSMutableArray**' type='^@'/>
|
1097
|
+
<retval declared_type='void' type='v'/>
|
1090
1098
|
</method>
|
1091
1099
|
<method selector='_flattenCollection:keys:values:'>
|
1092
|
-
<arg
|
1093
|
-
<arg
|
1094
|
-
<arg
|
1095
|
-
<retval
|
1100
|
+
<arg index='0' name='info' declared_type='NSDictionary*' type='@'/>
|
1101
|
+
<arg index='1' name='flattenedKeys' declared_type='NSMutableArray**' type='^@'/>
|
1102
|
+
<arg index='2' name='flattenedValues' declared_type='NSMutableArray**' type='^@'/>
|
1103
|
+
<retval declared_type='void' type='v'/>
|
1096
1104
|
</method>
|
1097
1105
|
<method selector='_initializePreparedStatementsWithError:'>
|
1098
|
-
<arg
|
1099
|
-
<retval
|
1106
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1107
|
+
<retval declared_type='BOOL' type='B'/>
|
1100
1108
|
</method>
|
1101
1109
|
<method selector='_isOurTransaction'>
|
1102
|
-
<retval
|
1110
|
+
<retval declared_type='BOOL' type='B'/>
|
1103
1111
|
</method>
|
1104
1112
|
<method selector='_nestedDescriptionWithPrefixedSpace:'>
|
1105
|
-
<arg
|
1106
|
-
<retval
|
1113
|
+
<arg index='0' name='prefixedSpace' declared_type='NSString*' type='@'/>
|
1114
|
+
<retval declared_type='NSString*' type='@'/>
|
1107
1115
|
</method>
|
1108
1116
|
<method selector='_prepareSQLite3Statement:theSQLStatement:'>
|
1109
|
-
<arg
|
1110
|
-
<arg
|
1111
|
-
<retval
|
1117
|
+
<arg index='0' name='aStatement' declared_type='sqlite3_stmt**' type='^^{sqlite3_stmt}'/>
|
1118
|
+
<arg index='1' name='aSQLQuery' declared_type='NSString*' type='@'/>
|
1119
|
+
<retval declared_type='BOOL' type='B'/>
|
1112
1120
|
</method>
|
1113
1121
|
<method selector='_releasePreparedStatements'>
|
1114
|
-
<retval
|
1122
|
+
<retval declared_type='void' type='v'/>
|
1115
1123
|
</method>
|
1116
1124
|
<method selector='_setIsOurTransaction:'>
|
1117
|
-
<arg
|
1118
|
-
<retval
|
1125
|
+
<arg index='0' name='value' declared_type='BOOL' type='B'/>
|
1126
|
+
<retval declared_type='void' type='v'/>
|
1119
1127
|
</method>
|
1120
1128
|
<method selector='_setupCachingSchema'>
|
1121
|
-
<retval
|
1129
|
+
<retval declared_type='BOOL' type='B'/>
|
1122
1130
|
</method>
|
1123
1131
|
<method selector='_storeDictionary:forKey:forClassNamed:error:'>
|
1124
|
-
<arg
|
1125
|
-
<arg
|
1126
|
-
<arg
|
1127
|
-
<arg
|
1128
|
-
<retval
|
1132
|
+
<arg index='0' name='someInfo' declared_type='NSDictionary*' type='@'/>
|
1133
|
+
<arg index='1' name='aKey' declared_type='NSString*' type='@'/>
|
1134
|
+
<arg index='2' name='classType' declared_type='NSString*' type='@'/>
|
1135
|
+
<arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1136
|
+
<retval declared_type='BOOL' type='B'/>
|
1129
1137
|
</method>
|
1130
1138
|
<method selector='_stringFromValue:'>
|
1131
|
-
<arg
|
1132
|
-
<retval
|
1139
|
+
<arg index='0' name='aValue' declared_type='id' type='@'/>
|
1140
|
+
<retval declared_type='NSString*' type='@'/>
|
1133
1141
|
</method>
|
1134
1142
|
<method selector='addObject:error:'>
|
1135
|
-
<arg
|
1136
|
-
<arg
|
1137
|
-
<retval
|
1143
|
+
<arg index='0' name='theObject' declared_type='id' type='@'/>
|
1144
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1145
|
+
<retval declared_type='BOOL' type='B'/>
|
1138
1146
|
</method>
|
1139
1147
|
<method selector='addObjectsFromArray:error:'>
|
1140
|
-
<arg
|
1141
|
-
<arg
|
1142
|
-
<retval
|
1148
|
+
<arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
|
1149
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1150
|
+
<retval declared_type='BOOL' type='B'/>
|
1143
1151
|
</method>
|
1144
1152
|
<method selector='allObjectClasses'>
|
1145
|
-
<retval
|
1153
|
+
<retval declared_type='NSArray*' type='@'/>
|
1146
1154
|
</method>
|
1147
1155
|
<method selector='bagWithName:'>
|
1148
|
-
<arg
|
1149
|
-
<retval
|
1156
|
+
<arg index='0' name='theName' declared_type='NSString*' type='@'/>
|
1157
|
+
<retval declared_type='NSFNanoBag*' type='@'/>
|
1150
1158
|
</method>
|
1151
1159
|
<method selector='bags'>
|
1152
|
-
<retval
|
1160
|
+
<retval declared_type='NSArray*' type='@'/>
|
1153
1161
|
</method>
|
1154
1162
|
<method selector='bagsContainingObjectWithKey:'>
|
1155
|
-
<arg
|
1156
|
-
<retval
|
1163
|
+
<arg index='0' name='theKey' declared_type='NSString*' type='@'/>
|
1164
|
+
<retval declared_type='NSArray*' type='@'/>
|
1157
1165
|
</method>
|
1158
1166
|
<method selector='bagsWithKeysInArray:'>
|
1159
|
-
<arg
|
1160
|
-
<retval
|
1167
|
+
<arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
|
1168
|
+
<retval declared_type='NSArray*' type='@'/>
|
1161
1169
|
</method>
|
1162
1170
|
<method selector='bagsWithName:'>
|
1163
|
-
<arg
|
1164
|
-
<retval
|
1171
|
+
<arg index='0' name='theName' declared_type='NSString*' type='@'/>
|
1172
|
+
<retval declared_type='NSArray*' type='@'/>
|
1165
1173
|
</method>
|
1166
1174
|
<method selector='beginTransactionAndReturnError:'>
|
1167
|
-
<arg
|
1168
|
-
<retval
|
1175
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1176
|
+
<retval declared_type='BOOL' type='B'/>
|
1169
1177
|
</method>
|
1170
1178
|
<method selector='clearIndexesAndReturnError:'>
|
1171
|
-
<arg
|
1172
|
-
<retval
|
1179
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1180
|
+
<retval declared_type='BOOL' type='B'/>
|
1173
1181
|
</method>
|
1174
1182
|
<method selector='closeWithError:'>
|
1175
|
-
<arg
|
1176
|
-
<retval
|
1183
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1184
|
+
<retval declared_type='BOOL' type='B'/>
|
1177
1185
|
</method>
|
1178
1186
|
<method selector='commitTransactionAndReturnError:'>
|
1179
|
-
<arg
|
1180
|
-
<retval
|
1187
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1188
|
+
<retval declared_type='BOOL' type='B'/>
|
1181
1189
|
</method>
|
1182
1190
|
<method selector='compactStoreAndReturnError:'>
|
1183
|
-
<arg
|
1184
|
-
<retval
|
1191
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1192
|
+
<retval declared_type='BOOL' type='B'/>
|
1185
1193
|
</method>
|
1186
1194
|
<method selector='countOfObjectsOfClassNamed:'>
|
1187
|
-
<arg
|
1188
|
-
<retval
|
1195
|
+
<arg index='0' name='theClassName' declared_type='NSString*' type='@'/>
|
1196
|
+
<retval declared_type='long long' type='q'/>
|
1189
1197
|
</method>
|
1190
1198
|
<method selector='createAndOpenStoreWithType:path:error:' class_method='true'>
|
1191
|
-
<arg
|
1192
|
-
<arg
|
1193
|
-
<arg
|
1194
|
-
<retval
|
1199
|
+
<arg index='0' name='theType' declared_type='NSFNanoStoreType' type='i'/>
|
1200
|
+
<arg index='1' name='thePath' declared_type='NSString*' type='@'/>
|
1201
|
+
<arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1202
|
+
<retval declared_type='NSFNanoStore*' type='@'/>
|
1195
1203
|
</method>
|
1196
1204
|
<method selector='createStoreWithType:path:' class_method='true'>
|
1197
|
-
<arg
|
1198
|
-
<arg
|
1199
|
-
<retval
|
1205
|
+
<arg index='0' name='theType' declared_type='NSFNanoStoreType' type='i'/>
|
1206
|
+
<arg index='1' name='thePath' declared_type='NSString*' type='@'/>
|
1207
|
+
<retval declared_type='NSFNanoStore*' type='@'/>
|
1200
1208
|
</method>
|
1201
1209
|
<method selector='description'>
|
1202
|
-
<retval
|
1210
|
+
<retval declared_type='NSString*' type='@'/>
|
1203
1211
|
</method>
|
1204
1212
|
<method selector='dictionaryDescription'>
|
1205
|
-
<retval
|
1213
|
+
<retval declared_type='NSFOrderedDictionary*' type='@'/>
|
1206
1214
|
</method>
|
1207
1215
|
<method selector='discardUnsavedChanges'>
|
1208
|
-
<retval
|
1216
|
+
<retval declared_type='void' type='v'/>
|
1209
1217
|
</method>
|
1210
1218
|
<method selector='filePath'>
|
1211
|
-
<retval
|
1219
|
+
<retval declared_type='NSString*' type='@'/>
|
1212
1220
|
</method>
|
1213
1221
|
<method selector='hasUnsavedChanges'>
|
1214
|
-
<retval
|
1222
|
+
<retval declared_type='BOOL' type='B'/>
|
1215
1223
|
</method>
|
1216
1224
|
<method selector='initStoreWithType:path:'>
|
1217
|
-
<arg
|
1218
|
-
<arg
|
1219
|
-
<retval
|
1225
|
+
<arg index='0' name='theType' declared_type='NSFNanoStoreType' type='i'/>
|
1226
|
+
<arg index='1' name='thePath' declared_type='NSString*' type='@'/>
|
1227
|
+
<retval declared_type='id' type='@'/>
|
1220
1228
|
</method>
|
1221
1229
|
<method selector='isClosed'>
|
1222
|
-
<retval
|
1230
|
+
<retval declared_type='BOOL' type='B'/>
|
1223
1231
|
</method>
|
1224
1232
|
<method selector='nanoEngineProcessingMode'>
|
1225
|
-
<retval
|
1233
|
+
<retval declared_type='NSFEngineProcessingMode' type='i'/>
|
1226
1234
|
</method>
|
1227
1235
|
<method selector='nanoStoreEngine'>
|
1228
|
-
<retval
|
1236
|
+
<retval declared_type='NSFNanoEngine*' type='@'/>
|
1229
1237
|
</method>
|
1230
1238
|
<method selector='objectsOfClassNamed:'>
|
1231
|
-
<arg
|
1232
|
-
<retval
|
1239
|
+
<arg index='0' name='theClassName' declared_type='NSString*' type='@'/>
|
1240
|
+
<retval declared_type='NSArray*' type='@'/>
|
1233
1241
|
</method>
|
1234
1242
|
<method selector='objectsOfClassNamed:usingSortDescriptors:'>
|
1235
|
-
<arg
|
1236
|
-
<arg
|
1237
|
-
<retval
|
1243
|
+
<arg index='0' name='theClassName' declared_type='NSString*' type='@'/>
|
1244
|
+
<arg index='1' name='theSortDescriptors' declared_type='NSArray*' type='@'/>
|
1245
|
+
<retval declared_type='NSArray*' type='@'/>
|
1238
1246
|
</method>
|
1239
1247
|
<method selector='objectsWithKeysInArray:'>
|
1240
|
-
<arg
|
1241
|
-
<retval
|
1248
|
+
<arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
|
1249
|
+
<retval declared_type='NSArray*' type='@'/>
|
1242
1250
|
</method>
|
1243
1251
|
<method selector='openWithError:'>
|
1244
|
-
<arg
|
1245
|
-
<retval
|
1252
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1253
|
+
<retval declared_type='BOOL' type='B'/>
|
1246
1254
|
</method>
|
1247
1255
|
<method selector='rebuildIndexesAndReturnError:'>
|
1248
|
-
<arg
|
1249
|
-
<retval
|
1256
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1257
|
+
<retval declared_type='BOOL' type='B'/>
|
1250
1258
|
</method>
|
1251
1259
|
<method selector='removeAllObjectsFromStoreAndReturnError:'>
|
1252
|
-
<arg
|
1253
|
-
<retval
|
1260
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1261
|
+
<retval declared_type='BOOL' type='B'/>
|
1254
1262
|
</method>
|
1255
1263
|
<method selector='removeObject:error:'>
|
1256
|
-
<arg
|
1257
|
-
<arg
|
1258
|
-
<retval
|
1264
|
+
<arg index='0' name='theObject' declared_type='id' type='@'/>
|
1265
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1266
|
+
<retval declared_type='BOOL' type='B'/>
|
1259
1267
|
</method>
|
1260
1268
|
<method selector='removeObjectsInArray:error:'>
|
1261
|
-
<arg
|
1262
|
-
<arg
|
1263
|
-
<retval
|
1269
|
+
<arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
|
1270
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1271
|
+
<retval declared_type='BOOL' type='B'/>
|
1264
1272
|
</method>
|
1265
1273
|
<method selector='removeObjectsWithKeysInArray:error:'>
|
1266
|
-
<arg
|
1267
|
-
<arg
|
1268
|
-
<retval
|
1274
|
+
<arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
|
1275
|
+
<arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1276
|
+
<retval declared_type='BOOL' type='B'/>
|
1269
1277
|
</method>
|
1270
1278
|
<method selector='rollbackTransactionAndReturnError:'>
|
1271
|
-
<arg
|
1272
|
-
<retval
|
1279
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1280
|
+
<retval declared_type='BOOL' type='B'/>
|
1273
1281
|
</method>
|
1274
1282
|
<method selector='saveInterval'>
|
1275
|
-
<retval
|
1283
|
+
<retval declared_type='NSUInteger' type='I'/>
|
1276
1284
|
</method>
|
1277
1285
|
<method selector='saveStoreAndReturnError:'>
|
1278
|
-
<arg
|
1279
|
-
<retval
|
1286
|
+
<arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1287
|
+
<retval declared_type='BOOL' type='B'/>
|
1280
1288
|
</method>
|
1281
1289
|
<method selector='saveStoreToDirectoryAtPath:compactDatabase:error:'>
|
1282
|
-
<arg
|
1283
|
-
<arg
|
1284
|
-
<arg
|
1285
|
-
<retval
|
1290
|
+
<arg index='0' name='thePath' declared_type='NSString*' type='@'/>
|
1291
|
+
<arg index='1' name='shouldCompact' declared_type='BOOL' type='B'/>
|
1292
|
+
<arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
|
1293
|
+
<retval declared_type='BOOL' type='B'/>
|
1286
1294
|
</method>
|
1287
1295
|
<method selector='setNanoEngineProcessingMode:'>
|
1288
|
-
<arg
|
1289
|
-
<retval
|
1296
|
+
<arg index='0' name='nanoEngineProcessingMode' declared_type='NSFEngineProcessingMode' type='i'/>
|
1297
|
+
<retval declared_type='void' type='v'/>
|
1290
1298
|
</method>
|
1291
1299
|
<method selector='setNanoStoreEngine:'>
|
1292
|
-
<arg
|
1293
|
-
<retval
|
1300
|
+
<arg index='0' name='nanoStoreEngine' declared_type='NSFNanoEngine*' type='@'/>
|
1301
|
+
<retval declared_type='void' type='v'/>
|
1294
1302
|
</method>
|
1295
1303
|
<method selector='setSaveInterval:'>
|
1296
|
-
<arg
|
1297
|
-
<retval
|
1304
|
+
<arg index='0' name='saveInterval' declared_type='NSUInteger' type='I'/>
|
1305
|
+
<retval declared_type='void' type='v'/>
|
1298
1306
|
</method>
|
1299
1307
|
</class>
|
1300
1308
|
<class name='NSFOrderedDictionary'>
|
1301
1309
|
<method selector='insertObject:forKey:atIndex:'>
|
1302
|
-
<arg
|
1303
|
-
<arg
|
1304
|
-
<arg
|
1305
|
-
<retval
|
1310
|
+
<arg index='0' name='anObject' declared_type='id' type='@'/>
|
1311
|
+
<arg index='1' name='aKey' declared_type='id' type='@'/>
|
1312
|
+
<arg index='2' name='anIndex' declared_type='NSUInteger' type='I'/>
|
1313
|
+
<retval declared_type='void' type='v'/>
|
1306
1314
|
</method>
|
1307
1315
|
<method selector='keyAtIndex:'>
|
1308
|
-
<arg
|
1309
|
-
<retval
|
1316
|
+
<arg index='0' name='anIndex' declared_type='NSUInteger' type='I'/>
|
1317
|
+
<retval declared_type='id' type='@'/>
|
1310
1318
|
</method>
|
1311
1319
|
<method selector='reverseKeyEnumerator'>
|
1312
|
-
<retval
|
1320
|
+
<retval declared_type='NSEnumerator*' type='@'/>
|
1313
1321
|
</method>
|
1314
1322
|
</class>
|
1315
1323
|
<class name='NSObject'>
|
1316
1324
|
<method selector='initNanoObjectFromDictionaryRepresentation:forKey:store:'>
|
1317
|
-
<arg
|
1318
|
-
<arg
|
1319
|
-
<arg
|
1320
|
-
<retval
|
1325
|
+
<arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
|
1326
|
+
<arg index='1' name='aKey' declared_type='NSString*' type='@'/>
|
1327
|
+
<arg index='2' name='theStore' declared_type='NSFNanoStore*' type='@'/>
|
1328
|
+
<retval declared_type='id' type='@'/>
|
1321
1329
|
</method>
|
1322
1330
|
<method selector='nanoObjectDictionaryRepresentation'>
|
1323
|
-
<retval
|
1331
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
1324
1332
|
</method>
|
1325
1333
|
<method selector='nanoObjectKey'>
|
1326
|
-
<retval
|
1334
|
+
<retval declared_type='NSString*' type='@'/>
|
1327
1335
|
</method>
|
1328
1336
|
<method selector='rootObject'>
|
1329
|
-
<retval
|
1337
|
+
<retval declared_type='id' type='@'/>
|
1330
1338
|
</method>
|
1331
1339
|
</class>
|
1332
1340
|
<informal_protocol name='NSFNanoObjectProtocol'>
|
1333
|
-
<method type='@20@0:4@8@12@16'
|
1334
|
-
<arg
|
1335
|
-
<arg
|
1336
|
-
<arg
|
1337
|
-
<retval
|
1341
|
+
<method selector='initNanoObjectFromDictionaryRepresentation:forKey:store:' type='@20@0:4@8@12@16'>
|
1342
|
+
<arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
|
1343
|
+
<arg index='1' name='aKey' declared_type='NSString*' type='@'/>
|
1344
|
+
<arg index='2' name='theStore' declared_type='NSFNanoStore*' type='@'/>
|
1345
|
+
<retval declared_type='id' type='@'/>
|
1338
1346
|
</method>
|
1339
|
-
<method type='@8@0:4'
|
1340
|
-
<retval
|
1347
|
+
<method selector='nanoObjectDictionaryRepresentation' type='@8@0:4'>
|
1348
|
+
<retval declared_type='NSDictionary*' type='@'/>
|
1341
1349
|
</method>
|
1342
|
-
<method type='@8@0:4'
|
1343
|
-
<retval
|
1350
|
+
<method selector='nanoObjectKey' type='@8@0:4'>
|
1351
|
+
<retval declared_type='NSString*' type='@'/>
|
1344
1352
|
</method>
|
1345
|
-
<method type='@8@0:4'
|
1346
|
-
<retval
|
1353
|
+
<method selector='rootObject' type='@8@0:4'>
|
1354
|
+
<retval declared_type='id' type='@'/>
|
1347
1355
|
</method>
|
1348
1356
|
</informal_protocol>
|
1349
1357
|
</signatures>
|