CWContainer |
This class is a simple placeholder used when doing message threading. A container is composed of a CWMessage instance which might be nil, a parent, child and next CWContainer instances. For a full description of the implemented algorithm, see message threading. Instance variables of this class must be accessed directly (ie., without an accessor) - for performance reasons.
Superclass
NSObject
Declared In
childAtIndex: |
- (CWContainer *) childAtIndex: (unsigned int) theIndex;
The CWContainer instance.
This method is used to get the child at the specified index.
childrenEnumerator |
- (NSEnumerator *) childrenEnumerator;
All children, as a NSEnumerator instance.
This method is used to obtain all children of the receiver.
count |
- (unsigned int) count;
The number of children.
This method is used to obtain the number of children of the receiver.
setChild: |
- (void) setChild: (CWContainer *) theChild;
This method is used to add the specified child to the list of children.
setNext: |
- (void) setNext: (CWContainer *) theNext;
This method is used to set the next element in sibling list.
setParent: |
- (void) setParent: (CWContainer *) theParent;
This method is used to set the parent CWContainer of the receiver.
child |
public
CWContainer *parent, *child, *next;
message |
public
CWMessage *message;
next |
public
CWContainer *parent, *child, *next;
parent |
public
CWContainer *parent, *child, *next;