Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FTVector< FT_VECTOR_ITEM_TYPE > Class Template Reference

#include <FTVector.h>


Detailed Description

template<typename FT_VECTOR_ITEM_TYPE>
class FTVector< FT_VECTOR_ITEM_TYPE >

Provides a non-STL alternative to the STL vector.

Definition at line 10 of file FTVector.h.

Public Types

typedef FT_VECTOR_ITEM_TYPE value_type
typedef value_typereference
typedef const value_typeconst_reference
typedef value_typeiterator
typedef const value_typeconst_iterator
typedef size_t size_type

Public Member Functions

 FTVector ()
virtual ~FTVector ()
FTVectoroperator= (const FTVector &v)
size_type size () const
size_type capacity () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
bool empty () const
reference operator[] (size_type pos)
const_reference operator[] (size_type pos) const
void clear ()
void reserve (size_type n)
void push_back (const value_type &x)
void resize (size_type n, value_type x)


Member Typedef Documentation

template<typename FT_VECTOR_ITEM_TYPE>
typedef const value_type* FTVector< FT_VECTOR_ITEM_TYPE >::const_iterator
 

Definition at line 17 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
typedef const value_type& FTVector< FT_VECTOR_ITEM_TYPE >::const_reference
 

Definition at line 15 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
typedef value_type* FTVector< FT_VECTOR_ITEM_TYPE >::iterator
 

Definition at line 16 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
typedef value_type& FTVector< FT_VECTOR_ITEM_TYPE >::reference
 

Definition at line 14 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
typedef size_t FTVector< FT_VECTOR_ITEM_TYPE >::size_type
 

Definition at line 18 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
typedef FT_VECTOR_ITEM_TYPE FTVector< FT_VECTOR_ITEM_TYPE >::value_type
 

Definition at line 13 of file FTVector.h.


Constructor & Destructor Documentation

template<typename FT_VECTOR_ITEM_TYPE>
FTVector< FT_VECTOR_ITEM_TYPE >::FTVector  )  [inline]
 

Definition at line 20 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
virtual FTVector< FT_VECTOR_ITEM_TYPE >::~FTVector  )  [inline, virtual]
 

Definition at line 27 of file FTVector.h.


Member Function Documentation

template<typename FT_VECTOR_ITEM_TYPE>
const_iterator FTVector< FT_VECTOR_ITEM_TYPE >::begin  )  const [inline]
 

Definition at line 64 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
iterator FTVector< FT_VECTOR_ITEM_TYPE >::begin  )  [inline]
 

Definition at line 59 of file FTVector.h.

Referenced by FTVector< GLuint >::operator=(), and FTGlyphContainer::~FTGlyphContainer().

template<typename FT_VECTOR_ITEM_TYPE>
size_type FTVector< FT_VECTOR_ITEM_TYPE >::capacity  )  const [inline]
 

Definition at line 54 of file FTVector.h.

Referenced by FTVector< GLuint >::operator=().

template<typename FT_VECTOR_ITEM_TYPE>
void FTVector< FT_VECTOR_ITEM_TYPE >::clear  )  [inline]
 

Definition at line 94 of file FTVector.h.

Referenced by FTGlyphContainer::~FTGlyphContainer(), and FTMesh::~FTMesh().

template<typename FT_VECTOR_ITEM_TYPE>
bool FTVector< FT_VECTOR_ITEM_TYPE >::empty  )  const [inline]
 

Definition at line 79 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
const_iterator FTVector< FT_VECTOR_ITEM_TYPE >::end  )  const [inline]
 

Definition at line 74 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
iterator FTVector< FT_VECTOR_ITEM_TYPE >::end  )  [inline]
 

Definition at line 69 of file FTVector.h.

Referenced by FTVector< GLuint >::operator=(), and FTGlyphContainer::~FTGlyphContainer().

template<typename FT_VECTOR_ITEM_TYPE>
FTVector& FTVector< FT_VECTOR_ITEM_TYPE >::operator= const FTVector< FT_VECTOR_ITEM_TYPE > &  v  )  [inline]
 

Definition at line 32 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
const_reference FTVector< FT_VECTOR_ITEM_TYPE >::operator[] size_type  pos  )  const [inline]
 

Definition at line 89 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
reference FTVector< FT_VECTOR_ITEM_TYPE >::operator[] size_type  pos  )  [inline]
 

Definition at line 84 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
void FTVector< FT_VECTOR_ITEM_TYPE >::push_back const value_type x  )  [inline]
 

Definition at line 112 of file FTVector.h.

Referenced by FTGlyphContainer::Add(), FTMesh::End(), and FTGlyphContainer::FTGlyphContainer().

template<typename FT_VECTOR_ITEM_TYPE>
void FTVector< FT_VECTOR_ITEM_TYPE >::reserve size_type  n  )  [inline]
 

Definition at line 104 of file FTVector.h.

Referenced by FTMesh::FTMesh().

template<typename FT_VECTOR_ITEM_TYPE>
void FTVector< FT_VECTOR_ITEM_TYPE >::resize size_type  n,
value_type  x
[inline]
 

Definition at line 123 of file FTVector.h.

template<typename FT_VECTOR_ITEM_TYPE>
size_type FTVector< FT_VECTOR_ITEM_TYPE >::size  )  const [inline]
 

Definition at line 49 of file FTVector.h.

Referenced by FTGlyphContainer::Add(), FTContour::FTContour(), FTVector< GLuint >::operator=(), FTMesh::Tesselation(), and FTMesh::~FTMesh().


The documentation for this class was generated from the following file:
Generated on Sun Dec 5 22:24:07 2004 for FTGL by doxygen 1.3.6