TableIndicesBase< N > Class Template Reference
[Data storage primitives]

Inheritance diagram for TableIndicesBase< N >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

unsigned int operator[] (const unsigned int i) const
bool operator== (const TableIndicesBase< N > &other) const
bool operator!= (const TableIndicesBase< N > &other) const
void sort ()

Protected Attributes

unsigned indices [N]

Detailed Description

template<int N>
class TableIndicesBase< N >

Base class for an array of indices of fixed size used for the TableBase and SymmetricTensor classes. Actually, this class serves a dual purpose, as it not only stores indices into the TableBase class, but also the sizes of the table in its various coordinates.

Author:
Wolfgang Bangerth, 2002

Member Function Documentation

template<int N>
unsigned int TableIndicesBase< N >::operator[] ( const unsigned int  i  )  const [inline]

Access the value of the ith index.

References Assert, TableIndicesBase< N >::indices, and LAPACKSupport::N.

template<int N>
bool TableIndicesBase< N >::operator== ( const TableIndicesBase< N > &  other  )  const [inline]

Compare two index fields for equality.

References TableIndicesBase< N >::indices, and LAPACKSupport::N.

template<int N>
bool TableIndicesBase< N >::operator!= ( const TableIndicesBase< N > &  other  )  const [inline]

Compare two index fields for inequality.

template<int N>
void TableIndicesBase< N >::sort (  ) 

Sort the indices in ascending order. While this operation is not very useful for Table objects, it is used for the SymmetricTensor class.


Member Data Documentation

template<int N>
unsigned TableIndicesBase< N >::indices[N] [protected]

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

deal.II documentation generated on Mon Nov 23 22:58:13 2009 by doxygen 1.6.1