Newton Dynamics  4.00
dTempArray< T > Class Template Reference
Inheritance diagram for dTempArray< T >:
ndArray< T > ndClassAlloc

Public Member Functions

 dTempArray (ndInt32 maxSize, T *const buffer)
 
- Public Member Functions inherited from ndArray< T >
 ndArray (ndInt32 count)
 
 ndArray (const ndArray &source)
 
ndInt32 GetCount () const
 
void SetCount (ndInt32 count)
 
void Clear ()
 
void Resize (ndInt32 count)
 
ndInt32 GetCapacity () const
 
T & operator[] (ndInt32 i)
 
const T & operator[] (ndInt32 i) const
 
void Swap (ndArray &other)
 
void PushBack (const T &element)
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

T * m_buffer
 

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.
 
- Protected Attributes inherited from ndArray< T >
T * m_array
 
ndInt32 m_size
 
ndInt32 m_capacity