Oolite
Loading...
Searching...
No Matches
NSArray(OOExtractor) Category Reference

#include <OOCollectionExtractors.h>

Instance Methods

(char) - oo_charAtIndex:defaultValue:
(short) - oo_shortAtIndex:defaultValue:
(int) - oo_intAtIndex:defaultValue:
(long) - oo_longAtIndex:defaultValue:
(long long) - oo_longLongAtIndex:defaultValue:
(NSInteger) - oo_integerAtIndex:defaultValue:
(unsigned char) - oo_unsignedCharAtIndex:defaultValue:
(unsigned short) - oo_unsignedShortAtIndex:defaultValue:
(unsigned int) - oo_unsignedIntAtIndex:defaultValue:
(unsigned long) - oo_unsignedLongAtIndex:defaultValue:
(unsigned long long) - oo_unsignedLongLongAtIndex:defaultValue:
(NSUInteger) - oo_unsignedIntegerAtIndex:defaultValue:
(BOOL) - oo_boolAtIndex:defaultValue:
(BOOL) - oo_fuzzyBooleanAtIndex:defaultValue:
(float) - oo_floatAtIndex:defaultValue:
(double) - oo_doubleAtIndex:defaultValue:
(float) - oo_nonNegativeFloatAtIndex:defaultValue:
(double) - oo_nonNegativeDoubleAtIndex:defaultValue:
(id) - oo_objectAtIndex:defaultValue:
(id) - oo_objectOfClass:atIndex:defaultValue:
(NSString *) - oo_stringAtIndex:defaultValue:
(NSArray *) - oo_arrayAtIndex:defaultValue:
(NSSet *) - oo_setAtIndex:defaultValue:
(NSDictionary *) - oo_dictionaryAtIndex:defaultValue:
(NSData *) - oo_dataAtIndex:defaultValue:
(Vector) - oo_vectorAtIndex:defaultValue:
(Quaternion) - oo_quaternionAtIndex:defaultValue:
(char) - oo_charAtIndex:
(short) - oo_shortAtIndex:
(int) - oo_intAtIndex:
(long) - oo_longAtIndex:
(long long) - oo_longLongAtIndex:
(NSInteger) - oo_integerAtIndex:
(unsigned char) - oo_unsignedCharAtIndex:
(unsigned short) - oo_unsignedShortAtIndex:
(unsigned int) - oo_unsignedIntAtIndex:
(unsigned long) - oo_unsignedLongAtIndex:
(unsigned long long) - oo_unsignedLongLongAtIndex:
(NSUInteger) - oo_unsignedIntegerAtIndex:
(BOOL) - oo_boolAtIndex:
(BOOL) - oo_fuzzyBooleanAtIndex:
(float) - oo_floatAtIndex:
(double) - oo_doubleAtIndex:
(float) - oo_nonNegativeFloatAtIndex:
(double) - oo_nonNegativeDoubleAtIndex:
(id) - oo_objectAtIndex:
(id) - oo_objectOfClass:atIndex:
(NSString *) - oo_stringAtIndex:
(NSArray *) - oo_arrayAtIndex:
(NSSet *) - oo_setAtIndex:
(NSDictionary *) - oo_dictionaryAtIndex:
(NSData *) - oo_dataAtIndex:
(Vector) - oo_vectorAtIndex:
(Quaternion) - oo_quaternionAtIndex:

Detailed Description

Definition at line 50 of file OOCollectionExtractors.h.

Method Documentation

◆ oo_arrayAtIndex:

- (NSArray *) oo_arrayAtIndex: (NSUInteger) index

Definition at line 306 of file OOCollectionExtractors.m.

306 :(NSUInteger)index
307{
308 return [self oo_arrayAtIndex:index defaultValue:nil];
309}

References oo_arrayAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_arrayAtIndex:defaultValue:

- (NSArray *) oo_arrayAtIndex: (NSUInteger) index
defaultValue: (NSArray*) value 

Definition at line 164 of file OOCollectionExtractors.m.

164 :(NSUInteger)index defaultValue:(NSArray*)value
165{
166 return [self oo_objectOfClass:[NSArray class] atIndex:index defaultValue:value];
167}

References oo_objectOfClass:atIndex:defaultValue:.

Referenced by oo_arrayAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_boolAtIndex:

- (BOOL) oo_boolAtIndex: (NSUInteger) index

Definition at line 256 of file OOCollectionExtractors.m.

256 :(NSUInteger)index
257{
258 return [self oo_boolAtIndex:index defaultValue:NO];
259}

References oo_boolAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_boolAtIndex:defaultValue:

- (BOOL) oo_boolAtIndex: (NSUInteger) index
defaultValue: (BOOL) value 

Definition at line 101 of file OOCollectionExtractors.m.

101 :(NSUInteger)index defaultValue:(BOOL)value
102{
103 return OOBooleanFromObject([self oo_objectAtIndex:index], value);
104}
BOOL OOBooleanFromObject(id object, BOOL defaultValue)

References OOBooleanFromObject().

Referenced by oo_boolAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_charAtIndex:

- (char) oo_charAtIndex: (NSUInteger) index

Definition at line 196 of file OOCollectionExtractors.m.

196 :(NSUInteger)index
197{
198 return [self oo_charAtIndex:index defaultValue:0];
199}

References oo_charAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_charAtIndex:defaultValue:

- (char) oo_charAtIndex: (NSUInteger) index
defaultValue: (char) value 

Definition at line 41 of file OOCollectionExtractors.m.

41 :(NSUInteger)index defaultValue:(char)value
42{
43 return OOCharFromObject([self oo_objectAtIndex:index], value);
44}

Referenced by oo_charAtIndex:.

Here is the caller graph for this function:

◆ oo_dataAtIndex:

- (NSData *) oo_dataAtIndex: (NSUInteger) index

Definition at line 321 of file OOCollectionExtractors.m.

321 :(NSUInteger)index
322{
323 return [self oo_dataAtIndex:index defaultValue:nil];
324}

References oo_dataAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_dataAtIndex:defaultValue:

- (NSData *) oo_dataAtIndex: (NSUInteger) index
defaultValue: (NSData*) value 

Definition at line 179 of file OOCollectionExtractors.m.

179 :(NSUInteger)index defaultValue:(NSData*)value
180{
181 return [self oo_objectOfClass:[NSData class] atIndex:index defaultValue:value];
182}

References oo_objectOfClass:atIndex:defaultValue:.

Referenced by oo_dataAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_dictionaryAtIndex:

- (NSDictionary *) oo_dictionaryAtIndex: (NSUInteger) index

Definition at line 316 of file OOCollectionExtractors.m.

316 :(NSUInteger)index
317{
318 return [self oo_dictionaryAtIndex:index defaultValue:nil];
319}

References oo_dictionaryAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_dictionaryAtIndex:defaultValue:

- (NSDictionary *) oo_dictionaryAtIndex: (NSUInteger) index
defaultValue: (NSDictionary*) value 

Definition at line 174 of file OOCollectionExtractors.m.

174 :(NSUInteger)index defaultValue:(NSDictionary*)value
175{
176 return [self oo_objectOfClass:[NSDictionary class] atIndex:index defaultValue:value];
177}

References oo_objectOfClass:atIndex:defaultValue:.

Referenced by oo_dictionaryAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_doubleAtIndex:

- (double) oo_doubleAtIndex: (NSUInteger) index

Definition at line 273 of file OOCollectionExtractors.m.

273 :(NSUInteger)index
274{
275 return OODoubleFromObject([self oo_objectAtIndex:index], 0.0);
276}
double OODoubleFromObject(id object, double defaultValue)

References OODoubleFromObject().

Here is the call graph for this function:

◆ oo_doubleAtIndex:defaultValue:

- (double) oo_doubleAtIndex: (NSUInteger) index
defaultValue: (double) value 

Definition at line 118 of file OOCollectionExtractors.m.

118 :(NSUInteger)index defaultValue:(double)value
119{
120 return OODoubleFromObject([self oo_objectAtIndex:index], value);
121}

References OODoubleFromObject().

Here is the call graph for this function:

◆ oo_floatAtIndex:

- (float) oo_floatAtIndex: (NSUInteger) index

Definition at line 268 of file OOCollectionExtractors.m.

268 :(NSUInteger)index
269{
270 return OOFloatFromObject([self oo_objectAtIndex:index], 0.0f);
271}
float OOFloatFromObject(id object, float defaultValue)

References OOFloatFromObject().

Here is the call graph for this function:

◆ oo_floatAtIndex:defaultValue:

- (float) oo_floatAtIndex: (NSUInteger) index
defaultValue: (float) value 

Definition at line 113 of file OOCollectionExtractors.m.

113 :(NSUInteger)index defaultValue:(float)value
114{
115 return OOFloatFromObject([self oo_objectAtIndex:index], value);
116}

References OOFloatFromObject().

Here is the call graph for this function:

◆ oo_fuzzyBooleanAtIndex:

- (BOOL) oo_fuzzyBooleanAtIndex: (NSUInteger) index

Definition at line 262 of file OOCollectionExtractors.m.

262 :(NSUInteger)index
263{
264 return [self oo_fuzzyBooleanAtIndex:index defaultValue:0.0f];
265}

References oo_fuzzyBooleanAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_fuzzyBooleanAtIndex:defaultValue:

- (BOOL) oo_fuzzyBooleanAtIndex: (NSUInteger) index
defaultValue: (float) value 

Definition at line 107 of file OOCollectionExtractors.m.

107 :(NSUInteger)index defaultValue:(float)value
108{
109 return OOFuzzyBooleanFromObject([self oo_objectAtIndex:index], value);
110}
BOOL OOFuzzyBooleanFromObject(id object, float defaultValue)

References OOFuzzyBooleanFromObject().

Referenced by oo_fuzzyBooleanAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_intAtIndex:

- (int) oo_intAtIndex: (NSUInteger) index

Definition at line 206 of file OOCollectionExtractors.m.

206 :(NSUInteger)index
207{
208 return [self oo_intAtIndex:index defaultValue:0];
209}

References int(), and oo_intAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_intAtIndex:defaultValue:

- (int) oo_intAtIndex: (NSUInteger) index
defaultValue: (int) value 

Definition at line 51 of file OOCollectionExtractors.m.

51 :(NSUInteger)index defaultValue:(int)value
52{
53 return OOIntFromObject([self oo_objectAtIndex:index], value);
54}
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque

References int().

Referenced by oo_intAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_integerAtIndex:

- (NSInteger) oo_integerAtIndex: (NSUInteger) index

Definition at line 221 of file OOCollectionExtractors.m.

221 :(NSUInteger)index
222{
223 return [self oo_integerAtIndex:index defaultValue:0];
224}

References oo_integerAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_integerAtIndex:defaultValue:

- (NSInteger) oo_integerAtIndex: (NSUInteger) index
defaultValue: (NSInteger) value 

Definition at line 66 of file OOCollectionExtractors.m.

66 :(NSUInteger)index defaultValue:(NSInteger)value
67{
68 return OOIntegerFromObject([self oo_objectAtIndex:index], value);
69}
OOINLINE NSInteger OOIntegerFromObject(id object, NSInteger defaultValue)

References OOIntegerFromObject().

Referenced by oo_integerAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_longAtIndex:

- (long) oo_longAtIndex: (NSUInteger) index

Definition at line 211 of file OOCollectionExtractors.m.

211 :(NSUInteger)index
212{
213 return [self oo_longAtIndex:index defaultValue:0];
214}

References long(), and oo_longAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_longAtIndex:defaultValue:

- (long) oo_longAtIndex: (NSUInteger) index
defaultValue: (long) value 

Definition at line 56 of file OOCollectionExtractors.m.

56 :(NSUInteger)index defaultValue:(long)value
57{
58 return OOLongFromObject([self oo_objectAtIndex:index], value);
59}
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque

References long().

Referenced by oo_longAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_longLongAtIndex:

- (long long) oo_longLongAtIndex: (NSUInteger) index

Definition at line 216 of file OOCollectionExtractors.m.

216 :(NSUInteger)index
217{
218 return [self oo_longLongAtIndex:index defaultValue:0];
219}

References long(), and oo_longLongAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_longLongAtIndex:defaultValue:

- (long long) oo_longLongAtIndex: (NSUInteger) index
defaultValue: (long long) value 

Definition at line 61 of file OOCollectionExtractors.m.

61 :(NSUInteger)index defaultValue:(long long)value
62{
63 return OOLongLongFromObject([self oo_objectAtIndex:index], value);
64}
long long OOLongLongFromObject(id object, long long defaultValue)

References long(), and OOLongLongFromObject().

Referenced by oo_longLongAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_nonNegativeDoubleAtIndex:

- (double) oo_nonNegativeDoubleAtIndex: (NSUInteger) index

Definition at line 283 of file OOCollectionExtractors.m.

283 :(NSUInteger)index
284{
285 return OONonNegativeDoubleFromObject([self oo_objectAtIndex:index], 0.0);
286}
double OONonNegativeDoubleFromObject(id object, double defaultValue)

References OONonNegativeDoubleFromObject().

Here is the call graph for this function:

◆ oo_nonNegativeDoubleAtIndex:defaultValue:

- (double) oo_nonNegativeDoubleAtIndex: (NSUInteger) index
defaultValue: (double) value 

Definition at line 128 of file OOCollectionExtractors.m.

128 :(NSUInteger)index defaultValue:(double)value
129{
130 return OONonNegativeDoubleFromObject([self oo_objectAtIndex:index], value);
131}

References OONonNegativeDoubleFromObject().

Here is the call graph for this function:

◆ oo_nonNegativeFloatAtIndex:

- (float) oo_nonNegativeFloatAtIndex: (NSUInteger) index

Definition at line 278 of file OOCollectionExtractors.m.

278 :(NSUInteger)index
279{
280 return OONonNegativeFloatFromObject([self oo_objectAtIndex:index], 0.0f);
281}
float OONonNegativeFloatFromObject(id object, float defaultValue)

References OONonNegativeFloatFromObject().

Here is the call graph for this function:

◆ oo_nonNegativeFloatAtIndex:defaultValue:

- (float) oo_nonNegativeFloatAtIndex: (NSUInteger) index
defaultValue: (float) value 

Definition at line 123 of file OOCollectionExtractors.m.

123 :(NSUInteger)index defaultValue:(float)value
124{
125 return OONonNegativeFloatFromObject([self oo_objectAtIndex:index], value);
126}

References OONonNegativeFloatFromObject().

Here is the call graph for this function:

◆ oo_objectAtIndex:

- (id) oo_objectAtIndex: (NSUInteger) index

Definition at line 288 of file OOCollectionExtractors.m.

288 :(NSUInteger)index
289{
290 if (index < [self count])
291 return [self objectAtIndex:index];
292 else
293 return nil;
294}
unsigned count
return nil

References count, and nil.

Referenced by oo_objectAtIndex:defaultValue:, and oo_objectOfClass:atIndex:defaultValue:.

Here is the caller graph for this function:

◆ oo_objectAtIndex:defaultValue:

- (id) oo_objectAtIndex: (NSUInteger) index
defaultValue: (id) value 

Definition at line 133 of file OOCollectionExtractors.m.

133 :(NSUInteger)index defaultValue:(id)value
134{
135 id objVal = [self oo_objectAtIndex:index];
136 id result;
137
138 if (objVal != nil)
139 result = objVal;
140 else
141 result = value;
142
143 return result;
144}

References nil, and oo_objectAtIndex:.

Here is the call graph for this function:

◆ oo_objectOfClass:atIndex:

- (id) oo_objectOfClass: (Class) class
atIndex: (NSUInteger) index 

Definition at line 296 of file OOCollectionExtractors.m.

296 :(Class)class atIndex:(NSUInteger)index
297{
298 return [self oo_objectOfClass:class atIndex:index defaultValue:nil];
299}

References oo_objectOfClass:atIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_objectOfClass:atIndex:defaultValue:

- (id) oo_objectOfClass: (Class) class
atIndex: (NSUInteger) index
defaultValue: (id) value 

Definition at line 146 of file OOCollectionExtractors.m.

146 :(Class)class atIndex:(NSUInteger)index defaultValue:(id)value
147{
148 id objVal = [self oo_objectAtIndex:index];
149 NSString* result;
150
151 if ([objVal isKindOfClass:class])
152 result = objVal;
153 else
154 result = value;
155
156 return result;
157}

References oo_objectAtIndex:.

Referenced by oo_arrayAtIndex:defaultValue:, oo_dataAtIndex:defaultValue:, oo_dictionaryAtIndex:defaultValue:, and oo_objectOfClass:atIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_quaternionAtIndex:

- (Quaternion) oo_quaternionAtIndex: (NSUInteger) index

Definition at line 332 of file OOCollectionExtractors.m.

332 :(NSUInteger)index
333{
334 return [self oo_quaternionAtIndex:index defaultValue:kIdentityQuaternion];
335}

References oo_quaternionAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_quaternionAtIndex:defaultValue:

- (Quaternion) oo_quaternionAtIndex: (NSUInteger) index
defaultValue: (Quaternion) value 

Definition at line 190 of file OOCollectionExtractors.m.

190 :(NSUInteger)index defaultValue:(Quaternion)value
191{
192 return OOQuaternionFromObject([self oo_objectAtIndex:index], value);
193}
Quaternion OOQuaternionFromObject(id object, Quaternion defaultValue)
struct Quaternion Quaternion

References OOQuaternionFromObject().

Referenced by oo_quaternionAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_setAtIndex:

- (NSSet *) oo_setAtIndex: (NSUInteger) index

Definition at line 311 of file OOCollectionExtractors.m.

311 :(NSUInteger)index
312{
313 return [self oo_setAtIndex:index defaultValue:nil];
314}

References oo_setAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_setAtIndex:defaultValue:

- (NSSet *) oo_setAtIndex: (NSUInteger) index
defaultValue: (NSSet*) value 

Definition at line 169 of file OOCollectionExtractors.m.

169 :(NSUInteger)index defaultValue:(NSSet*)value
170{
171 return SetForObject([self oo_objectAtIndex:index], value);
172}
static NSSet * SetForObject(id object, NSSet *defaultValue)

References SetForObject().

Referenced by oo_setAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_shortAtIndex:

- (short) oo_shortAtIndex: (NSUInteger) index

Definition at line 201 of file OOCollectionExtractors.m.

201 :(NSUInteger)index
202{
203 return [self oo_shortAtIndex:index defaultValue:0];
204}

References oo_shortAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_shortAtIndex:defaultValue:

- (short) oo_shortAtIndex: (NSUInteger) index
defaultValue: (short) value 

Definition at line 46 of file OOCollectionExtractors.m.

46 :(NSUInteger)index defaultValue:(short)value
47{
48 return OOShortFromObject([self oo_objectAtIndex:index], value);
49}

Referenced by oo_shortAtIndex:.

Here is the caller graph for this function:

◆ oo_stringAtIndex:

- (NSString *) oo_stringAtIndex: (NSUInteger) index

Definition at line 301 of file OOCollectionExtractors.m.

301 :(NSUInteger)index
302{
303 return [self oo_stringAtIndex:index defaultValue:nil];
304}

References oo_stringAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_stringAtIndex:defaultValue:

- (NSString *) oo_stringAtIndex: (NSUInteger) index
defaultValue: (NSString*) value 

Definition at line 159 of file OOCollectionExtractors.m.

159 :(NSUInteger)index defaultValue:(NSString*)value
160{
161 return StringForObject([self oo_objectAtIndex:index], value);
162}
static NSString * StringForObject(id object, NSString *defaultValue)

References StringForObject().

Referenced by oo_stringAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_unsignedCharAtIndex:

- (unsigned char) oo_unsignedCharAtIndex: (NSUInteger) index

Definition at line 226 of file OOCollectionExtractors.m.

226 :(NSUInteger)index
227{
228 return [self oo_unsignedCharAtIndex:index defaultValue:0];
229}

References oo_unsignedCharAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedCharAtIndex:defaultValue:

- (unsigned char) oo_unsignedCharAtIndex: (NSUInteger) index
defaultValue: (unsigned char) value 

Definition at line 71 of file OOCollectionExtractors.m.

71 :(NSUInteger)index defaultValue:(unsigned char)value
72{
73 return OOUnsignedCharFromObject([self oo_objectAtIndex:index], value);
74}

Referenced by oo_unsignedCharAtIndex:.

Here is the caller graph for this function:

◆ oo_unsignedIntAtIndex:

- (unsigned int) oo_unsignedIntAtIndex: (NSUInteger) index

Definition at line 236 of file OOCollectionExtractors.m.

236 :(NSUInteger)index
237{
238 return [self oo_unsignedIntAtIndex:index defaultValue:0];
239}

References int(), and oo_unsignedIntAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedIntAtIndex:defaultValue:

- (unsigned int) oo_unsignedIntAtIndex: (NSUInteger) index
defaultValue: (unsigned int) value 

Definition at line 81 of file OOCollectionExtractors.m.

81 :(NSUInteger)index defaultValue:(unsigned int)value
82{
83 return OOUnsignedIntFromObject([self oo_objectAtIndex:index], value);
84}

References int().

Referenced by oo_unsignedIntAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_unsignedIntegerAtIndex:

- (NSUInteger) oo_unsignedIntegerAtIndex: (NSUInteger) index

Definition at line 251 of file OOCollectionExtractors.m.

251 :(NSUInteger)index
252{
253 return [self oo_unsignedIntegerAtIndex:index defaultValue:0];
254}

References oo_unsignedIntegerAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedIntegerAtIndex:defaultValue:

- (NSUInteger) oo_unsignedIntegerAtIndex: (NSUInteger) index
defaultValue: (NSUInteger) value 

Definition at line 96 of file OOCollectionExtractors.m.

96 :(NSUInteger)index defaultValue:(NSUInteger)value
97{
98 return OOUIntegerFromObject([self oo_objectAtIndex:index], value);
99}
OOINLINE NSInteger OOUIntegerFromObject(id object, NSUInteger defaultValue)

References OOUIntegerFromObject().

Referenced by oo_unsignedIntegerAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_unsignedLongAtIndex:

- (unsigned long) oo_unsignedLongAtIndex: (NSUInteger) index

Definition at line 241 of file OOCollectionExtractors.m.

241 :(NSUInteger)index
242{
243 return [self oo_unsignedLongAtIndex:index defaultValue:0];
244}

References long(), and oo_unsignedLongAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedLongAtIndex:defaultValue:

- (unsigned long) oo_unsignedLongAtIndex: (NSUInteger) index
defaultValue: (unsigned long) value 

Definition at line 86 of file OOCollectionExtractors.m.

86 :(NSUInteger)index defaultValue:(unsigned long)value
87{
88 return OOUnsignedLongFromObject([self oo_objectAtIndex:index], value);
89}

References long().

Referenced by oo_unsignedLongAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_unsignedLongLongAtIndex:

- (unsigned long long) oo_unsignedLongLongAtIndex: (NSUInteger) index

Definition at line 246 of file OOCollectionExtractors.m.

246 :(NSUInteger)index
247{
248 return [self oo_unsignedLongLongAtIndex:index defaultValue:0];
249}

References long(), and oo_unsignedLongLongAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedLongLongAtIndex:defaultValue:

- (unsigned long long) oo_unsignedLongLongAtIndex: (NSUInteger) index
defaultValue: (unsigned long long) value 

Definition at line 91 of file OOCollectionExtractors.m.

91 :(NSUInteger)index defaultValue:(unsigned long long)value
92{
93 return OOUnsignedLongLongFromObject([self oo_objectAtIndex:index], value);
94}
unsigned long long OOUnsignedLongLongFromObject(id object, unsigned long long defaultValue)

References long(), and OOUnsignedLongLongFromObject().

Referenced by oo_unsignedLongLongAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_unsignedShortAtIndex:

- (unsigned short) oo_unsignedShortAtIndex: (NSUInteger) index

Definition at line 231 of file OOCollectionExtractors.m.

231 :(NSUInteger)index
232{
233 return [self oo_unsignedShortAtIndex:index defaultValue:0];
234}

References oo_unsignedShortAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedShortAtIndex:defaultValue:

- (unsigned short) oo_unsignedShortAtIndex: (NSUInteger) index
defaultValue: (unsigned short) value 

Definition at line 76 of file OOCollectionExtractors.m.

76 :(NSUInteger)index defaultValue:(unsigned short)value
77{
78 return OOUnsignedShortFromObject([self oo_objectAtIndex:index], value);
79}

Referenced by oo_unsignedShortAtIndex:.

Here is the caller graph for this function:

◆ oo_vectorAtIndex:

- (Vector) oo_vectorAtIndex: (NSUInteger) index

Definition at line 327 of file OOCollectionExtractors.m.

327 :(NSUInteger)index
328{
329 return [self oo_vectorAtIndex:index defaultValue:kZeroVector];
330}

References oo_vectorAtIndex:defaultValue:.

Here is the call graph for this function:

◆ oo_vectorAtIndex:defaultValue:

- (Vector) oo_vectorAtIndex: (NSUInteger) index
defaultValue: (Vector) value 

Definition at line 185 of file OOCollectionExtractors.m.

185 :(NSUInteger)index defaultValue:(Vector)value
186{
187 return OOVectorFromObject([self oo_objectAtIndex:index], value);
188}
Vector OOVectorFromObject(id object, Vector defaultValue)
struct Vector Vector

References OOVectorFromObject().

Referenced by oo_vectorAtIndex:.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this category was generated from the following files: