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_iteratoroperator++ ()
const_iteratoroperator++ (int)
const Accessoroperator* () const
const Accessoroperator-> () 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.

Definition at line 269 of file filtered_matrix.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 713 of file filtered_matrix.h.


Member Function Documentation

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

Prefix increment.

Definition at line 725 of file filtered_matrix.h.

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.

Definition at line 735 of file filtered_matrix.h.

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

Dereferencing operator.

Definition at line 744 of file filtered_matrix.h.

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.

Definition at line 754 of file filtered_matrix.h.

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 ==.

Definition at line 765 of file filtered_matrix.h.

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.

Definition at line 331 of file filtered_matrix.h.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Thu May 17 2012 20:05:30 by doxygen 1.7.3