#include <array.h>
An internal helper class, representing a block of memory. Use the Store class instead.
Public Member Functions | |
const Block * | Next (void) const |
unsigned int | ItemSize (void) const |
const char * | Name (void) const |
long long | Size (void) const |
long long | Address (void) const |
void | Check (void) const |
Static Public Member Functions | |
static const Block * | Head (void) |
static void | LogAll (float fSizeFilter=0.01f, bool bSortByAddress=false) |
static void | CheckAll (void) |
static bool | RegisterMemoryBlock (long long iSize) |
static bool | UnregisterMemoryBlock (long long iSize) |
static void | SetAllocatorID (const char *pAllocatorID) |
static void | CopyMemoryBlock (void *pDestination, const void *pSource, long long iSize) |
static void * | AlignedAlloc (size_t iBytes, unsigned int iAlignment) |
static void | AlignedFree (void *pData) |
Public Attributes | |
const char * | m_sName |
Protected Member Functions | |
Block (const char *sName, unsigned int iItemSize) | |
~Block (void) | |
Protected Attributes | |
Block * | m_pNext |
Block * | m_pPrev |
unsigned int | m_iItemSize |
Static Protected Attributes | |
static Block * | s_pHead |
const char* Name | ( | void | ) | const |
long long Size | ( | void | ) | const |
long long Address | ( | void | ) | const |
|
static |
|
static |
|
static |
|
static |