CPCoder Class Reference
[Foundation]

List of all members.

Public Member Functions

(void) - encodeValueOfObjCType:at: [implementation]
(void) - encodeDataObject: [implementation]
(void) - encodeObject: [implementation]
(void) - encodePoint: [implementation]
(void) - encodeRect: [implementation]
(void) - encodeSize: [implementation]
(void) - encodePropertyList: [implementation]
(void) - encodeRootObject: [implementation]
(void) - encodeBycopyObject: [implementation]
(void) - encodeConditionalObject: [implementation]


Detailed Description

Top-level class defining methods for use when archiving (encoding) objects to a byte array or file, and when restoring (decoding) objects.

Definition at line 33 of file CPCoder.j.


Member Function Documentation

- (void) encodeBycopyObject: (id)  anObject   [implementation]

Encodes an object.

Parameters:
anObject the object to be encoded.

Definition at line 129 of file CPCoder.j.

- (void) encodeConditionalObject: (id)  anObject   [implementation]

Encodes an object.

Parameters:
anObject the object to be encoded.

Definition at line 138 of file CPCoder.j.

- (void) encodeDataObject: (CPData aData   [implementation]

Encodes a data object. Subclasses must override this method.

Parameters:
aData the object to be encoded.

Definition at line 63 of file CPCoder.j.

- (void) encodeObject: (id)  anObject   [implementation]

Encodes an object. Subclasses must override this method.

Parameters:
anObject the object to be encoded

Definition at line 72 of file CPCoder.j.

- (void) encodePoint: (CPPoint)  aPoint   [implementation]

Encodes a point

Parameters:
aPoint the point to be encoded.

Definition at line 81 of file CPCoder.j.

- (void) encodePropertyList: (id)  aPropertyList   [implementation]

Encodes a property list. Not yet implemented.

Parameters:
aPropertyList the property list to be encoded

Definition at line 111 of file CPCoder.j.

- (void) encodeRect: (CGRect)  aRect   [implementation]

Encodes a CGRect

Parameters:
aRect the rectangle to be encoded.

Definition at line 91 of file CPCoder.j.

- (void) encodeRootObject: (id)  anObject   [implementation]

Encodes the root object of a group of Obj-J objects.

Parameters:
rootObject the root object to be encoded.

Definition at line 120 of file CPCoder.j.

- (void) encodeSize: (CPSize)  aSize   [implementation]

Encodes a CGSize

Parameters:
aSize the size to be encoded

Definition at line 101 of file CPCoder.j.

- (void) encodeValueOfObjCType: (CPString aType
at: (id)  anObject 
[implementation]

Encodes a structure or object of a specified type. Usually this is used for primitives though it can be used for objects as well. Subclasses must override this method.

Parameters:
aType the structure or object type
anObject the object to be encoded

Definition at line 54 of file CPCoder.j.


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

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