|
| HVector (const HVector< T > &rOther) |
| copy constructor
|
|
| HVector (const std::vector< T > &rOther) |
|
void | clear () |
| Clear the array.
|
|
void | reserve (size_t s) |
| Reserve capacity for the array.
|
|
void | resize (size_t s) |
| Resize the array, keeping old data if any.
|
|
void | resize (size_t s, const T &defaultValue) |
| Resize the array, initializing all values to defaultValue.
|
|
void | append (const T &data) |
| Append data.
|
|
void | assign_from (const T *pData, size_t count) |
| Assign from C-array param [in] pData A pointer to the array param [in] count The number of elements to copy from the array.
|
|
const T & | operator[] (size_t i) const |
|
T & | operator[] (size_t i) |
|
const T & | last () const |
|
T & | last () |
|
const T & | first () const |
|
T & | first () |
|
size_t | size () const |
| Returns the number of elements in the array.
|
|
size_t | capacity () const |
| Returns the reserved number of element slots in the array.
|
|
bool | empty () const |
| Check if the array is empty.
|
|
bool | contains (const T &data) const |
|
HVector< T > & | operator= (const HVector< T > &rhs) |
|
T * | data () |
|