[Previous] [Up]

NSValue

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSValue

NSValue

Declared in: Foundation/NSValue.h

Inherits from: NSObject

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

value:withObjCType:

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

valueWithBytes:objCType:

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

valueWithNonretainedObject:

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

valueWithPoint:

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

valueWithPointer:

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

valueWithRect:

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

valueWithSize:

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


Instances Methods

getValue:

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

initWithBytes:objCType:

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

- (id) ;

nonretainedObjectValue

- (id) nonretainedObjectValue;

objCType

- (const char*) objCType;

pointValue

- (NSPoint) pointValue;

pointerValue

- (void*) pointerValue;

rectValue

- (NSRect) rectValue;

sizeValue

- (NSSize) sizeValue;