#include <tinyxml2.h>

Classes | |
| struct | Block |
| union | Item |
Public Types | |
| enum | { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE } |
Public Member Functions | |
| virtual void * | Alloc () |
| void | Clear () |
| 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 Member Functions | |
| MemPoolT (const MemPoolT &) | |
| void | operator= (const MemPoolT &) |
Private Attributes | |
| DynArray< Block *, 10 > | _blockPtrs |
| int | _currentAllocs |
| int | _maxAllocs |
| int | _nAllocs |
| int | _nUntracked |
| Item * | _root |
Definition at line 337 of file tinyxml2.h.
| anonymous enum |
Definition at line 428 of file tinyxml2.h.
| tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT | ( | ) | [inline] |
Definition at line 340 of file tinyxml2.h.
| tinyxml2::MemPoolT< ITEM_SIZE >::~MemPoolT | ( | ) | [inline] |
Definition at line 341 of file tinyxml2.h.
| tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT | ( | const MemPoolT< ITEM_SIZE > & | ) | [private] |
| virtual void* tinyxml2::MemPoolT< ITEM_SIZE >::Alloc | ( | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 365 of file tinyxml2.h.
| void tinyxml2::MemPoolT< ITEM_SIZE >::Clear | ( | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 345 of file tinyxml2.h.
| int tinyxml2::MemPoolT< ITEM_SIZE >::CurrentAllocs | ( | ) | const [inline] |
Definition at line 361 of file tinyxml2.h.
| virtual void tinyxml2::MemPoolT< ITEM_SIZE >::Free | ( | void * | mem | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 391 of file tinyxml2.h.
| virtual int tinyxml2::MemPoolT< ITEM_SIZE >::ItemSize | ( | ) | const [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 358 of file tinyxml2.h.
| void tinyxml2::MemPoolT< ITEM_SIZE >::operator= | ( | const MemPoolT< ITEM_SIZE > & | ) | [private] |
| void tinyxml2::MemPoolT< ITEM_SIZE >::SetTracked | ( | ) | [inline, virtual] |
Implements tinyxml2::MemPool.
Definition at line 409 of file tinyxml2.h.
| void tinyxml2::MemPoolT< ITEM_SIZE >::Trace | ( | const char * | name | ) | [inline] |
Definition at line 403 of file tinyxml2.h.
| int tinyxml2::MemPoolT< ITEM_SIZE >::Untracked | ( | ) | const [inline] |
Definition at line 413 of file tinyxml2.h.
DynArray< Block*, 10 > tinyxml2::MemPoolT< ITEM_SIZE >::_blockPtrs [private] |
Definition at line 441 of file tinyxml2.h.
int tinyxml2::MemPoolT< ITEM_SIZE >::_currentAllocs [private] |
Definition at line 444 of file tinyxml2.h.
int tinyxml2::MemPoolT< ITEM_SIZE >::_maxAllocs [private] |
Definition at line 446 of file tinyxml2.h.
int tinyxml2::MemPoolT< ITEM_SIZE >::_nAllocs [private] |
Definition at line 445 of file tinyxml2.h.
int tinyxml2::MemPoolT< ITEM_SIZE >::_nUntracked [private] |
Definition at line 447 of file tinyxml2.h.
Item* tinyxml2::MemPoolT< ITEM_SIZE >::_root [private] |
Definition at line 442 of file tinyxml2.h.