LatMRG Online Documentation unknown
Tools to analyze the lattice structure of linear generators
Loading...
Searching...
No Matches
tinyxml2::MemPoolT< ITEM_SIZE > Class Template Reference
Inheritance diagram for tinyxml2::MemPoolT< ITEM_SIZE >:

Public Types

enum  { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE }

Public Member Functions

 MemPoolT ()
 ~MemPoolT ()
void Clear ()
virtual int ItemSize () const
int CurrentAllocs () const
virtual void * Alloc ()
virtual void Free (void *mem)
void Trace (const char *name)
void SetTracked ()
int Untracked () const
Public Member Functions inherited from tinyxml2::MemPool
 MemPool ()
virtual ~MemPool ()

Member Enumeration Documentation

◆ anonymous enum

template<int ITEM_SIZE>
anonymous enum
Enumerator
ITEMS_PER_BLOCK 

Constructor & Destructor Documentation

◆ MemPoolT()

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT ( )
inline

◆ ~MemPoolT()

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::~MemPoolT ( )
inline

Member Function Documentation

◆ Clear()

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Clear ( )
inline

◆ ItemSize()

template<int ITEM_SIZE>
virtual int tinyxml2::MemPoolT< ITEM_SIZE >::ItemSize ( ) const
inlinevirtual

Implements tinyxml2::MemPool.

◆ CurrentAllocs()

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::CurrentAllocs ( ) const
inline

◆ Alloc()

template<int ITEM_SIZE>
virtual void * tinyxml2::MemPoolT< ITEM_SIZE >::Alloc ( )
inlinevirtual

Implements tinyxml2::MemPool.

◆ Free()

template<int ITEM_SIZE>
virtual void tinyxml2::MemPoolT< ITEM_SIZE >::Free ( void * mem)
inlinevirtual

Implements tinyxml2::MemPool.

◆ Trace()

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Trace ( const char * name)
inline

◆ SetTracked()

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::SetTracked ( )
inlinevirtual

Implements tinyxml2::MemPool.

◆ Untracked()

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::Untracked ( ) const
inline

The documentation for this class was generated from the following file: