ToolMap
|
Public Types | |
typedef T | value_type |
Public Member Functions | |
pod_vector (unsigned cap, unsigned extra_tail=0) | |
pod_vector (const pod_vector< T > &) | |
const pod_vector< T > & | operator= (const pod_vector< T > &) |
void | capacity (unsigned cap, unsigned extra_tail=0) |
unsigned | capacity () const |
void | allocate (unsigned size, unsigned extra_tail=0) |
void | resize (unsigned new_size) |
void | zero () |
void | add (const T &v) |
void | push_back (const T &v) |
void | insert_at (unsigned pos, const T &val) |
void | inc_size (unsigned size) |
unsigned | size () const |
unsigned | byte_size () const |
void | serialize (int8u *ptr) const |
void | deserialize (const int8u *data, unsigned byte_size) |
const T & | operator[] (unsigned i) const |
T & | operator[] (unsigned i) |
const T & | at (unsigned i) const |
T & | at (unsigned i) |
T | value_at (unsigned i) const |
const T * | data () const |
T * | data () |
void | remove_all () |
void | clear () |
void | cut_at (unsigned num) |