Allocated vector list of a specified type. More...
#include <vector.h>
Public Member Functions | |
vectorbuf () | |
Construct fixed sized vector object in heap or stack. | |
T * | get (int index) |
Get object pointer of specified type from fixed vector. | |
T * | operator() (vectorsize_t position) |
Retrieve a typed member of the fixed vector directly. | |
T * | begin (void) |
Get the first typed object pointer contained in the fixed vector. | |
T * | end (void) |
Get the last typed object pointer contained in the fixed vector. | |
Vector & | operator+ (Vector &vector) |
Concatenate fixed typed vector in an expression. |
Allocated vector list of a specified type.
This analogous to the stringbuf class and allows one to create a vector with it's member list as a single object that can live in the heap or that can be created at once and used as a auto variable.
Definition at line 650 of file vector.h.
T* ucc::vectorbuf< T, S >::begin | ( | void | ) | [inline] |
T* ucc::vectorbuf< T, S >::end | ( | void | ) | [inline] |
T* ucc::vectorbuf< T, S >::get | ( | int | index | ) | [inline] |
T* ucc::vectorbuf< T, S >::operator() | ( | vectorsize_t | position | ) | [inline] |
Retrieve a typed member of the fixed vector directly.
position | to retrieve object from. |
Reimplemented from ucc::Vector.
Vector& ucc::vectorbuf< T, S >::operator+ | ( | Vector & | vector | ) | [inline] |