
Public Types | |
| typedef const BlockMatrix | MatrixType |
| typedef BlockMatrix::value_type | value_type |
Public Member Functions | |
| Accessor (const BlockMatrix *m, const unsigned int row, const unsigned int col) | |
| Accessor (const Accessor< BlockMatrix, false > &) | |
| unsigned int | row () const |
| unsigned int | column () const |
| value_type | value () const |
Protected Member Functions | |
| void | advance () |
| bool | operator== (const Accessor &a) const |
Protected Attributes | |
| const BlockMatrix * | matrix |
| BlockMatrix::BlockType::const_iterator | base_iterator |
Friends | |
| class | ::MatrixIterator |
Block matrix accessor for constant matrices, implementing the stepping through a matrix.
Definition at line 204 of file block_matrix_base.h.
| typedef const BlockMatrix BlockMatrixIterators::Accessor< BlockMatrix, true >::MatrixType |
Thype of the matrix used in this accessor.
Definition at line 213 of file block_matrix_base.h.
| typedef BlockMatrix::value_type BlockMatrixIterators::Accessor< BlockMatrix, true >::value_type |
Typedef the value type of the matrix we point into.
Reimplemented from BlockMatrixIterators::AccessorBase< BlockMatrix >.
Definition at line 219 of file block_matrix_base.h.
| BlockMatrixIterators::Accessor< BlockMatrix, true >::Accessor | ( | const BlockMatrix * | m, |
| const unsigned int | row, | ||
| const unsigned int | col | ||
| ) |
Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.
Place the iterator at the beginning of the given row of the matrix, or create the end pointer if row equals the total number of rows in the matrix.
| BlockMatrixIterators::Accessor< BlockMatrix, true >::Accessor | ( | const Accessor< BlockMatrix, false > & | ) |
Initalize const accessor from non const accessor.
| unsigned int BlockMatrixIterators::Accessor< BlockMatrix, true >::row | ( | ) | const |
Row number of the element represented by this object.
| unsigned int BlockMatrixIterators::Accessor< BlockMatrix, true >::column | ( | ) | const |
Column number of the element represented by this object.
| value_type BlockMatrixIterators::Accessor< BlockMatrix, true >::value | ( | ) | const |
Value of the entry at the current position.
| void BlockMatrixIterators::Accessor< BlockMatrix, true >::advance | ( | ) | [protected] |
Move ahead one element.
| bool BlockMatrixIterators::Accessor< BlockMatrix, true >::operator== | ( | const Accessor< BlockMatrix, true > & | a ) | const [protected] |
Compare this accessor with another one for equality.
friend class ::MatrixIterator [friend] |
Let the iterator class be a friend.
Definition at line 290 of file block_matrix_base.h.
const BlockMatrix* BlockMatrixIterators::Accessor< BlockMatrix, true >::matrix [protected] |
The matrix accessed.
Definition at line 266 of file block_matrix_base.h.
BlockMatrix::BlockType::const_iterator BlockMatrixIterators::Accessor< BlockMatrix, true >::base_iterator [protected] |
Iterator of the underlying matrix class.
Definition at line 272 of file block_matrix_base.h.
documentation generated on Fri Feb 3 2012 06:04:13 by
doxygen
1.7.2