Back to Top page.

EGTVector< T > Class Template Reference

Vector class template (wrapper for std::vector). More...

#include <EGTVector.h>

Inheritance diagram for EGTVector< T >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef unsigned SizeType
typedef std::vector< T
>::iterator 
Iterator
typedef std::vector< T
>::const_iterator 
ConstIterator

Public Methods

 EGTVector ()
 EGTVector (SizeType uSize, const T &val=T())
 EGTVector (ConstIterator first, ConstIterator last)
 EGTVector (const EGTVector< T > &rhs)
 ~EGTVector ()
Iterator Begin ()
ConstIterator Begin () const
Iterator End ()
ConstIterator End () const
SizeType Size () const
void Resize (SizeType uSize, T val=t())
bool Empty ()
void PushBack (const T &ret)
void PopBack ()
void Clear ()
SizeType Capacity ()
void Reserve (SizeType x)
Iterator Insert (Iterator it, const T &x=T())
void Insert (Iterator it, SizeType uSize, const T &x)
void Insert (Iterator it, ConstIterator first, ConstIterator last)
Iterator Erase (Iterator it)
Iterator Erase (Iterator first, Iterator last)
T & operator[] (SizeType uIndex)
const T & operator[] (SizeType uIndex) const

Detailed Description

template<class T>
class EGTVector< T >

Vector class template (wrapper for std::vector).


Member Typedef Documentation

template<class T>
typedef std::vector<T>::const_iterator EGTVector< T >::ConstIterator
 

template<class T>
typedef std::vector<T>::iterator EGTVector< T >::Iterator
 

template<class T>
typedef unsigned EGTVector< T >::SizeType
 


Constructor & Destructor Documentation

template<class T>
EGTVector< T >::EGTVector   [inline, explicit]
 

template<class T>
EGTVector< T >::EGTVector SizeType    uSize,
const T &    val = T()
[inline, explicit]
 

template<class T>
EGTVector< T >::EGTVector ConstIterator    first,
ConstIterator    last
[inline]
 

template<class T>
EGTVector< T >::EGTVector const EGTVector< T > &    rhs [inline]
 

template<class T>
EGTVector< T >::~EGTVector   [inline]
 


Member Function Documentation

template<class T>
ConstIterator EGTVector< T >::Begin   const [inline]
 

template<class T>
Iterator EGTVector< T >::Begin   [inline]
 

template<class T>
SizeType EGTVector< T >::Capacity   [inline]
 

template<class T>
void EGTVector< T >::Clear   [inline]
 

template<class T>
bool EGTVector< T >::Empty   [inline]
 

template<class T>
ConstIterator EGTVector< T >::End   const [inline]
 

template<class T>
Iterator EGTVector< T >::End   [inline]
 

template<class T>
Iterator EGTVector< T >::Erase Iterator    first,
Iterator    last
[inline]
 

template<class T>
Iterator EGTVector< T >::Erase Iterator    it [inline]
 

template<class T>
void EGTVector< T >::Insert Iterator    it,
ConstIterator    first,
ConstIterator    last
[inline]
 

template<class T>
void EGTVector< T >::Insert Iterator    it,
SizeType    uSize,
const T &    x
[inline]
 

template<class T>
Iterator EGTVector< T >::Insert Iterator    it,
const T &    x = T()
[inline]
 

template<class T>
const T& EGTVector< T >::operator[] SizeType    uIndex const [inline]
 

template<class T>
T& EGTVector< T >::operator[] SizeType    uIndex [inline]
 

template<class T>
void EGTVector< T >::PopBack   [inline]
 

template<class T>
void EGTVector< T >::PushBack const T &    ret [inline]
 

template<class T>
void EGTVector< T >::Reserve SizeType    x [inline]
 

template<class T>
void EGTVector< T >::Resize SizeType    uSize,
  val = t()
[inline]
 

template<class T>
SizeType EGTVector< T >::Size   const [inline]
 


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