#include <tinyxml2.h>

Classes | |
| struct | Block |
| union | Chunk |
Public Types | |
| enum | { COUNT = 1024/SIZE } |
Public Member Functions | |
| virtual void * | Alloc () |
| int | CurrentAllocs () const |
| virtual void | Free (void *mem) |
| virtual int | ItemSize () const |
| MemPoolT () | |
| void | SetTracked () |
| void | Trace (const char *name) |
| int | Untracked () const |
| ~MemPoolT () | |
Private Attributes | |
| DynArray< Block *, 10 > | _blockPtrs |
| int | _currentAllocs |
| int | _maxAllocs |
| int | _nAllocs |
| int | _nUntracked |
| Chunk * | _root |
Definition at line 296 of file tinyxml2.h.
| anonymous enum |
Definition at line 362 of file tinyxml2.h.
| tinyxml2::MemPoolT< SIZE >::MemPoolT | ( | ) | [inline] |
Definition at line 299 of file tinyxml2.h.
| tinyxml2::MemPoolT< SIZE >::~MemPoolT | ( | ) | [inline] |
Definition at line 300 of file tinyxml2.h.
| virtual void* tinyxml2::MemPoolT< SIZE >::Alloc | ( | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 314 of file tinyxml2.h.
| int tinyxml2::MemPoolT< SIZE >::CurrentAllocs | ( | ) | const [inline] |
Definition at line 310 of file tinyxml2.h.
| virtual void tinyxml2::MemPoolT< SIZE >::Free | ( | void * | mem | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 337 of file tinyxml2.h.
| virtual int tinyxml2::MemPoolT< SIZE >::ItemSize | ( | ) | const [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 307 of file tinyxml2.h.
| void tinyxml2::MemPoolT< SIZE >::SetTracked | ( | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 354 of file tinyxml2.h.
| void tinyxml2::MemPoolT< SIZE >::Trace | ( | const char * | name | ) | [inline] |
Definition at line 349 of file tinyxml2.h.
| int tinyxml2::MemPoolT< SIZE >::Untracked | ( | ) | const [inline] |
Definition at line 358 of file tinyxml2.h.
DynArray< Block*, 10 > tinyxml2::MemPoolT< SIZE >::_blockPtrs [private] |
Definition at line 372 of file tinyxml2.h.
int tinyxml2::MemPoolT< SIZE >::_currentAllocs [private] |
Definition at line 375 of file tinyxml2.h.
int tinyxml2::MemPoolT< SIZE >::_maxAllocs [private] |
Definition at line 377 of file tinyxml2.h.
int tinyxml2::MemPoolT< SIZE >::_nAllocs [private] |
Definition at line 376 of file tinyxml2.h.
int tinyxml2::MemPoolT< SIZE >::_nUntracked [private] |
Definition at line 378 of file tinyxml2.h.
Chunk* tinyxml2::MemPoolT< SIZE >::_root [private] |
Definition at line 373 of file tinyxml2.h.