#import <clist.h>
Public Member Functions | |
| (id) | - initList: |
| Initialize list. | |
| (void) | - dealloc |
| Release resource for the object. | |
| (id) | - setNextNode: |
| Set next node. | |
| (id) | - setPrevNode: |
| Set previous node. | |
| (id) | - obj |
| Get element object. | |
| (id) | - set: |
| Set element object. | |
| (uint_t) | - num |
| Get number of data in list. | |
| (CList *) | - next |
| Get next node. | |
| (CList *) | - prev |
| Get previous node. | |
| (CList *) | - first |
| Get first node of the list. | |
| (CList *) | - last |
| Get last node of the list. | |
| (CList *) | - addObject: |
| Add new next node and set the new element. | |
| (CList *) | - insertObject: |
| Insert new previous node and set the new element. | |
| (CList *) | - appendObject: |
| Append node to last and set the new element. | |
| (CList *) | - prependObject: |
| Prepend node to head of the list and set the new element. | |
Static Public Member Functions | |
| (CList *) | + appendObject:after: |
| Add new object to the tail of the list. | |
| (void) | + link:after: |
| Link src2 list after src1 list. | |
Protected Attributes | |
| id | current_obj |
| CList * | list_next |
| CList * | list_prev |
|
|
Add new next node and set the new element.
|
|
|
Append node to last and set the new element.
|
|
||||||||||||
|
Add new object to the tail of the list.
|
|
|
Release resource for the object.
|
|
|
Get first node of the list.
|
|
|
Initialize list.
|
|
|
Insert new previous node and set the new element.
|
|
|
Get last node of the list.
|
|
||||||||||||
|
Link src2 list after src1 list.
|
|
|
Get next node.
|
|
|
Get number of data in list.
|
|
|
Get element object.
|
|
|
Prepend node to head of the list and set the new element.
|
|
|
Get previous node.
|
|
|
Set element object.
|
|
|
Set next node.
|
|
|
Set previous node.
|
|
|
Content object |
|
|
Pointer for next line |
|
|
Pointer for previous line |
1.4.6