Public Member Functions | Private Attributes
FilteredMatrix< VECTOR >::const_iterator Class Reference

List of all members.

Public Member Functions

 const_iterator (const FilteredMatrix< VECTOR > *matrix, const unsigned int index)
const_iterator & operator++ ()
const_iterator & operator++ (int)
const Accessor & operator* () const
const Accessor * operator-> () const
bool operator== (const const_iterator &) const
bool operator!= (const const_iterator &) const
bool operator< (const const_iterator &) const
bool operator> (const const_iterator &) const

Private Attributes

Accessor accessor

Detailed Description

template<class VECTOR>
class FilteredMatrix< VECTOR >::const_iterator

STL conforming iterator.


Constructor & Destructor Documentation

template<class VECTOR >
FilteredMatrix< VECTOR >::const_iterator::const_iterator ( const FilteredMatrix< VECTOR > *  matrix,
const unsigned int  index 
) [inline]

Constructor.


Member Function Documentation

template<class VECTOR >
FilteredMatrix< VECTOR >::const_iterator & FilteredMatrix< VECTOR >::const_iterator::operator++ ( ) [inline]

Prefix increment.

template<class VECTOR>
const_iterator& FilteredMatrix< VECTOR >::const_iterator::operator++ ( int  )

Postfix increment.

template<typename number >
const FilteredMatrix< number >::Accessor & FilteredMatrix< number >::const_iterator::operator* ( ) const [inline]

Dereferencing operator.

template<typename number >
const FilteredMatrix< number >::Accessor * FilteredMatrix< number >::const_iterator::operator-> ( ) const [inline]

Dereferencing operator.

template<typename number >
bool FilteredMatrix< number >::const_iterator::operator== ( const const_iterator &  other) const [inline]

Comparison. True, if both iterators point to the same matrix position.

References FilteredMatrix< VECTOR >::const_iterator::accessor, FilteredMatrix< VECTOR >::Accessor::index, and FilteredMatrix< VECTOR >::Accessor::matrix.

template<typename number >
bool FilteredMatrix< number >::const_iterator::operator!= ( const const_iterator &  other) const [inline]

Inverse of ==.

template<class VECTOR>
bool FilteredMatrix< VECTOR >::const_iterator::operator< ( const const_iterator &  ) const

Comparison operator. Result is true if either the first row number is smaller or if the row numbers are equal and the first index is smaller.

template<class VECTOR>
bool FilteredMatrix< VECTOR >::const_iterator::operator> ( const const_iterator &  ) const

Comparison operator. Compares just the other way around than the operator above.


Member Data Documentation

template<class VECTOR>
Accessor FilteredMatrix< VECTOR >::const_iterator::accessor [private]

Store an object of the accessor class.

Referenced by FilteredMatrix< VECTOR >::const_iterator::operator==().


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

deal.II documentation generated on Fri Aug 12 2011 15:01:04 by doxygen 1.7.4