Dune Core Modules (2.5.0)

Dune::MatrixRowSubset< M, S >::const_iterator Class Reference

The matrix row iterator type. More...

#include <dune/istl/colcompmatrix.hh>

Public Types

typedef const_iterator DerivedType
 The type of derived iterator. More...
 
typedef const Matrix::row_type Value
 The type of value accessed through the iterator.
 
typedef const Matrix::row_typePointer
 The pointer to the Value.
 
typedef std::ptrdiff_t DifferenceType
 The type of the difference between two positions.
 
typedef const Matrix::row_typeReference
 The type of the reference to the values accessed.
 

Public Member Functions

Reference operator* () const
 Dereferencing operator.
 
DerivedTypeoperator++ ()
 Preincrement operator.
 
DerivedType operator++ (int)
 Postincrement operator.
 

Detailed Description

template<class M, class S>
class Dune::MatrixRowSubset< M, S >::const_iterator

The matrix row iterator type.

Member Typedef Documentation

◆ DerivedType

typedef const_iterator Dune::ForwardIteratorFacade< const_iterator , const Matrix::row_type , const Matrix::row_type & , std::ptrdiff_t >::DerivedType
inherited

The type of derived iterator.

The iterator has to define following functions have to be present:

// Access the value referred to.
Reference dereference() const;
// Compare for equality with iterator j
bool equals(j);
// position the iterator at the next element.
void increment()
// check for equality with other iterator
bool equals(other)
Definition: bvector.hh:650

For an elaborate explanation see the STL Documentation!


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)