FixedArray< TYPE, WIDTH, HEIGHT > Class Template Reference

#include <fixedarray.h>

Collaboration diagram for FixedArray< TYPE, WIDTH, HEIGHT >:

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 FixedVector< TYPE, HEIGHT > Column

Public Member Functions

 ~FixedArray ()
 FixedArray ()
 FixedArray (TYPE def)
bool empty () const
int size () const
int width () const
int height () const
Columnoperator[] (unsigned long index)
const Columnoperator[] (unsigned long index) const
template<class Indexer>
TYPE & operator() (const Indexer &i)
template<class Indexer>
const TYPE & operator() (const Indexer &i) const
void init (const TYPE &def)

Protected Attributes

FixedVector< Column, WIDTH > mData

template<class TYPE, int WIDTH, int HEIGHT>
class FixedArray< TYPE, WIDTH, HEIGHT >


Member Typedef Documentation

template<class TYPE, int WIDTH, int HEIGHT>
typedef TYPE FixedArray< TYPE, WIDTH, HEIGHT >::value_type

template<class TYPE, int WIDTH, int HEIGHT>
typedef TYPE& FixedArray< TYPE, WIDTH, HEIGHT >::reference

template<class TYPE, int WIDTH, int HEIGHT>
typedef const TYPE& FixedArray< TYPE, WIDTH, HEIGHT >::const_reference

template<class TYPE, int WIDTH, int HEIGHT>
typedef TYPE* FixedArray< TYPE, WIDTH, HEIGHT >::pointer

template<class TYPE, int WIDTH, int HEIGHT>
typedef const TYPE* FixedArray< TYPE, WIDTH, HEIGHT >::const_pointer

template<class TYPE, int WIDTH, int HEIGHT>
typedef unsigned long FixedArray< TYPE, WIDTH, HEIGHT >::size_type

template<class TYPE, int WIDTH, int HEIGHT>
typedef long FixedArray< TYPE, WIDTH, HEIGHT >::difference_type

template<class TYPE, int WIDTH, int HEIGHT>
typedef FixedVector<TYPE, HEIGHT> FixedArray< TYPE, WIDTH, HEIGHT >::Column


Constructor & Destructor Documentation

template<class TYPE, int WIDTH, int HEIGHT>
FixedArray< TYPE, WIDTH, HEIGHT >::~FixedArray (  )  [inline]

template<class TYPE, int WIDTH, int HEIGHT>
FixedArray< TYPE, WIDTH, HEIGHT >::FixedArray (  )  [inline]

template<class TYPE, int WIDTH, int HEIGHT>
FixedArray< TYPE, WIDTH, HEIGHT >::FixedArray ( TYPE  def  )  [inline]


Member Function Documentation

template<class TYPE, int WIDTH, int HEIGHT>
bool FixedArray< TYPE, WIDTH, HEIGHT >::empty (  )  const [inline]

template<class TYPE, int WIDTH, int HEIGHT>
int FixedArray< TYPE, WIDTH, HEIGHT >::size (  )  const [inline]

template<class TYPE, int WIDTH, int HEIGHT>
int FixedArray< TYPE, WIDTH, HEIGHT >::width (  )  const [inline]

template<class TYPE, int WIDTH, int HEIGHT>
int FixedArray< TYPE, WIDTH, HEIGHT >::height (  )  const [inline]

template<class TYPE, int WIDTH, int HEIGHT>
Column& FixedArray< TYPE, WIDTH, HEIGHT >::operator[] ( unsigned long  index  )  [inline]

template<class TYPE, int WIDTH, int HEIGHT>
const Column& FixedArray< TYPE, WIDTH, HEIGHT >::operator[] ( unsigned long  index  )  const [inline]

template<class TYPE, int WIDTH, int HEIGHT>
template<class Indexer>
TYPE& FixedArray< TYPE, WIDTH, HEIGHT >::operator() ( const Indexer &  i  )  [inline]

template<class TYPE, int WIDTH, int HEIGHT>
template<class Indexer>
const TYPE& FixedArray< TYPE, WIDTH, HEIGHT >::operator() ( const Indexer &  i  )  const [inline]

template<class TYPE, int WIDTH, int HEIGHT>
void FixedArray< TYPE, WIDTH, HEIGHT >::init ( const TYPE &  def  )  [inline]


Member Data Documentation

template<class TYPE, int WIDTH, int HEIGHT>
FixedVector<Column, WIDTH> FixedArray< TYPE, WIDTH, HEIGHT >::mData [protected]


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

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