Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
MappedMatrix< Map >::RealRowIterator< T > Class Template Reference

Iterator access to matrix rows More...

#include <dune/fufem/mappedmatrix.hh>

Inheritance diagram for MappedMatrix< Map >::RealRowIterator< T >:
Inheritance graph

Public Types

typedef std::remove_const< T >::type ValueType
 The unqualified value type.
 
typedef std::random_access_iterator_tag iterator_category
 
typedef typename std::remove_const< V >::type value_type
 
typedef D difference_type
 
typedef V * pointer
 
typedef R reference
 
typedef T DerivedType
 
typedef V Value
 
typedef V * Pointer
 
typedef D DifferenceType
 
typedef R Reference
 

Public Member Functions

 RealRowIterator (const Map &map, const Matrix &matrix, typename Matrix::const_iterator originalRow)
 constructor
 
 RealRowIterator ()=default
 Default constructor, does not initialize anything.
 
size_type index () const
 return index
 
std::ptrdiff_t distanceTo (const RealRowIterator< const ValueType > &other) const
 
bool equals (const RealRowIterator< const ValueType > &other) const
 Test two iterators for equality.
 
void increment ()
 prefix increment
 
void decrement ()
 prefix decrement
 
void advance (std::ptrdiff_t diff)
 
row_type elementAt (std::ptrdiff_t diff) const
 
row_type dereference () const
 dereferencing
 
constexpr Reference operator* () const
 
constexpr Pointer operator-> () const
 
constexpr Reference operator[] (DifferenceType n) const
 
constexpr DerivedTypeoperator++ ()
 
constexpr DerivedType operator++ (int)
 
constexpr DerivedTypeoperator+= (DifferenceType n)
 
constexpr DerivedType operator+ (DifferenceType n) const
 
constexpr DerivedTypeoperator-- ()
 
constexpr DerivedType operator-- (int)
 
constexpr DerivedTypeoperator-= (DifferenceType n)
 
constexpr DerivedType operator- (DifferenceType n) const
 

Public Attributes

const Map * map_
 
const Matrix * matrix_
 
Matrix::const_iterator originalRow_
 
size_type virtualRow_
 

Detailed Description

template<class Map>
template<class T>
class MappedMatrix< Map >::RealRowIterator< T >

Iterator access to matrix rows

Member Typedef Documentation

◆ ValueType

template<class Map >
template<class T >
typedef std::remove_const<T>::type MappedMatrix< Map >::RealRowIterator< T >::ValueType

The unqualified value type.

Constructor & Destructor Documentation

◆ RealRowIterator() [1/2]

template<class Map >
template<class T >
MappedMatrix< Map >::RealRowIterator< T >::RealRowIterator ( const Map &  map,
const Matrix &  matrix,
typename Matrix::const_iterator  originalRow 
)
inline

constructor

◆ RealRowIterator() [2/2]

template<class Map >
template<class T >
MappedMatrix< Map >::RealRowIterator< T >::RealRowIterator ( )
default

Default constructor, does not initialize anything.

Member Function Documentation

◆ advance()

template<class Map >
template<class T >
void MappedMatrix< Map >::RealRowIterator< T >::advance ( std::ptrdiff_t  diff)
inline

◆ decrement()

template<class Map >
template<class T >
void MappedMatrix< Map >::RealRowIterator< T >::decrement ( )
inline

prefix decrement

◆ dereference()

template<class Map >
template<class T >
row_type MappedMatrix< Map >::RealRowIterator< T >::dereference ( ) const
inline

dereferencing

◆ distanceTo()

template<class Map >
template<class T >
std::ptrdiff_t MappedMatrix< Map >::RealRowIterator< T >::distanceTo ( const RealRowIterator< const ValueType > &  other) const
inline

◆ elementAt()

template<class Map >
template<class T >
row_type MappedMatrix< Map >::RealRowIterator< T >::elementAt ( std::ptrdiff_t  diff) const
inline

◆ equals()

template<class Map >
template<class T >
bool MappedMatrix< Map >::RealRowIterator< T >::equals ( const RealRowIterator< const ValueType > &  other) const
inline

Test two iterators for equality.

◆ increment()

template<class Map >
template<class T >
void MappedMatrix< Map >::RealRowIterator< T >::increment ( )
inline

prefix increment

◆ index()

template<class Map >
template<class T >
size_type MappedMatrix< Map >::RealRowIterator< T >::index ( ) const
inline

return index

Member Data Documentation

◆ map_

template<class Map >
template<class T >
const Map* MappedMatrix< Map >::RealRowIterator< T >::map_

◆ matrix_

template<class Map >
template<class T >
const Matrix* MappedMatrix< Map >::RealRowIterator< T >::matrix_

◆ originalRow_

template<class Map >
template<class T >
Matrix::const_iterator MappedMatrix< Map >::RealRowIterator< T >::originalRow_

◆ virtualRow_

template<class Map >
template<class T >
size_type MappedMatrix< Map >::RealRowIterator< T >::virtualRow_

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