libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | List of all members
tinyxml2::MemPoolT< SIZE > Class Template Reference

#include <tinyxml2.h>

+ Inheritance diagram for tinyxml2::MemPoolT< SIZE >:
+ Collaboration diagram for tinyxml2::MemPoolT< SIZE >:

Public Types

enum  { COUNT = (4*1024)/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 ()
 

Detailed Description

template<int SIZE>
class tinyxml2::MemPoolT< SIZE >

Definition at line 315 of file tinyxml2.h.

Member Enumeration Documentation

template<int SIZE>
anonymous enum
Enumerator
COUNT 

Definition at line 401 of file tinyxml2.h.

Constructor & Destructor Documentation

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

Definition at line 318 of file tinyxml2.h.

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

Definition at line 319 of file tinyxml2.h.

Member Function Documentation

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

Implements tinyxml2::MemPool.

Definition at line 343 of file tinyxml2.h.

template<int SIZE>
void tinyxml2::MemPoolT< SIZE >::Clear ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 323 of file tinyxml2.h.

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

Definition at line 339 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 367 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 336 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 384 of file tinyxml2.h.

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

Definition at line 379 of file tinyxml2.h.

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

Definition at line 388 of file tinyxml2.h.


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