CPValue Class Reference
[Foundation]

List of all members.

Public Member Functions

(id) - initWithJSObject: [implementation]
(JSObject) - JSObject [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [implementation]

Static Public Member Functions

(id) + valueWithJSObject: [implementation]


Detailed Description

The class can be subclassed to hold different types of scalar values.

Definition at line 32 of file CPValue.j.


Member Function Documentation

- (void) encodeWithCoder: (CPCoder aCoder   [implementation]

Encodes the data into the specified coder.

Parameters:
the coder into which the data will be written.

Definition at line 95 of file CPValue.j.

- (id) initWithCoder: (CPCoder aCoder   [implementation]

Initializes the value from a coder.

Parameters:
aCoder the coder from which to initialize
Returns:
the initialized CPValue

Definition at line 81 of file CPValue.j.

- (id) initWithJSObject: (JSObject)  aJSObject   [implementation]

Initializes the value from a JavaScript object

Parameters:
aJSObject the object to get data from
Returns:
the initialized CPValue

Definition at line 52 of file CPValue.j.

- (JSObject) JSObject   [implementation]

Returns the JavaScript object backing this value.

Definition at line 65 of file CPValue.j.

+ (id) valueWithJSObject: (JSObject)  aJSObject   [implementation]

Creates a value from the specified JavaScript object

Parameters:
aJSObject a JavaScript object containing a value
Returns:
the converted CPValue

Definition at line 42 of file CPValue.j.


The documentation for this class was generated from the following file:

Generated on Wed May 20 12:44:01 2009 for Cappuccino by  doxygen 1.5.8