|
Public Types |
|
typedef std::list< T >::iterator | HListIterator |
Public Member Functions |
| ErrCode | AddHead (const T &tData) |
| | Add the given element to the front (head) of the list.
|
| ErrCode | AddTail (const T &tData) |
| | Add the given data to the end (tail) of the list.
|
| ErrCode | InsertAfter (const T &tAfter, const T &tData) |
| | Inserts an element after an existing element.
|
| ErrCode | Remove (const T &tData) |
| | Removes an element from the list.
|
| ErrCode | RemoveAll (void) |
| | Removes all elements from the list.
|
| ErrCode | RemoveDuplicates (void) |
| | Removes all duplicate elements from the list.
|
| ErrCode | RemoveHead (void) |
| | Removes the first (head) node from the list.
|
| ErrCode | RemoveTail (void) |
| | Removes the last (tail) node from the list.
|
| ErrCode | Sort (void) |
| | Sorts the list into order.
|
| const T & | GetHead (void) const throw () |
| | Returns the head (first) element of the list.
|
| uint32 | GetSize (void) const |
| | Returns a count of elements in the list.
|
| const T & | GetTail (void) const throw () |
| | Returns the tail (last) element of the list.
|
| bool | Contains (const T &tData) const throw () |
| | Evaluates to true if the data is already present in the list.
|
| bool | IsEmpty (void) const |
| | Tests whether the list is empty (zero-length) or not.
|
| bool | IsNotEmpty (void) const |
| | Tests whether the list is not empty, i.e., has at least one element.
|