Public Member Functions | Protected Attributes
TableIndicesBase< N > Class Template Reference

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 ()
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

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, StandardExceptions::ExcIndexRange(), 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.

template<int N>
template<class Archive >
void TableIndicesBase< N >::serialize ( Archive &  ar,
const unsigned int  version 
) [inline]

Write or read the data of this object to or from a stream for the purpose of serialization.


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 Fri Aug 12 2011 15:01:07 by doxygen 1.7.4