Newton Dynamics  4.00
ndFixSizeArray< T, maxSize > Class Template Reference
Inheritance diagram for ndFixSizeArray< T, maxSize >:
ndClassAlloc

Public Member Functions

ndInt32 GetCount () const
 
void SetCount (ndInt32 count)
 
ndInt32 GetCapacity () const
 
T & operator[] (ndInt32 i)
 
const T & operator[] (ndInt32 i) const
 
void PushBack (const T &element)
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

m_array [maxSize]
 
ndInt32 m_count
 

Additional Inherited Members

- 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.