All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TAllocation Class Reference

#include <PoolAlloc.h>

Public Member Functions

 TAllocation (size_t size, unsigned char *mem, TAllocation *prev=0)
void check () const
void checkAllocList () const

Static Public Member Functions

static size_t allocationSize (size_t size)
static unsigned char * offsetAllocation (unsigned char *m)

Detailed Description

Definition at line 43 of file PoolAlloc.h.

Constructor & Destructor Documentation

TAllocation::TAllocation ( size_t  size,
unsigned char *  mem,
TAllocation prev = 0 

Definition at line 45 of file PoolAlloc.h.

References memset.

Member Function Documentation

static size_t TAllocation::allocationSize ( size_t  size)

Definition at line 68 of file PoolAlloc.h.

Referenced by TPoolAllocator::allocate().

void TAllocation::check ( ) const

Definition at line 59 of file PoolAlloc.h.

void TAllocation::checkAllocList ( ) const

Definition at line 290 of file PoolAlloc.cpp.

static unsigned char* TAllocation::offsetAllocation ( unsigned char *  m)

Definition at line 73 of file PoolAlloc.h.

Referenced by TPoolAllocator::initializeAllocation().

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