Project

General

Profile

SO3Engine
tinyxml2::MemPoolT< SIZE > Class Template Reference

#include <tinyxml2.h>

Inheritance diagram for tinyxml2::MemPoolT< SIZE >:
tinyxml2::MemPool

Public Types

enum  { COUNT = (4*1024)/SIZE }
 

Public Member Functions

 MemPoolT ()
 
 ~MemPoolT ()
 
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 324 of file tinyxml2.h.

Member Enumeration Documentation

◆ anonymous enum

template<int SIZE>
anonymous enum
Enumerator
COUNT 

Definition at line 399 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ MemPoolT()

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

Definition at line 327 of file tinyxml2.h.

◆ ~MemPoolT()

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

Definition at line 328 of file tinyxml2.h.

Member Function Documentation

◆ Alloc()

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

Implements tinyxml2::MemPool.

Definition at line 342 of file tinyxml2.h.

◆ CurrentAllocs()

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

Definition at line 338 of file tinyxml2.h.

◆ Free()

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

Implements tinyxml2::MemPool.

Definition at line 365 of file tinyxml2.h.

◆ ItemSize()

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

Implements tinyxml2::MemPool.

Definition at line 335 of file tinyxml2.h.

◆ SetTracked()

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

Implements tinyxml2::MemPool.

Definition at line 382 of file tinyxml2.h.

◆ Trace()

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

Definition at line 377 of file tinyxml2.h.

◆ Untracked()

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

Definition at line 386 of file tinyxml2.h.


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