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

#include <DynamicArrayTemplate.h>

Public Member Functions

void AddElement (const T &element)
 
T & AddElement ()
 
 CDynamicArrayTemplate (int nInitialSize=10)
 
void Clear ()
 
void ClearAndResize (int nSize)
 
bool DeleteElement (int nIndex)
 
const T * GetElements () const
 
int GetSize () const
 
int GetStorageSize () const
 
const T & operator[] (const int nElement) const
 
T & operator[] (const int nElement)
 
 ~CDynamicArrayTemplate ()
 

Private Member Functions

void SetCurrentSize (int nCurrentSize)
 

Private Attributes

int m_nCurrentSize
 
int m_nElements
 
T * m_pElements
 

Detailed Description

template<typename T>
class CDynamicArrayTemplate< T >

Definition at line 58 of file DynamicArrayTemplate.h.

Constructor & Destructor Documentation

template<typename T>
CDynamicArrayTemplate< T >::CDynamicArrayTemplate ( int  nInitialSize = 10)
inline

Definition at line 62 of file DynamicArrayTemplate.h.

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

Definition at line 70 of file DynamicArrayTemplate.h.

Member Function Documentation

template<typename T>
void CDynamicArrayTemplate< T >::AddElement ( const T &  element)
inline

Definition at line 77 of file DynamicArrayTemplate.h.

template<typename T>
T& CDynamicArrayTemplate< T >::AddElement ( )
inline

Definition at line 85 of file DynamicArrayTemplate.h.

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

Definition at line 106 of file DynamicArrayTemplate.h.

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

Definition at line 111 of file DynamicArrayTemplate.h.

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

Definition at line 93 of file DynamicArrayTemplate.h.

template<typename T>
const T* CDynamicArrayTemplate< T >::GetElements ( ) const
inline

Definition at line 123 of file DynamicArrayTemplate.h.

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

Definition at line 121 of file DynamicArrayTemplate.h.

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

Definition at line 122 of file DynamicArrayTemplate.h.

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

Definition at line 126 of file DynamicArrayTemplate.h.

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

Definition at line 127 of file DynamicArrayTemplate.h.

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

Definition at line 133 of file DynamicArrayTemplate.h.

Member Data Documentation

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

Definition at line 154 of file DynamicArrayTemplate.h.

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

Definition at line 155 of file DynamicArrayTemplate.h.

template<typename T>
T* CDynamicArrayTemplate< T >::m_pElements
private

Definition at line 156 of file DynamicArrayTemplate.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