#include <tinyxml2.h>
Public Member Functions | |
int | Capacity () const |
void | Clear () |
DynArray () | |
bool | Empty () const |
const T * | Mem () const |
T * | Mem () |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
const T & | PeekTop () const |
T | Pop () |
void | PopArr (int count) |
void | Push (T t) |
T * | PushArr (int count) |
int | Size () const |
~DynArray () | |
Private Member Functions | |
DynArray (const DynArray &) | |
void | EnsureCapacity (int cap) |
void | operator= (const DynArray &) |
Private Attributes | |
int | _allocated |
T * | _mem |
T | _pool [INITIAL_SIZE] |
int | _size |
Definition at line 185 of file tinyxml2.h.
tinyxml2::DynArray< T, INITIAL_SIZE >::DynArray | ( | ) | [inline] |
Definition at line 188 of file tinyxml2.h.
tinyxml2::DynArray< T, INITIAL_SIZE >::~DynArray | ( | ) | [inline] |
Definition at line 194 of file tinyxml2.h.
tinyxml2::DynArray< T, INITIAL_SIZE >::DynArray | ( | const DynArray< T, INITIAL_SIZE > & | ) | [private] |
int tinyxml2::DynArray< T, INITIAL_SIZE >::Capacity | ( | ) | const [inline] |
Definition at line 253 of file tinyxml2.h.
void tinyxml2::DynArray< T, INITIAL_SIZE >::Clear | ( | ) | [inline] |
Definition at line 200 of file tinyxml2.h.
bool tinyxml2::DynArray< T, INITIAL_SIZE >::Empty | ( | ) | const [inline] |
Definition at line 229 of file tinyxml2.h.
void tinyxml2::DynArray< T, INITIAL_SIZE >::EnsureCapacity | ( | int | cap | ) | [inline, private] |
Definition at line 272 of file tinyxml2.h.
const T* tinyxml2::DynArray< T, INITIAL_SIZE >::Mem | ( | ) | const [inline] |
Definition at line 258 of file tinyxml2.h.
T* tinyxml2::DynArray< T, INITIAL_SIZE >::Mem | ( | ) | [inline] |
Definition at line 263 of file tinyxml2.h.
void tinyxml2::DynArray< T, INITIAL_SIZE >::operator= | ( | const DynArray< T, INITIAL_SIZE > & | ) | [private] |
T& tinyxml2::DynArray< T, INITIAL_SIZE >::operator[] | ( | int | i | ) | [inline] |
Definition at line 233 of file tinyxml2.h.
const T& tinyxml2::DynArray< T, INITIAL_SIZE >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 238 of file tinyxml2.h.
const T& tinyxml2::DynArray< T, INITIAL_SIZE >::PeekTop | ( | ) | const [inline] |
Definition at line 243 of file tinyxml2.h.
T tinyxml2::DynArray< T, INITIAL_SIZE >::Pop | ( | ) | [inline] |
Definition at line 219 of file tinyxml2.h.
void tinyxml2::DynArray< T, INITIAL_SIZE >::PopArr | ( | int | count | ) | [inline] |
Definition at line 224 of file tinyxml2.h.
void tinyxml2::DynArray< T, INITIAL_SIZE >::Push | ( | T | t | ) | [inline] |
Definition at line 204 of file tinyxml2.h.
T* tinyxml2::DynArray< T, INITIAL_SIZE >::PushArr | ( | int | count | ) | [inline] |
Definition at line 210 of file tinyxml2.h.
int tinyxml2::DynArray< T, INITIAL_SIZE >::Size | ( | ) | const [inline] |
Definition at line 248 of file tinyxml2.h.
int tinyxml2::DynArray< T, INITIAL_SIZE >::_allocated [private] |
Definition at line 289 of file tinyxml2.h.
T* tinyxml2::DynArray< T, INITIAL_SIZE >::_mem [private] |
Definition at line 287 of file tinyxml2.h.
T tinyxml2::DynArray< T, INITIAL_SIZE >::_pool[INITIAL_SIZE] [private] |
Definition at line 288 of file tinyxml2.h.
int tinyxml2::DynArray< T, INITIAL_SIZE >::_size [private] |
Definition at line 290 of file tinyxml2.h.