Newton Dynamics  4.00
ndFreeListDictionary Class Reference
Inheritance diagram for ndFreeListDictionary:
ndFixSizeArray< ndFreeListHeader, D_FREELIST_DICTIONARY_SIZE > ndClassAlloc

Public Member Functions

void Flush (ndFreeListHeader *const header)
 
void * Malloc (ndInt32 size)
 
void Free (void *ptr)
 
void Flush ()
 
void Flush (ndInt32 size)
 
- Public Member Functions inherited from ndFixSizeArray< ndFreeListHeader, D_FREELIST_DICTIONARY_SIZE >
ndInt32 GetCount () const
 
void SetCount (ndInt32 count)
 
ndInt32 GetCapacity () const
 
ndFreeListHeaderoperator[] (ndInt32 i)
 
const ndFreeListHeaderoperator[] (ndInt32 i) const
 
void PushBack (const ndFreeListHeader &element)
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Static Public Member Functions

static ndFreeListDictionaryGetHeader ()
 
- Static Public Member Functions inherited from ndClassAlloc
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * Malloc (size_t size)
 Generic allocation for any function subclass from ndClassAlloc.
 
static D_CORE_API void Free (void *const ptr)
 Generic destruction for any function subclass from ndClassAlloc.
 

Additional Inherited Members

- Public Attributes inherited from ndFixSizeArray< ndFreeListHeader, D_FREELIST_DICTIONARY_SIZE >
ndFreeListHeader m_array [maxSize]
 
ndInt32 m_count