#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 () | |
Public Member Functions inherited from tinyxml2::MemPool | |
MemPool () | |
virtual | ~MemPool () |
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 |
Enumerator | |
---|---|
ITEMS_PER_BLOCK |
Definition at line 428 of file tinyxml2.h.
|
inline |
Definition at line 340 of file tinyxml2.h.
|
inline |
Definition at line 341 of file tinyxml2.h.
|
private |
|
inlinevirtual |
Implements tinyxml2::MemPool.
Definition at line 365 of file tinyxml2.h.
|
inlinevirtual |
Implements tinyxml2::MemPool.
Definition at line 345 of file tinyxml2.h.
|
inline |
Definition at line 361 of file tinyxml2.h.
|
inlinevirtual |
Implements tinyxml2::MemPool.
Definition at line 391 of file tinyxml2.h.
|
inlinevirtual |
Implements tinyxml2::MemPool.
Definition at line 358 of file tinyxml2.h.
|
private |
|
inlinevirtual |
Implements tinyxml2::MemPool.
Definition at line 409 of file tinyxml2.h.
|
inline |
Definition at line 403 of file tinyxml2.h.
|
inline |
Definition at line 413 of file tinyxml2.h.
|
private |
Definition at line 441 of file tinyxml2.h.
|
private |
Definition at line 444 of file tinyxml2.h.
|
private |
Definition at line 446 of file tinyxml2.h.
|
private |
Definition at line 445 of file tinyxml2.h.
|
private |
Definition at line 447 of file tinyxml2.h.
|
private |
Definition at line 442 of file tinyxml2.h.