|
Public Member Functions |
| void | Init (const char *pGroupName, uint32 maxElements, uint32 elementSize=sizeof(T), void *pMem=NULL) |
| | Initialise a pointer list.
|
| void | Deinit () |
| | Deinitialise a pointer list.
|
| T * | Create () |
| | Create a new item.
|
| void | Destroy (T *p) |
| | Destroy an item in the list.
|
| void | Destroy (T **p) |
| | Destroy an item in the list.
|
| T ** | Begin () |
| | Get an iterator pointing to the start of the list.
|
| T ** | Find (T *p) |
| | Find an item in the list.
|
| void | Swap (T **p1, T **p2) |
| | Swap 2 items placement in the list.
|
| void | Clear () |
| | Clear the list.
|
| int | GetLength () |
| | Get the length of the list.
|
| int | GetMaxElements () |
| | Get the maximum length of the list.
|
| bool | IsFull () |
| | Check if the list is full.
|
| bool | IsEmpty () |
| | Check if the list is empty.
|
| T ** | BeginDead () |
| | Get the start of the dead item list.
|