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 |
STL conforming iterator.
FilteredMatrix< VECTOR >::const_iterator::const_iterator | ( | const FilteredMatrix< VECTOR > * | matrix, | |
const unsigned int | index | |||
) | [inline] |
Constructor.
FilteredMatrix< VECTOR >::const_iterator & FilteredMatrix< VECTOR >::const_iterator::operator++ | ( | ) | [inline] |
Prefix increment.
References FilteredMatrix< VECTOR >::const_iterator::accessor, and FilteredMatrix< VECTOR >::Accessor::advance().
const_iterator& FilteredMatrix< VECTOR >::const_iterator::operator++ | ( | int | ) |
Postfix increment.
const FilteredMatrix< number >::Accessor & FilteredMatrix< number >::const_iterator::operator* | ( | ) | const [inline] |
Dereferencing operator.
References FilteredMatrix< VECTOR >::const_iterator::accessor.
const FilteredMatrix< number >::Accessor * FilteredMatrix< number >::const_iterator::operator-> | ( | ) | const [inline] |
Dereferencing operator.
References FilteredMatrix< VECTOR >::const_iterator::accessor.
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.
bool FilteredMatrix< number >::const_iterator::operator!= | ( | const const_iterator & | other | ) | const [inline] |
Inverse of ==
.
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.
bool FilteredMatrix< VECTOR >::const_iterator::operator> | ( | const const_iterator & | ) | const |
Comparison operator. Compares just the other way around than the operator above.
Accessor FilteredMatrix< VECTOR >::const_iterator::accessor [private] |
Store an object of the accessor class.
Referenced by FilteredMatrix< VECTOR >::const_iterator::operator*(), FilteredMatrix< VECTOR >::const_iterator::operator++(), FilteredMatrix< VECTOR >::const_iterator::operator->(), and FilteredMatrix< VECTOR >::const_iterator::operator==().