#include <DynamicArrayTemplatePointer.h>
Public Member Functions | |
void | AddElement (T *pElement) |
CDynamicArrayTemplatePointer (bool bManageMemory, int nInitialSize=100) | |
void | Clear () |
void | ClearAndResize (int nSize) |
bool | DeleteElement (int nIndex) |
int | GetSize () const |
int | GetStorageSize () const |
const T * | operator[] (const int nElement) const |
T *& | operator[] (const int nElement) |
~CDynamicArrayTemplatePointer () | |
Private Member Functions | |
void | SetCurrentSize (int nCurrentSize) |
Private Attributes | |
bool | m_bManageMemory |
int | m_nCurrentSize |
int | m_nElements |
T ** | m_ppElements |
Definition at line 58 of file DynamicArrayTemplatePointer.h.
CDynamicArrayTemplatePointer< T >::CDynamicArrayTemplatePointer | ( | bool | bManageMemory, |
int | nInitialSize = 100 |
||
) | [inline] |
Definition at line 62 of file DynamicArrayTemplatePointer.h.
CDynamicArrayTemplatePointer< T >::~CDynamicArrayTemplatePointer | ( | ) | [inline] |
Definition at line 75 of file DynamicArrayTemplatePointer.h.
void CDynamicArrayTemplatePointer< T >::AddElement | ( | T * | pElement | ) | [inline] |
Definition at line 88 of file DynamicArrayTemplatePointer.h.
void CDynamicArrayTemplatePointer< T >::Clear | ( | ) | [inline] |
Definition at line 112 of file DynamicArrayTemplatePointer.h.
void CDynamicArrayTemplatePointer< T >::ClearAndResize | ( | int | nSize | ) | [inline] |
Definition at line 123 of file DynamicArrayTemplatePointer.h.
bool CDynamicArrayTemplatePointer< T >::DeleteElement | ( | int | nIndex | ) | [inline] |
Definition at line 96 of file DynamicArrayTemplatePointer.h.
int CDynamicArrayTemplatePointer< T >::GetSize | ( | ) | const [inline] |
Definition at line 133 of file DynamicArrayTemplatePointer.h.
int CDynamicArrayTemplatePointer< T >::GetStorageSize | ( | ) | const [inline] |
Definition at line 134 of file DynamicArrayTemplatePointer.h.
const T* CDynamicArrayTemplatePointer< T >::operator[] | ( | const int | nElement | ) | const [inline] |
Definition at line 137 of file DynamicArrayTemplatePointer.h.
T*& CDynamicArrayTemplatePointer< T >::operator[] | ( | const int | nElement | ) | [inline] |
Definition at line 138 of file DynamicArrayTemplatePointer.h.
void CDynamicArrayTemplatePointer< T >::SetCurrentSize | ( | int | nCurrentSize | ) | [inline, private] |
Definition at line 144 of file DynamicArrayTemplatePointer.h.
bool CDynamicArrayTemplatePointer< T >::m_bManageMemory [private] |
Definition at line 169 of file DynamicArrayTemplatePointer.h.
int CDynamicArrayTemplatePointer< T >::m_nCurrentSize [private] |
Definition at line 165 of file DynamicArrayTemplatePointer.h.
int CDynamicArrayTemplatePointer< T >::m_nElements [private] |
Definition at line 166 of file DynamicArrayTemplatePointer.h.
T** CDynamicArrayTemplatePointer< T >::m_ppElements [private] |
Definition at line 167 of file DynamicArrayTemplatePointer.h.