My Project
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ParaEngine::CGrowableArray< TYPE > Class Template Reference

Public Member Functions

 CGrowableArray (const CGrowableArray< TYPE > &a)
 
const TYPE & operator[] (int nIndex) const
 
TYPE & operator[] (int nIndex)
 
CGrowableArrayoperator= (const CGrowableArray< TYPE > &a)
 
HRESULT SetSize (int nNewMaxSize)
 
HRESULT Add (const TYPE &value)
 
HRESULT Insert (int nIndex, const TYPE &value)
 
HRESULT SetAt (int nIndex, const TYPE &value)
 
TYPE & GetAt (int nIndex)
 
int GetSize () const
 
TYPE * GetData ()
 
bool Contains (const TYPE &value)
 
int IndexOf (const TYPE &value)
 
int IndexOf (const TYPE &value, int iStart)
 
int IndexOf (const TYPE &value, int nIndex, int nNumElements)
 
int LastIndexOf (const TYPE &value)
 
int LastIndexOf (const TYPE &value, int nIndex)
 
int LastIndexOf (const TYPE &value, int nIndex, int nNumElements)
 
HRESULT Remove (int nIndex)
 
void RemoveAll ()
 

Protected Member Functions

HRESULT SetSizeInternal (int nNewMaxSize)
 

Protected Attributes

TYPE * m_pData
 
int m_nSize
 
int m_nMaxSize
 

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