#include <tinyxml2.h>
Public Member Functions | |
int | Capacity () const |
DynArray () | |
bool | Empty () const |
const T * | Mem () const |
T * | Mem () |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
T | Pop () |
void | PopArr (int count) |
void | Push (T t) |
T * | PushArr (int count) |
int | Size () const |
~DynArray () | |
Private Member Functions | |
void | EnsureCapacity (int cap) |
Private Attributes | |
int | _allocated |
T * | _mem |
T | _pool [INIT] |
int | _size |
Definition at line 188 of file tinyxml2.h.
tinyxml2::DynArray< T, INIT >::DynArray | ( | ) | [inline] |
Definition at line 191 of file tinyxml2.h.
tinyxml2::DynArray< T, INIT >::~DynArray | ( | ) | [inline] |
Definition at line 197 of file tinyxml2.h.
int tinyxml2::DynArray< T, INIT >::Capacity | ( | ) | const [inline] |
Definition at line 242 of file tinyxml2.h.
bool tinyxml2::DynArray< T, INIT >::Empty | ( | ) | const [inline] |
Definition at line 224 of file tinyxml2.h.
void tinyxml2::DynArray< T, INIT >::EnsureCapacity | ( | int | cap | ) | [inline, private] |
Definition at line 255 of file tinyxml2.h.
const T* tinyxml2::DynArray< T, INIT >::Mem | ( | ) | const [inline] |
Definition at line 246 of file tinyxml2.h.
T* tinyxml2::DynArray< T, INIT >::Mem | ( | ) | [inline] |
Definition at line 250 of file tinyxml2.h.
T& tinyxml2::DynArray< T, INIT >::operator[] | ( | int | i | ) | [inline] |
Definition at line 228 of file tinyxml2.h.
const T& tinyxml2::DynArray< T, INIT >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 233 of file tinyxml2.h.
T tinyxml2::DynArray< T, INIT >::Pop | ( | ) | [inline] |
Definition at line 215 of file tinyxml2.h.
void tinyxml2::DynArray< T, INIT >::PopArr | ( | int | count | ) | [inline] |
Definition at line 219 of file tinyxml2.h.
void tinyxml2::DynArray< T, INIT >::Push | ( | T | t | ) | [inline] |
Definition at line 203 of file tinyxml2.h.
T* tinyxml2::DynArray< T, INIT >::PushArr | ( | int | count | ) | [inline] |
Definition at line 208 of file tinyxml2.h.
int tinyxml2::DynArray< T, INIT >::Size | ( | ) | const [inline] |
Definition at line 238 of file tinyxml2.h.
int tinyxml2::DynArray< T, INIT >::_allocated [private] |
Definition at line 270 of file tinyxml2.h.
T* tinyxml2::DynArray< T, INIT >::_mem [private] |
Definition at line 268 of file tinyxml2.h.
T tinyxml2::DynArray< T, INIT >::_pool[INIT] [private] |
Definition at line 269 of file tinyxml2.h.
int tinyxml2::DynArray< T, INIT >::_size [private] |
Definition at line 271 of file tinyxml2.h.