Recast Navigation
Navigation-mesh Toolset for Games
|
Variable-sized storage type. More...
#include <RecastAlloc.h>
Public Types | |
typedef rcSizeType | size_type |
typedef T | value_type |
Public Member Functions | |
rcVectorBase () | |
rcVectorBase (const rcVectorBase< T, H > &other) | |
rcVectorBase (rcSizeType count) | |
rcVectorBase (rcSizeType count, const T &value) | |
rcVectorBase (const T *begin, const T *end) | |
~rcVectorBase () | |
bool | reserve (rcSizeType size) |
void | assign (rcSizeType count, const T &value) |
void | assign (const T *begin, const T *end) |
void | resize (rcSizeType size) |
void | resize (rcSizeType size, const T &value) |
void | clear () |
void | push_back (const T &value) |
void | pop_back () |
rcSizeType | size () const |
rcSizeType | capacity () const |
bool | empty () const |
const T & | operator[] (rcSizeType i) const |
T & | operator[] (rcSizeType i) |
const T & | front () const |
T & | front () |
const T & | back () const |
T & | back () |
const T * | data () const |
T * | data () |
T * | begin () |
T * | end () |
const T * | begin () const |
const T * | end () const |
void | swap (rcVectorBase< T, H > &other) |
rcVectorBase & | operator= (const rcVectorBase< T, H > &other) |
Variable-sized storage type.
Mimics the interface of std::vector<T> with some notable differences:
typedef rcSizeType rcVectorBase< T, H >::size_type |
typedef T rcVectorBase< T, H >::value_type |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
void rcVectorBase< T, H >::assign | ( | const T * | begin, |
const T * | end | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
rcVectorBase& rcVectorBase< T, H >::operator= | ( | const rcVectorBase< T, H > & | other | ) |
|
inline |
|
inline |
|
inline |
void rcVectorBase< T, H >::push_back | ( | const T & | value | ) |
bool rcVectorBase< T, H >::reserve | ( | rcSizeType | size | ) |
|
inline |
|
inline |
|
inline |
void rcVectorBase< T, H >::swap | ( | rcVectorBase< T, H > & | other | ) |