CPCoder Class Reference
[Foundation]

Defines methods for use when archiving & restoring (enc/decoding). More...

List of all members.

Public Member Functions

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

Detailed Description

Defines methods for use when archiving & restoring (enc/decoding).

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 35 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 131 of file CPCoder.j.

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

Encodes an object.

Parameters:
anObject the object to be encoded.

Definition at line 140 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 65 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 74 of file CPCoder.j.

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

Encodes a point

Parameters:
aPoint the point to be encoded.

Definition at line 83 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 113 of file CPCoder.j.

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

Encodes a CGRect

Parameters:
aRect the rectangle to be encoded.

Definition at line 93 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 122 of file CPCoder.j.

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

Encodes a CGSize

Parameters:
aSize the size to be encoded

Definition at line 103 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 56 of file CPCoder.j.


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

Generated on Fri Apr 9 11:04:21 2010 for Cappuccino API by  doxygen 1.6.1