Public Member Functions | |
const_iterator (const FullMatrix< number > *matrix, const unsigned int row, const unsigned int col) | |
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.
FullMatrix< number >::const_iterator::const_iterator | ( | const FullMatrix< number > * | matrix, | |
const unsigned int | row, | |||
const unsigned int | col | |||
) |
Constructor.
const_iterator& FullMatrix< number >::const_iterator::operator++ | ( | ) |
Prefix increment.
const_iterator& FullMatrix< number >::const_iterator::operator++ | ( | int | ) |
Postfix increment.
const Accessor& FullMatrix< number >::const_iterator::operator* | ( | ) | const |
Dereferencing operator.
const Accessor* FullMatrix< number >::const_iterator::operator-> | ( | ) | const |
Dereferencing operator.
bool FullMatrix< number >::const_iterator::operator== | ( | const const_iterator & | ) | const |
Comparison. True, if both iterators point to the same matrix position.
bool FullMatrix< number >::const_iterator::operator!= | ( | const const_iterator & | ) | const |
Inverse of ==
.
bool FullMatrix< number >::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 FullMatrix< number >::const_iterator::operator> | ( | const const_iterator & | ) | const |
Comparison operator. Compares just the other way around than the operator above.
Accessor FullMatrix< number >::const_iterator::accessor [private] |
Store an object of the accessor class.