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


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.


Member Function Documentation

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

Friends And Related Function Documentation

template<typename number>
friend class const_iterator [friend]

Make enclosing class a friend.


Member Data Documentation

template<typename number>
const SparseMatrixEZ<number>* SparseMatrixEZ< number >::const_iterator::Accessor::matrix [protected]
template<typename number>
unsigned int SparseMatrixEZ< number >::const_iterator::Accessor::a_row [protected]
template<typename number>
unsigned short SparseMatrixEZ< number >::const_iterator::Accessor::a_index [protected]

The documentation for this class was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:08 2009 by doxygen 1.6.1