Public Member Functions | Protected Attributes | Friends

SparseMatrixEZ< number >::const_iterator::Accessor Class Reference

List of all members.

Public Member Functions

 Accessor (const SparseMatrixEZ< number > *matrix, const unsigned int row, const unsigned short index)
unsigned int row () const
unsigned short index () const
unsigned int column () const
number value () const

Protected Attributes

const SparseMatrixEZ< number > * matrix
unsigned int a_row
unsigned short a_index

Friends

class const_iterator

Detailed Description

template<typename number>
class SparseMatrixEZ< number >::const_iterator::Accessor

Accessor class for iterators

Definition at line 183 of file sparse_matrix_ez.h.


Constructor & Destructor Documentation

template<typename number >
SparseMatrixEZ< number >::const_iterator::Accessor::Accessor ( const SparseMatrixEZ< number > *  matrix,
const unsigned int  row,
const unsigned short  index 
) [inline]

Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.

Definition at line 1123 of file sparse_matrix_ez.h.


Member Function Documentation

template<typename number >
unsigned int SparseMatrixEZ< number >::const_iterator::Accessor::row (  ) const [inline]

Row number of the element represented by this object.

Definition at line 1136 of file sparse_matrix_ez.h.

Referenced by SparseMatrixEZ< number >::const_iterator::operator<(), and SparseMatrixEZ< number >::const_iterator::operator==().

template<typename number >
unsigned short SparseMatrixEZ< number >::const_iterator::Accessor::index (  ) const [inline]

Index in row of the element represented by this object.

Definition at line 1154 of file sparse_matrix_ez.h.

Referenced by SparseMatrixEZ< number >::const_iterator::operator<(), and SparseMatrixEZ< number >::const_iterator::operator==().

template<typename number >
unsigned int SparseMatrixEZ< number >::const_iterator::Accessor::column (  ) const [inline]

Column number of the element represented by this object.

Definition at line 1145 of file sparse_matrix_ez.h.

References LAPACKSupport::matrix.

template<typename number >
number SparseMatrixEZ< number >::const_iterator::Accessor::value (  ) const [inline]

Value of this matrix entry.

Definition at line 1164 of file sparse_matrix_ez.h.

References LAPACKSupport::matrix.


Friends And Related Function Documentation

template<typename number>
friend class const_iterator [friend]

Make enclosing class a friend.

Definition at line 242 of file sparse_matrix_ez.h.


Member Data Documentation

template<typename number>
const SparseMatrixEZ<number>* SparseMatrixEZ< number >::const_iterator::Accessor::matrix [protected]

The matrix accessed.

Definition at line 226 of file sparse_matrix_ez.h.

Referenced by SparseMatrixEZ< number >::const_iterator::const_iterator().

template<typename number>
unsigned int SparseMatrixEZ< number >::const_iterator::Accessor::a_row [protected]

Current row number.

Definition at line 231 of file sparse_matrix_ez.h.

Referenced by SparseMatrixEZ< number >::const_iterator::const_iterator().

template<typename number>
unsigned short SparseMatrixEZ< number >::const_iterator::Accessor::a_index [protected]

Current index in row.

Definition at line 236 of file sparse_matrix_ez.h.

Referenced by SparseMatrixEZ< number >::const_iterator::const_iterator().


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 Fri Feb 3 2012 06:04:11 by doxygen 1.7.2