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

#include <OOCollectionExtractors.h>

Instance Methods

(char) - oo_charForKey:defaultValue:
(short) - oo_shortForKey:defaultValue:
(int) - oo_intForKey:defaultValue:
(long) - oo_longForKey:defaultValue:
(long long) - oo_longLongForKey:defaultValue:
(NSInteger) - oo_integerForKey:defaultValue:
(unsigned char) - oo_unsignedCharForKey:defaultValue:
(unsigned short) - oo_unsignedShortForKey:defaultValue:
(unsigned int) - oo_unsignedIntForKey:defaultValue:
(unsigned long) - oo_unsignedLongForKey:defaultValue:
(unsigned long long) - oo_unsignedLongLongForKey:defaultValue:
(NSUInteger) - oo_unsignedIntegerForKey:defaultValue:
(BOOL) - oo_boolForKey:defaultValue:
(BOOL) - oo_fuzzyBooleanForKey:defaultValue:
(float) - oo_floatForKey:defaultValue:
(double) - oo_doubleForKey:defaultValue:
(float) - oo_nonNegativeFloatForKey:defaultValue:
(double) - oo_nonNegativeDoubleForKey:defaultValue:
(id) - oo_objectForKey:defaultValue:
(id) - oo_objectOfClass:forKey:defaultValue:
(NSString *) - oo_stringForKey:defaultValue:
(NSArray *) - oo_arrayForKey:defaultValue:
(NSSet *) - oo_setForKey:defaultValue:
(NSDictionary *) - oo_dictionaryForKey:defaultValue:
(NSMutableDictionary *) - oo_mutableDictionaryForKey:defaultValue:
(NSData *) - oo_dataForKey:defaultValue:
(Vector) - oo_vectorForKey:defaultValue:
(HPVector) - oo_hpvectorForKey:defaultValue:
(Quaternion) - oo_quaternionForKey:defaultValue:
(char) - oo_charForKey:
(short) - oo_shortForKey:
(int) - oo_intForKey:
(long) - oo_longForKey:
(long long) - oo_longLongForKey:
(NSInteger) - oo_integerForKey:
(unsigned char) - oo_unsignedCharForKey:
(unsigned short) - oo_unsignedShortForKey:
(unsigned int) - oo_unsignedIntForKey:
(unsigned long) - oo_unsignedLongForKey:
(unsigned long long) - oo_unsignedLongLongForKey:
(NSUInteger) - oo_unsignedIntegerForKey:
(BOOL) - oo_boolForKey:
(BOOL) - oo_fuzzyBooleanForKey:
(float) - oo_floatForKey:
(double) - oo_doubleForKey:
(float) - oo_nonNegativeFloatForKey:
(double) - oo_nonNegativeDoubleForKey:
(id) - oo_objectOfClass:forKey:
(NSString *) - oo_stringForKey:
(NSArray *) - oo_arrayForKey:
(NSSet *) - oo_setForKey:
(NSDictionary *) - oo_dictionaryForKey:
(NSMutableDictionary *) - oo_mutableDictionaryForKey:
(NSData *) - oo_dataForKey:
(Vector) - oo_vectorForKey:
(HPVector) - oo_hpvectorForKey:
(Quaternion) - oo_quaternionForKey:

Detailed Description

Definition at line 134 of file OOCollectionExtractors.h.

Method Documentation

◆ oo_arrayForKey:

- (NSArray *) oo_arrayForKey: (id) key

Definition at line 609 of file OOCollectionExtractors.m.

609 :(id)key
610{
611 return [self oo_arrayForKey:key defaultValue:nil];
612}

References oo_arrayForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_arrayForKey:defaultValue:

- (NSArray *) oo_arrayForKey: (id) key
defaultValue: (NSArray*) value 

Definition at line 465 of file OOCollectionExtractors.m.

465 :(id)key defaultValue:(NSArray*)value
466{
467 return [self oo_objectOfClass:[NSArray class] forKey:key defaultValue:value];
468}

References oo_objectOfClass:forKey:defaultValue:.

Referenced by oo_arrayForKey:.

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

◆ oo_boolForKey:

- (BOOL) oo_boolForKey: (id) key

Definition at line 567 of file OOCollectionExtractors.m.

567 :(id)key
568{
569 return [self oo_boolForKey:key defaultValue:NO];
570}

References oo_boolForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_boolForKey:defaultValue:

- (BOOL) oo_boolForKey: (id) key
defaultValue: (BOOL) value 

Definition at line 402 of file OOCollectionExtractors.m.

402 :(id)key defaultValue:(BOOL)value
403{
404 return OOBooleanFromObject([self objectForKey:key], value);
405}
BOOL OOBooleanFromObject(id object, BOOL defaultValue)

References OOBooleanFromObject().

Referenced by oo_boolForKey:.

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

◆ oo_charForKey:

- (char) oo_charForKey: (id) key

Definition at line 507 of file OOCollectionExtractors.m.

507 :(id)key
508{
509 return [self oo_charForKey:key defaultValue:0];
510}

References oo_charForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_charForKey:defaultValue:

- (char) oo_charForKey: (id) key
defaultValue: (char) value 

Definition at line 342 of file OOCollectionExtractors.m.

342 :(id)key defaultValue:(char)value
343{
344 return OOCharFromObject([self objectForKey:key], value);
345}

Referenced by oo_charForKey:.

Here is the caller graph for this function:

◆ oo_dataForKey:

- (NSData *) oo_dataForKey: (id) key

Definition at line 629 of file OOCollectionExtractors.m.

629 :(id)key
630{
631 return [self oo_dataForKey:key defaultValue:nil];
632}

References oo_dataForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_dataForKey:defaultValue:

- (NSData *) oo_dataForKey: (id) key
defaultValue: (NSData*) value 

Definition at line 485 of file OOCollectionExtractors.m.

485 :(id)key defaultValue:(NSData*)value
486{
487 return [self oo_objectOfClass:[NSData class] forKey:key defaultValue:value];
488}

References oo_objectOfClass:forKey:defaultValue:.

Referenced by oo_dataForKey:.

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

◆ oo_dictionaryForKey:

- (NSDictionary *) oo_dictionaryForKey: (id) key

Definition at line 619 of file OOCollectionExtractors.m.

619 :(id)key
620{
621 return [self oo_dictionaryForKey:key defaultValue:nil];
622}

References oo_dictionaryForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_dictionaryForKey:defaultValue:

- (NSDictionary *) oo_dictionaryForKey: (id) key
defaultValue: (NSDictionary*) value 

Definition at line 475 of file OOCollectionExtractors.m.

475 :(id)key defaultValue:(NSDictionary*)value
476{
477 return [self oo_objectOfClass:[NSDictionary class] forKey:key defaultValue:value];
478}

References oo_objectOfClass:forKey:defaultValue:.

Referenced by oo_dictionaryForKey:.

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

◆ oo_doubleForKey:

- (double) oo_doubleForKey: (id) key

Definition at line 584 of file OOCollectionExtractors.m.

584 :(id)key
585{
586 return OODoubleFromObject([self objectForKey:key], 0.0);
587}
double OODoubleFromObject(id object, double defaultValue)

References OODoubleFromObject().

Here is the call graph for this function:

◆ oo_doubleForKey:defaultValue:

- (double) oo_doubleForKey: (id) key
defaultValue: (double) value 

Definition at line 419 of file OOCollectionExtractors.m.

419 :(id)key defaultValue:(double)value
420{
421 return OODoubleFromObject([self objectForKey:key], value);
422}

References OODoubleFromObject().

Here is the call graph for this function:

◆ oo_floatForKey:

- (float) oo_floatForKey: (id) key

Definition at line 579 of file OOCollectionExtractors.m.

579 :(id)key
580{
581 return OOFloatFromObject([self objectForKey:key], 0.0f);
582}
float OOFloatFromObject(id object, float defaultValue)

References OOFloatFromObject().

Here is the call graph for this function:

◆ oo_floatForKey:defaultValue:

- (float) oo_floatForKey: (id) key
defaultValue: (float) value 

Definition at line 414 of file OOCollectionExtractors.m.

414 :(id)key defaultValue:(float)value
415{
416 return OOFloatFromObject([self objectForKey:key], value);
417}

References OOFloatFromObject().

Here is the call graph for this function:

◆ oo_fuzzyBooleanForKey:

- (BOOL) oo_fuzzyBooleanForKey: (id) key

Definition at line 573 of file OOCollectionExtractors.m.

573 :(id)key
574{
575 return [self oo_fuzzyBooleanForKey:key defaultValue:0.0f];
576}

References oo_fuzzyBooleanForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_fuzzyBooleanForKey:defaultValue:

- (BOOL) oo_fuzzyBooleanForKey: (id) key
defaultValue: (float) value 

Definition at line 408 of file OOCollectionExtractors.m.

408 :(id)key defaultValue:(float)value
409{
410 return OOFuzzyBooleanFromObject([self objectForKey:key], value);
411}
BOOL OOFuzzyBooleanFromObject(id object, float defaultValue)

References OOFuzzyBooleanFromObject().

Referenced by oo_fuzzyBooleanForKey:.

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

◆ oo_hpvectorForKey:

- (HPVector) oo_hpvectorForKey: (id) key

Definition at line 640 of file OOCollectionExtractors.m.

640 :(id)key
641{
642 return [self oo_hpvectorForKey:key defaultValue:kZeroHPVector];
643}

References oo_hpvectorForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_hpvectorForKey:defaultValue:

- (HPVector) oo_hpvectorForKey: (id) key
defaultValue: (HPVector) value 

Definition at line 496 of file OOCollectionExtractors.m.

496 :(id)key defaultValue:(HPVector)value
497{
498 return OOHPVectorFromObject([self objectForKey:key], value);
499}
HPVector OOHPVectorFromObject(id object, HPVector defaultValue)
struct HPVector HPVector

References OOHPVectorFromObject().

Referenced by oo_hpvectorForKey:.

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

◆ oo_integerForKey:

- (NSInteger) oo_integerForKey: (id) key

Definition at line 532 of file OOCollectionExtractors.m.

532 :(id)key
533{
534 return [self oo_integerForKey:key defaultValue:0];
535}

References oo_integerForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_integerForKey:defaultValue:

- (NSInteger) oo_integerForKey: (id) key
defaultValue: (NSInteger) value 

Definition at line 367 of file OOCollectionExtractors.m.

367 :(id)key defaultValue:(NSInteger)value
368{
369 return OOIntegerFromObject([self objectForKey:key], value);
370}
OOINLINE NSInteger OOIntegerFromObject(id object, NSInteger defaultValue)

References OOIntegerFromObject().

Referenced by oo_integerForKey:.

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

◆ oo_intForKey:

- (int) oo_intForKey: (id) key

Definition at line 517 of file OOCollectionExtractors.m.

517 :(id)key
518{
519 return [self oo_intForKey:key defaultValue:0];
520}

References int(), and oo_intForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_intForKey:defaultValue:

- (int) oo_intForKey: (id) key
defaultValue: (int) value 

Definition at line 352 of file OOCollectionExtractors.m.

352 :(id)key defaultValue:(int)value
353{
354 return OOIntFromObject([self objectForKey:key], value);
355}
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque

References int().

Referenced by oo_intForKey:.

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

◆ oo_longForKey:

- (long) oo_longForKey: (id) key

Definition at line 522 of file OOCollectionExtractors.m.

522 :(id)key
523{
524 return [self oo_longForKey:key defaultValue:0];
525}

References long(), and oo_longForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_longForKey:defaultValue:

- (long) oo_longForKey: (id) key
defaultValue: (long) value 

Definition at line 357 of file OOCollectionExtractors.m.

357 :(id)key defaultValue:(long)value
358{
359 return OOLongFromObject([self objectForKey:key], value);
360}
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque

References long().

Referenced by oo_longForKey:.

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

◆ oo_longLongForKey:

- (long long) oo_longLongForKey: (id) key

Definition at line 527 of file OOCollectionExtractors.m.

527 :(id)key
528{
529 return [self oo_longLongForKey:key defaultValue:0];
530}

References long(), and oo_longLongForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_longLongForKey:defaultValue:

- (long long) oo_longLongForKey: (id) key
defaultValue: (long long) value 

Definition at line 362 of file OOCollectionExtractors.m.

362 :(id)key defaultValue:(long long)value
363{
364 return OOLongLongFromObject([self objectForKey:key], value);
365}
long long OOLongLongFromObject(id object, long long defaultValue)

References long(), and OOLongLongFromObject().

Referenced by oo_longLongForKey:.

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

◆ oo_mutableDictionaryForKey:

- (NSMutableDictionary *) oo_mutableDictionaryForKey: (id) key

Definition at line 624 of file OOCollectionExtractors.m.

624 :(id)key
625{
626 return [self oo_mutableDictionaryForKey:key defaultValue:nil];
627}

References oo_mutableDictionaryForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_mutableDictionaryForKey:defaultValue:

- (NSMutableDictionary *) oo_mutableDictionaryForKey: (id) key
defaultValue: (NSDictionary*) value 

Definition at line 480 of file OOCollectionExtractors.m.

480 :(id)key defaultValue:(NSDictionary*)value
481{
482 return [self oo_objectOfClass:[NSMutableDictionary class] forKey:key defaultValue:value];
483}

References oo_objectOfClass:forKey:defaultValue:.

Referenced by oo_mutableDictionaryForKey:.

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

◆ oo_nonNegativeDoubleForKey:

- (double) oo_nonNegativeDoubleForKey: (id) key

Definition at line 594 of file OOCollectionExtractors.m.

594 :(id)key
595{
596 return OONonNegativeDoubleFromObject([self objectForKey:key], 0.0);
597}
double OONonNegativeDoubleFromObject(id object, double defaultValue)

References OONonNegativeDoubleFromObject().

Here is the call graph for this function:

◆ oo_nonNegativeDoubleForKey:defaultValue:

- (double) oo_nonNegativeDoubleForKey: (id) key
defaultValue: (double) value 

Definition at line 429 of file OOCollectionExtractors.m.

429 :(id)key defaultValue:(double)value
430{
431 return OONonNegativeDoubleFromObject([self objectForKey:key], value);
432}

References OONonNegativeDoubleFromObject().

Here is the call graph for this function:

◆ oo_nonNegativeFloatForKey:

- (float) oo_nonNegativeFloatForKey: (id) key

Definition at line 589 of file OOCollectionExtractors.m.

589 :(id)key
590{
591 return OONonNegativeFloatFromObject([self objectForKey:key], 0.0f);
592}
float OONonNegativeFloatFromObject(id object, float defaultValue)

References OONonNegativeFloatFromObject().

Here is the call graph for this function:

◆ oo_nonNegativeFloatForKey:defaultValue:

- (float) oo_nonNegativeFloatForKey: (id) key
defaultValue: (float) value 

Definition at line 424 of file OOCollectionExtractors.m.

424 :(id)key defaultValue:(float)value
425{
426 return OONonNegativeFloatFromObject([self objectForKey:key], value);
427}

References OONonNegativeFloatFromObject().

Here is the call graph for this function:

◆ oo_objectForKey:defaultValue:

- (id) oo_objectForKey: (id) key
defaultValue: (id) value 

Definition at line 434 of file OOCollectionExtractors.m.

434 :(id)key defaultValue:(id)value
435{
436 id objVal = [self objectForKey:key];
437 id result;
438
439 if (objVal != nil)
440 result = objVal;
441 else
442 result = value;
443
444 return result;
445}
return nil

References nil.

◆ oo_objectOfClass:forKey:

- (id) oo_objectOfClass: (Class) class
forKey: (id) key 

Definition at line 599 of file OOCollectionExtractors.m.

599 :(Class)class forKey:(id)key
600{
601 return [self oo_objectOfClass:class forKey:key defaultValue:nil];
602}

References oo_objectOfClass:forKey:defaultValue:.

Here is the call graph for this function:

◆ oo_objectOfClass:forKey:defaultValue:

- (id) oo_objectOfClass: (Class) class
forKey: (id) key
defaultValue: (id) value 

Definition at line 447 of file OOCollectionExtractors.m.

447 :(Class)class forKey:(id)key defaultValue:(id)value
448{
449 id objVal = [self objectForKey:key];
450 id result;
451
452 if ([objVal isKindOfClass:class])
453 result = objVal;
454 else
455 result = value;
456
457 return result;
458}

Referenced by oo_arrayForKey:defaultValue:, oo_dataForKey:defaultValue:, oo_dictionaryForKey:defaultValue:, oo_mutableDictionaryForKey:defaultValue:, and oo_objectOfClass:forKey:.

Here is the caller graph for this function:

◆ oo_quaternionForKey:

- (Quaternion) oo_quaternionForKey: (id) key

Definition at line 645 of file OOCollectionExtractors.m.

645 :(id)key
646{
647 return [self oo_quaternionForKey:key defaultValue:kIdentityQuaternion];
648}

References oo_quaternionForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_quaternionForKey:defaultValue:

- (Quaternion) oo_quaternionForKey: (id) key
defaultValue: (Quaternion) value 

Definition at line 501 of file OOCollectionExtractors.m.

501 :(id)key defaultValue:(Quaternion)value
502{
503 return OOQuaternionFromObject([self objectForKey:key], value);
504}
Quaternion OOQuaternionFromObject(id object, Quaternion defaultValue)
struct Quaternion Quaternion

References OOQuaternionFromObject().

Referenced by oo_quaternionForKey:.

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

◆ oo_setForKey:

- (NSSet *) oo_setForKey: (id) key

Definition at line 614 of file OOCollectionExtractors.m.

614 :(id)key
615{
616 return [self oo_setForKey:key defaultValue:nil];
617}

References oo_setForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_setForKey:defaultValue:

- (NSSet *) oo_setForKey: (id) key
defaultValue: (NSSet*) value 

Definition at line 470 of file OOCollectionExtractors.m.

470 :(id)key defaultValue:(NSSet*)value
471{
472 return SetForObject([self objectForKey:key], value);
473}
static NSSet * SetForObject(id object, NSSet *defaultValue)

References SetForObject().

Referenced by oo_setForKey:.

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

◆ oo_shortForKey:

- (short) oo_shortForKey: (id) key

Definition at line 512 of file OOCollectionExtractors.m.

512 :(id)key
513{
514 return [self oo_shortForKey:key defaultValue:0];
515}

References oo_shortForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_shortForKey:defaultValue:

- (short) oo_shortForKey: (id) key
defaultValue: (short) value 

Definition at line 347 of file OOCollectionExtractors.m.

347 :(id)key defaultValue:(short)value
348{
349 return OOShortFromObject([self objectForKey:key], value);
350}

Referenced by oo_shortForKey:.

Here is the caller graph for this function:

◆ oo_stringForKey:

- (NSString *) oo_stringForKey: (id) key

Definition at line 604 of file OOCollectionExtractors.m.

604 :(id)key
605{
606 return [self oo_stringForKey:key defaultValue:nil];
607}

References oo_stringForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_stringForKey:defaultValue:

- (NSString *) oo_stringForKey: (id) key
defaultValue: (NSString*) value 

Definition at line 460 of file OOCollectionExtractors.m.

460 :(id)key defaultValue:(NSString*)value
461{
462 return StringForObject([self objectForKey:key], value);
463}
static NSString * StringForObject(id object, NSString *defaultValue)

References StringForObject().

Referenced by oo_stringForKey:.

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

◆ oo_unsignedCharForKey:

- (unsigned char) oo_unsignedCharForKey: (id) key

Definition at line 537 of file OOCollectionExtractors.m.

537 :(id)key
538{
539 return [self oo_unsignedCharForKey:key defaultValue:0];
540}

References oo_unsignedCharForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedCharForKey:defaultValue:

- (unsigned char) oo_unsignedCharForKey: (id) key
defaultValue: (unsigned char) value 

Definition at line 372 of file OOCollectionExtractors.m.

372 :(id)key defaultValue:(unsigned char)value
373{
374 return OOUnsignedCharFromObject([self objectForKey:key], value);
375}

Referenced by oo_unsignedCharForKey:.

Here is the caller graph for this function:

◆ oo_unsignedIntegerForKey:

- (NSUInteger) oo_unsignedIntegerForKey: (id) key

Definition at line 557 of file OOCollectionExtractors.m.

557 :(id)key
558{
559 return [self oo_unsignedIntegerForKey:key defaultValue:0];
560}

References oo_unsignedIntegerForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedIntegerForKey:defaultValue:

- (NSUInteger) oo_unsignedIntegerForKey: (id) key
defaultValue: (NSUInteger) value 

Definition at line 397 of file OOCollectionExtractors.m.

397 :(id)key defaultValue:(NSUInteger)value
398{
399 return OOUIntegerFromObject([self objectForKey:key], value);
400}
OOINLINE NSInteger OOUIntegerFromObject(id object, NSUInteger defaultValue)

References OOUIntegerFromObject().

Referenced by oo_unsignedIntegerForKey:.

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

◆ oo_unsignedIntForKey:

- (unsigned int) oo_unsignedIntForKey: (id) key

Definition at line 547 of file OOCollectionExtractors.m.

547 :(id)key
548{
549 return [self oo_unsignedIntForKey:key defaultValue:0];
550}

References int(), and oo_unsignedIntForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedIntForKey:defaultValue:

- (unsigned int) oo_unsignedIntForKey: (id) key
defaultValue: (unsigned int) value 

Definition at line 382 of file OOCollectionExtractors.m.

382 :(id)key defaultValue:(unsigned int)value
383{
384 return OOUnsignedIntFromObject([self objectForKey:key], value);
385}

References int().

Referenced by oo_unsignedIntForKey:.

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

◆ oo_unsignedLongForKey:

- (unsigned long) oo_unsignedLongForKey: (id) key

Definition at line 552 of file OOCollectionExtractors.m.

552 :(id)key
553{
554 return [self oo_unsignedLongForKey:key defaultValue:0];
555}

References long(), and oo_unsignedLongForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedLongForKey:defaultValue:

- (unsigned long) oo_unsignedLongForKey: (id) key
defaultValue: (unsigned long) value 

Definition at line 387 of file OOCollectionExtractors.m.

387 :(id)key defaultValue:(unsigned long)value
388{
389 return OOUnsignedLongFromObject([self objectForKey:key], value);
390}

References long().

Referenced by oo_unsignedLongForKey:.

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

◆ oo_unsignedLongLongForKey:

- (unsigned long long) oo_unsignedLongLongForKey: (id) key

Definition at line 562 of file OOCollectionExtractors.m.

562 :(id)key
563{
564 return [self oo_unsignedLongLongForKey:key defaultValue:0];
565}

References long(), and oo_unsignedLongLongForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedLongLongForKey:defaultValue:

- (unsigned long long) oo_unsignedLongLongForKey: (id) key
defaultValue: (unsigned long long) value 

Definition at line 392 of file OOCollectionExtractors.m.

392 :(id)key defaultValue:(unsigned long long)value
393{
394 return OOUnsignedLongLongFromObject([self objectForKey:key], value);
395}
unsigned long long OOUnsignedLongLongFromObject(id object, unsigned long long defaultValue)

References long(), and OOUnsignedLongLongFromObject().

Referenced by oo_unsignedLongLongForKey:.

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

◆ oo_unsignedShortForKey:

- (unsigned short) oo_unsignedShortForKey: (id) key

Definition at line 542 of file OOCollectionExtractors.m.

542 :(id)key
543{
544 return [self oo_unsignedShortForKey:key defaultValue:0];
545}

References oo_unsignedShortForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_unsignedShortForKey:defaultValue:

- (unsigned short) oo_unsignedShortForKey: (id) key
defaultValue: (unsigned short) value 

Definition at line 377 of file OOCollectionExtractors.m.

377 :(id)key defaultValue:(unsigned short)value
378{
379 return OOUnsignedShortFromObject([self objectForKey:key], value);
380}

Referenced by oo_unsignedShortForKey:.

Here is the caller graph for this function:

◆ oo_vectorForKey:

- (Vector) oo_vectorForKey: (id) key

Definition at line 635 of file OOCollectionExtractors.m.

635 :(id)key
636{
637 return [self oo_vectorForKey:key defaultValue:kZeroVector];
638}

References oo_vectorForKey:defaultValue:.

Here is the call graph for this function:

◆ oo_vectorForKey:defaultValue:

- (Vector) oo_vectorForKey: (id) key
defaultValue: (Vector) value 

Definition at line 491 of file OOCollectionExtractors.m.

491 :(id)key defaultValue:(Vector)value
492{
493 return OOVectorFromObject([self objectForKey:key], value);
494}
Vector OOVectorFromObject(id object, Vector defaultValue)
struct Vector Vector

References OOVectorFromObject().

Referenced by oo_vectorForKey:.

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: