Up

NSValue class reference

Authors

Adam Fedor (fedor@boulder.colorado.edu)
Richard frith-Macdonald (rfm@gnu.org)

Version: 1.32

Date: 2003/07/31 23:49:32

Copyright: (C) 1993, 1994, 1996, 1999 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSNumber class
  2. Software documentation for the NSValue class
  3. Software documentation for the NSNumber(GSCategories) category
  4. Software documentation for the NSValue(Subclassing) category

Software documentation for the NSNumber class

NSNumber : NSValue

Declared in:
Foundation/NSValue.h
Conforms to:
NSCopying
NSCoding
Standards:

Description forthcoming.

Method summary

numberWithBool: 

+ (NSNumber*) numberWithBool: (BOOL)value;

Description forthcoming.


numberWithChar: 

+ (NSNumber*) numberWithChar: (signed char)value;

Description forthcoming.


numberWithDouble: 

+ (NSNumber*) numberWithDouble: (double)value;

Description forthcoming.


numberWithFloat: 

+ (NSNumber*) numberWithFloat: (float)value;

Description forthcoming.


numberWithInt: 

+ (NSNumber*) numberWithInt: (signed int)value;

Description forthcoming.


numberWithLong: 

+ (NSNumber*) numberWithLong: (signed long)value;

Description forthcoming.


numberWithLongLong: 

+ (NSNumber*) numberWithLongLong: (signed long long)value;

Description forthcoming.


numberWithShort: 

+ (NSNumber*) numberWithShort: (signed short)value;

Description forthcoming.


numberWithUnsignedChar: 

+ (NSNumber*) numberWithUnsignedChar: (unsigned char)value;

Description forthcoming.


numberWithUnsignedInt: 

+ (NSNumber*) numberWithUnsignedInt: (unsigned int)value;

Description forthcoming.


numberWithUnsignedLong: 

+ (NSNumber*) numberWithUnsignedLong: (unsigned long)value;

Description forthcoming.


numberWithUnsignedLongLong: 

+ (NSNumber*) numberWithUnsignedLongLong: (unsigned long long)value;

Description forthcoming.


numberWithUnsignedShort: 

+ (NSNumber*) numberWithUnsignedShort: (unsigned short)value;

Description forthcoming.


boolValue 

- (BOOL) boolValue;

Description forthcoming.


charValue 

- (signed char) charValue;

Description forthcoming.


compare: 

- (NSComparisonResult) compare: (NSNumber*)otherNumber;

Description forthcoming.


description 

- (NSString*) description;

Description forthcoming.


descriptionWithLocale: 

- (NSString*) descriptionWithLocale: (NSDictionary*)locale;

Description forthcoming.


doubleValue 

- (double) doubleValue;

Description forthcoming.


floatValue 

- (float) floatValue;

Description forthcoming.


initWithBool: 

- (id) initWithBool: (BOOL)value;

Description forthcoming.


initWithChar: 

- (id) initWithChar: (signed char)value;

Description forthcoming.


initWithDouble: 

- (id) initWithDouble: (double)value;

Description forthcoming.


initWithFloat: 

- (id) initWithFloat: (float)value;

Description forthcoming.


initWithInt: 

- (id) initWithInt: (signed int)value;

Description forthcoming.


initWithLong: 

- (id) initWithLong: (signed long)value;

Description forthcoming.


initWithLongLong: 

- (id) initWithLongLong: (signed long long)value;

Description forthcoming.


initWithShort: 

- (id) initWithShort: (signed short)value;

Description forthcoming.


initWithUnsignedChar: 

- (id) initWithUnsignedChar: (unsigned char)value;

Description forthcoming.


initWithUnsignedInt: 

- (id) initWithUnsignedInt: (unsigned int)value;

Description forthcoming.


initWithUnsignedLong: 

- (id) initWithUnsignedLong: (unsigned long)value;

Description forthcoming.


initWithUnsignedLongLong: 

- (id) initWithUnsignedLongLong: (unsigned long long)value;

Description forthcoming.


initWithUnsignedShort: 

- (id) initWithUnsignedShort: (unsigned short)value;

Description forthcoming.


intValue 

- (signed int) intValue;

Description forthcoming.


isEqualToNumber: 

- (BOOL) isEqualToNumber: (NSNumber*)otherNumber;

Description forthcoming.


longLongValue 

- (signed long long) longLongValue;

Description forthcoming.


longValue 

- (signed long) longValue;

Description forthcoming.


shortValue 

- (signed short) shortValue;

Description forthcoming.


stringValue 

- (NSString*) stringValue;

Description forthcoming.


unsignedCharValue 

- (unsigned char) unsignedCharValue;

Description forthcoming.


unsignedIntValue 

- (unsigned int) unsignedIntValue;

Description forthcoming.


unsignedLongLongValue 

- (unsigned long long) unsignedLongLongValue;

Description forthcoming.


unsignedLongValue 

- (unsigned long) unsignedLongValue;

Description forthcoming.


unsignedShortValue 

- (unsigned short) unsignedShortValue;

Description forthcoming.


Software documentation for the NSValue class

NSValue : NSObject

Declared in:
Foundation/NSValue.h
Conforms to:
NSCopying
NSCoding
Standards:

Description forthcoming.

Method summary

value: withObjCType: 

+ (NSValue*) value: (const void*)value withObjCType: (const char*)type;

Description forthcoming.


valueWithBytes: objCType: 

+ (NSValue*) valueWithBytes: (const void*)value objCType: (const char*)type;

Description forthcoming.


valueWithNonretainedObject: 

+ (NSValue*) valueWithNonretainedObject: (id)anObject;

Description forthcoming.


valueWithPoint: 

+ (NSValue*) valueWithPoint: (NSPoint)point;

Description forthcoming.


valueWithPointer: 

+ (NSValue*) valueWithPointer: (const void*)pointer;

Description forthcoming.


valueWithRange: 

+ (NSValue*) valueWithRange: (NSRange)range;

Description forthcoming.


valueWithRect: 

+ (NSValue*) valueWithRect: (NSRect)rect;

Description forthcoming.


valueWithSize: 

+ (NSValue*) valueWithSize: (NSSize)size;

Description forthcoming.


getValue: 

- (void) getValue: (void*)value;

Description forthcoming.


initWithBytes: objCType: 

- (id) initWithBytes: (const void*)data objCType: (const char*)type;

Description forthcoming.


isEqualToValue: 

- (BOOL) isEqualToValue: (NSValue*)other;

Description forthcoming.


nonretainedObjectValue 

- (id) nonretainedObjectValue;

Description forthcoming.


objCType 

- (const char*) objCType;

Description forthcoming.


pointValue 

- (NSPoint) pointValue;

Description forthcoming.


pointerValue 

- (void*) pointerValue;

Description forthcoming.


rangeValue 

- (NSRange) rangeValue;

Description forthcoming.


rectValue 

- (NSRect) rectValue;

Description forthcoming.


sizeValue 

- (NSSize) sizeValue;

Description forthcoming.


Software documentation for the NSNumber(GSCategories) category

NSNumber(GSCategories)

Declared in:
Foundation/NSValue.h
Standards:

Description forthcoming.

Method summary

valueFromString: 

+ (NSValue*) valueFromString: (NSString*)string;

Description forthcoming.


Software documentation for the NSValue(Subclassing) category

NSValue(Subclassing)

Declared in:
Foundation/NSValue.h
Standards:

Description forthcoming.

Method summary

valueClassWithObjCType: 

+ (Class) valueClassWithObjCType: (const char*)type;

Description forthcoming.



Up