dune-istl 2.12-git
Loading...
Searching...
No Matches
Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator Class Reference

#include <dune/istl/experimental/sparseindexranges.hh>

Inheritance diagram for Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator:
Inheritance graph

Public Types

using reference = typename Facade::reference
 
using difference_type = typename Facade::difference_type
 
typedef C iterator_category
 
typedef typename std::remove_const< V >::type value_type
 
typedef P pointer
 
typedef value_type Value
 
typedef reference Reference
 
typedef pointer Pointer
 
typedef difference_type DifferenceType
 

Public Member Functions

constexpr IndexIterator (SparseIndexRanges const *csi, size_type i_, size_type j)
 
constexpr IndexIterator ()=default
 
constexpr size_type offset () const
 
constexpr reference operator* () const
 
constexpr pointer operator-> () const
 
constexpr decltype(auto) operator++ ()
 
constexpr DerivedIterator operator++ (int)
 
constexpr decltype(auto) operator-- ()
 
constexpr DerivedIterator operator-- (int)
 
constexpr reference operator[] (difference_type n) const
 
constexpr decltype(auto) operator+= (difference_type n)
 
constexpr DerivedIterator operator+ (difference_type n) const
 
constexpr DerivedIterator & operator-= (difference_type n)
 
constexpr DerivedIterator operator- (difference_type n) const
 

Protected Types

typedef It DerivedIterator
 

Protected Member Functions

constexpr const DerivedIterator & derived () const
 
constexpr DerivedIterator & derived ()
 

Member Typedef Documentation

◆ difference_type

template<class I = std::uint_least32_t, class A = std::allocator<I>>
using Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator::difference_type = typename Facade::difference_type

◆ reference

template<class I = std::uint_least32_t, class A = std::allocator<I>>
using Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator::reference = typename Facade::reference

Constructor & Destructor Documentation

◆ IndexIterator() [1/2]

template<class I , class A >
constexpr Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator::IndexIterator ( SparseIndexRanges const *  csi,
size_type  i_,
size_type  j 
)
constexpr

◆ IndexIterator() [2/2]

template<class I = std::uint_least32_t, class A = std::allocator<I>>
constexpr Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator::IndexIterator ( )
constexprdefault

Member Function Documentation

◆ offset()

template<class I , class A >
constexpr auto Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator::offset ( ) const
constexpr

◆ operator*()

template<class I , class A >
constexpr auto Dune::Experimental::SparseIndexRanges< I, A >::IndexIterator::operator* ( ) const
constexpr

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