Public Member Functions | Public Attributes | Protected Attributes

GrowArray< T > Class Template Reference

#include <array.h>

List of all members.

Public Member Functions

 GrowArray ()
 ~GrowArray ()
void Add (const T &data)
int Index (const T &data)
Toperator[] (const int index) const
void Swap (const int i1, const int i2)
void Remove (const int index)
void Clear (void)
void Empty (void)
void Grow (size_t amount)
int GetCount (void) const

Public Attributes

Tm_data

Protected Attributes

int m_size
int m_count

template<class T>
class GrowArray< T >


Constructor & Destructor Documentation

template<class T>
GrowArray< T >::GrowArray (  )  [inline]
template<class T>
GrowArray< T >::~GrowArray (  )  [inline]

Member Function Documentation

template<class T>
void GrowArray< T >::Add ( const T data  )  [inline]
template<class T>
void GrowArray< T >::Clear ( void   )  [inline]
template<class T>
void GrowArray< T >::Empty ( void   )  [inline]
template<class T>
int GrowArray< T >::GetCount ( void   )  const [inline]
template<class T>
void GrowArray< T >::Grow ( size_t  amount  )  [inline]
template<class T>
int GrowArray< T >::Index ( const T data  )  [inline]
template<class T>
T& GrowArray< T >::operator[] ( const int  index  )  const [inline]
template<class T>
void GrowArray< T >::Remove ( const int  index  )  [inline]
template<class T>
void GrowArray< T >::Swap ( const int  i1,
const int  i2 
) [inline]

Member Data Documentation

template<class T>
int GrowArray< T >::m_count [protected]
template<class T>
T* GrowArray< T >::m_data
template<class T>
int GrowArray< T >::m_size [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines