Classes | |
class | Accessor |
Public Member Functions | |
const_iterator (const SparseMatrixEZ< number > *matrix, const unsigned int row, const unsigned short 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 |
Private Attributes | |
Accessor | accessor |
STL conforming iterator.
SparseMatrixEZ< number >::const_iterator::const_iterator | ( | const SparseMatrixEZ< number > * | matrix, | |
const unsigned int | row, | |||
const unsigned short | index | |||
) | [inline] |
SparseMatrixEZ< number >::const_iterator & SparseMatrixEZ< number >::const_iterator::operator++ | ( | ) | [inline] |
Prefix increment. This always returns a valid entry or end()
.
References SparseMatrixEZ< number >::const_iterator::Accessor::a_index, SparseMatrixEZ< number >::const_iterator::Accessor::a_row, SparseMatrixEZ< number >::const_iterator::accessor, Assert, and SparseMatrixEZ< number >::const_iterator::Accessor::matrix.
const_iterator& SparseMatrixEZ< number >::const_iterator::operator++ | ( | int | ) |
Postfix increment. This always returns a valid entry or end()
.
const SparseMatrixEZ< number >::const_iterator::Accessor & SparseMatrixEZ< number >::const_iterator::operator* | ( | ) | const [inline] |
Dereferencing operator.
References SparseMatrixEZ< number >::const_iterator::accessor.
const SparseMatrixEZ< number >::const_iterator::Accessor * SparseMatrixEZ< number >::const_iterator::operator-> | ( | ) | const [inline] |
Dereferencing operator.
References SparseMatrixEZ< number >::const_iterator::accessor.
bool SparseMatrixEZ< number >::const_iterator::operator== | ( | const const_iterator & | other | ) | const [inline] |
Comparison. True, if both iterators point to the same matrix position.
References SparseMatrixEZ< number >::const_iterator::accessor, SparseMatrixEZ< number >::const_iterator::Accessor::index(), and SparseMatrixEZ< number >::const_iterator::Accessor::row().
bool SparseMatrixEZ< number >::const_iterator::operator!= | ( | const const_iterator & | other | ) | const [inline] |
Inverse of ==
.
bool SparseMatrixEZ< number >::const_iterator::operator< | ( | const const_iterator & | other | ) | const [inline] |
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.
References SparseMatrixEZ< number >::const_iterator::accessor, SparseMatrixEZ< number >::const_iterator::Accessor::index(), and SparseMatrixEZ< number >::const_iterator::Accessor::row().
Accessor SparseMatrixEZ< number >::const_iterator::accessor [private] |
Store an object of the accessor class.
Referenced by SparseMatrixEZ< number >::const_iterator::const_iterator(), SparseMatrixEZ< number >::const_iterator::operator*(), SparseMatrixEZ< number >::const_iterator::operator++(), SparseMatrixEZ< number >::const_iterator::operator->(), SparseMatrixEZ< number >::const_iterator::operator<(), and SparseMatrixEZ< number >::const_iterator::operator==().