Public Member Functions | Private Member Functions | Private Attributes | List of all members
CDynamicArrayTemplatePointer< T > Class Template Reference

#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
 

Detailed Description

template<typename T>
class CDynamicArrayTemplatePointer< T >

Definition at line 58 of file DynamicArrayTemplatePointer.h.

Constructor & Destructor Documentation

template<typename T>
CDynamicArrayTemplatePointer< T >::CDynamicArrayTemplatePointer ( bool  bManageMemory,
int  nInitialSize = 100 
)
inline

Definition at line 62 of file DynamicArrayTemplatePointer.h.

template<typename T>
CDynamicArrayTemplatePointer< T >::~CDynamicArrayTemplatePointer ( )
inline

Definition at line 75 of file DynamicArrayTemplatePointer.h.

Member Function Documentation

template<typename T>
void CDynamicArrayTemplatePointer< T >::AddElement ( T *  pElement)
inline

Definition at line 88 of file DynamicArrayTemplatePointer.h.

template<typename T>
void CDynamicArrayTemplatePointer< T >::Clear ( )
inline

Definition at line 112 of file DynamicArrayTemplatePointer.h.

template<typename T>
void CDynamicArrayTemplatePointer< T >::ClearAndResize ( int  nSize)
inline

Definition at line 123 of file DynamicArrayTemplatePointer.h.

template<typename T>
bool CDynamicArrayTemplatePointer< T >::DeleteElement ( int  nIndex)
inline

Definition at line 96 of file DynamicArrayTemplatePointer.h.

template<typename T>
int CDynamicArrayTemplatePointer< T >::GetSize ( ) const
inline

Definition at line 133 of file DynamicArrayTemplatePointer.h.

template<typename T>
int CDynamicArrayTemplatePointer< T >::GetStorageSize ( ) const
inline

Definition at line 134 of file DynamicArrayTemplatePointer.h.

template<typename T>
const T* CDynamicArrayTemplatePointer< T >::operator[] ( const int  nElement) const
inline

Definition at line 137 of file DynamicArrayTemplatePointer.h.

template<typename T>
T*& CDynamicArrayTemplatePointer< T >::operator[] ( const int  nElement)
inline

Definition at line 138 of file DynamicArrayTemplatePointer.h.

template<typename T>
void CDynamicArrayTemplatePointer< T >::SetCurrentSize ( int  nCurrentSize)
inlineprivate

Definition at line 144 of file DynamicArrayTemplatePointer.h.

Member Data Documentation

template<typename T>
bool CDynamicArrayTemplatePointer< T >::m_bManageMemory
private

Definition at line 169 of file DynamicArrayTemplatePointer.h.

template<typename T>
int CDynamicArrayTemplatePointer< T >::m_nCurrentSize
private

Definition at line 165 of file DynamicArrayTemplatePointer.h.

template<typename T>
int CDynamicArrayTemplatePointer< T >::m_nElements
private

Definition at line 166 of file DynamicArrayTemplatePointer.h.

template<typename T>
T** CDynamicArrayTemplatePointer< T >::m_ppElements
private

Definition at line 167 of file DynamicArrayTemplatePointer.h.


The documentation for this class was generated from the following file:


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28