|
Public Types |
typedef std::vector< T
>::iterator | HArrayIterator |
Public Member Functions |
|
| HArray (uint32 uSize=0) |
| ErrCode | Append (const T &tData) |
| | Add the given element to the end of the array, growing if needed.
|
| bool | Contains (const T &tData) const throw () |
| | Evaluates to true if the data is already present in the list.
|
| uint32 | Find (const T &tData) const throw () |
| | Evaluates to true if the data is already present in the list.
|
| ErrCode | InsertAt (uint32 udx, const T &tData, uint32 uCount=1) |
| | Inserts a element in the array, reordering the array as needed.
|
| ErrCode | RemoveAt (uint32 udx) |
| | Deletes a element, closing up the array as needed.
|
| T | GetAt (uint32 udx) const throw () |
| | Returns the nth elements in the array.
|
| ErrCode | SetAll (const T &tData) throw () |
| | Sets all of the elements in the array.
|
| T * | GetPtr (uint32 udx=0) const |
| | Returns the address of the nth elements in the array.
|
| uint32 | GetSize (void) const |
| | Returns the number of elements in the array.
|
| ErrCode | SetAt (uint32 udx, const T &tData) throw () |
| | Sets the nth elements in the array.
|
| ErrCode | SetSize (uint32 uSize) |
| | Sets the number of elements in the array.
|
| 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.
|
| ErrCode | RemoveAll (void) |
| | Removes all elements from the list.
|
Protected Member Functions |
| bool | validIndex (uint32 udx) const |
| | Tests an index for validity.
|