FixedVector< TYPE, SIZE > Class Template Reference

#include <fixedvector.h>

Collaboration diagram for FixedVector< TYPE, SIZE >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef TYPE value_type
typedef TYPE & reference
typedef const TYPE & const_reference
typedef TYPE * pointer
typedef const TYPE * const_pointer
typedef unsigned long size_type
typedef long difference_type
typedef TYPE * iterator
typedef const TYPE * const_iterator

Public Member Functions

 ~FixedVector ()
 FixedVector ()
 FixedVector (TYPE def)
 FixedVector (TYPE value0, TYPE value1,...)
bool empty () const
size_t size () const
TYPE & operator[] (unsigned long index)
const TYPE & operator[] (unsigned long index) const
const TYPE * buffer () const
TYPE * buffer ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
void init (const TYPE &def)

Protected Attributes

TYPE mData [SIZE]

template<class TYPE, int SIZE>
class FixedVector< TYPE, SIZE >


Member Typedef Documentation

template<class TYPE, int SIZE>
typedef TYPE FixedVector< TYPE, SIZE >::value_type

template<class TYPE, int SIZE>
typedef TYPE& FixedVector< TYPE, SIZE >::reference

template<class TYPE, int SIZE>
typedef const TYPE& FixedVector< TYPE, SIZE >::const_reference

template<class TYPE, int SIZE>
typedef TYPE* FixedVector< TYPE, SIZE >::pointer

template<class TYPE, int SIZE>
typedef const TYPE* FixedVector< TYPE, SIZE >::const_pointer

template<class TYPE, int SIZE>
typedef unsigned long FixedVector< TYPE, SIZE >::size_type

template<class TYPE, int SIZE>
typedef long FixedVector< TYPE, SIZE >::difference_type

template<class TYPE, int SIZE>
typedef TYPE* FixedVector< TYPE, SIZE >::iterator

template<class TYPE, int SIZE>
typedef const TYPE* FixedVector< TYPE, SIZE >::const_iterator


Constructor & Destructor Documentation

template<class TYPE, int SIZE>
FixedVector< TYPE, SIZE >::~FixedVector (  )  [inline]

template<class TYPE, int SIZE>
FixedVector< TYPE, SIZE >::FixedVector (  )  [inline]

template<class TYPE, int SIZE>
FixedVector< TYPE, SIZE >::FixedVector ( TYPE  def  )  [inline]

template<class TYPE, int SIZE>
FixedVector< TYPE, SIZE >::FixedVector ( TYPE  value0,
TYPE  value1,
  ... 
) [inline]


Member Function Documentation

template<class TYPE, int SIZE>
bool FixedVector< TYPE, SIZE >::empty (  )  const [inline]

template<class TYPE, int SIZE>
size_t FixedVector< TYPE, SIZE >::size (  )  const [inline]

template<class TYPE, int SIZE>
TYPE& FixedVector< TYPE, SIZE >::operator[] ( unsigned long  index  )  [inline]

template<class TYPE, int SIZE>
const TYPE& FixedVector< TYPE, SIZE >::operator[] ( unsigned long  index  )  const [inline]

template<class TYPE, int SIZE>
const TYPE* FixedVector< TYPE, SIZE >::buffer (  )  const [inline]

template<class TYPE, int SIZE>
TYPE* FixedVector< TYPE, SIZE >::buffer (  )  [inline]

template<class TYPE, int SIZE>
iterator FixedVector< TYPE, SIZE >::begin (  )  [inline]

template<class TYPE, int SIZE>
const_iterator FixedVector< TYPE, SIZE >::begin (  )  const [inline]

template<class TYPE, int SIZE>
iterator FixedVector< TYPE, SIZE >::end (  )  [inline]

template<class TYPE, int SIZE>
const_iterator FixedVector< TYPE, SIZE >::end (  )  const [inline]

template<class TYPE, int SIZE>
void FixedVector< TYPE, SIZE >::init ( const TYPE &  def  )  [inline]


Member Data Documentation

template<class TYPE, int SIZE>
TYPE FixedVector< TYPE, SIZE >::mData[SIZE] [protected]


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

Generated on Thu Jan 13 13:33:30 2011 by  doxygen 1.5.6