DUNE PDELab (git)

Dune::PDELab::ISTL::BCRSPattern< RowOrdering, ColOrdering >::iterator Struct Reference

Iterator over all column indices for a given row, unique but in arbitrary order. More...

#include <dune/pdelab/backend/istl/bcrspattern.hh>

Public Types

typedef iterator DerivedType
 The type of derived iterator. More...
 
typedef const size_type Value
 The type of value accessed through the iterator.
 
typedef const size_typePointer
 The pointer to the Value.
 
typedef std::ptrdiff_t DifferenceType
 The type of the difference between two positions.
 
typedef const size_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<typename RowOrdering, typename ColOrdering>
struct Dune::PDELab::ISTL::BCRSPattern< RowOrdering, ColOrdering >::iterator

Iterator over all column indices for a given row, unique but in arbitrary order.

Member Typedef Documentation

◆ DerivedType

typedef iterator Dune::ForwardIteratorFacade< iterator , const size_type , const size_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)
const size_type & Reference
The type of the reference to the values accessed.
Definition: iteratorfacades.hh:196
constexpr auto equals
Function object for performing equality comparison.
Definition: hybridutilities.hh:572

For an elaborate explanation see the STL Documentation!


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)