An internal helper class, representing a block of memory. Use the Store class instead.
#include <array.h>
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) |
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 |
Block | ( | const char * | sName, |
unsigned int | iItemSize | ||
) | [inline, protected] |
~Block | ( | void | ) | [protected] |
static const Block* Head | ( | void | ) | [inline, static] |
const Block* Next | ( | void | ) | const [inline] |
unsigned int ItemSize | ( | void | ) | const [inline] |
const char* Name | ( | void | ) | const |
long long Size | ( | void | ) | const |
long long Address | ( | void | ) | const |
static void LogAll | ( | float | fSizeFilter =
0.01f , |
bool | bSortByAddress =
false |
||
) | [static] |
void Check | ( | void | ) | const |
static void CheckAll | ( | void | ) | [static] |
static bool RegisterMemoryBlock | ( | long long | iSize | ) | [static] |
static bool UnregisterMemoryBlock | ( | long long | iSize | ) | [static] |
static void SetAllocatorID | ( | const char * | pAllocatorID | ) | [static] |
static void CopyMemoryBlock | ( | void * | pDestination, |
const void * | pSource, | ||
long long | iSize | ||
) | [static] |
unsigned int m_iItemSize
[protected] |
const char* m_sName |