CPCoder Class Reference
List of all members.
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 31 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 127 of file CPCoder.j.
- (void) encodeConditionalObject: |
|
(id) |
anObject |
|
[implementation] |
Encodes an object.
- Parameters:
-
| anObject | the object to be encoded. |
Definition at line 136 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 61 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 70 of file CPCoder.j.
- (void) encodePoint: |
|
(CPPoint) |
aPoint |
|
[implementation] |
Encodes a point
- Parameters:
-
| aPoint | the point to be encoded. |
Definition at line 79 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 109 of file CPCoder.j.
- (void) encodeRect: |
|
(CGRect) |
aRect |
|
[implementation] |
Encodes a CGRect
- Parameters:
-
| aRect | the rectangle to be encoded. |
Definition at line 89 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 118 of file CPCoder.j.
- (void) encodeSize: |
|
(CPSize) |
aSize |
|
[implementation] |
Encodes a CGSize
- Parameters:
-
| aSize | the size to be encoded |
Definition at line 99 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 52 of file CPCoder.j.
The documentation for this class was generated from the following file: