dune-istl  2.5-git
Public Member Functions | List of all members
Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator Class Reference

ConstIterator class for sequential access. More...

#include <dune/istl/matrix.hh>

Public Member Functions

 ConstIterator ()
 constructor More...
 
 ConstIterator (const B *data, size_type columns, size_type _i)
 constructor from pointer More...
 
 ConstIterator (const Iterator &it)
 constructor from non_const iterator More...
 
ConstIteratoroperator= (Iterator &&other)
 
ConstIteratoroperator= (Iterator &other)
 
ConstIteratoroperator++ ()
 prefix increment More...
 
ConstIteratoroperator-- ()
 prefix decrement More...
 
bool operator== (const ConstIterator &it) const
 equality More...
 
bool operator!= (const ConstIterator &it) const
 inequality More...
 
bool operator== (const Iterator &it) const
 equality More...
 
bool operator!= (const Iterator &it) const
 inequality More...
 
const window_typeoperator* () const
 dereferencing More...
 
const window_typeoperator-> () const
 arrow More...
 
size_type index () const
 

Detailed Description

template<class B, class A = std::allocator<B>>
class Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator

ConstIterator class for sequential access.

Constructor & Destructor Documentation

§ ConstIterator() [1/3]

template<class B, class A = std::allocator<B>>
Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::ConstIterator ( )
inline

constructor

§ ConstIterator() [2/3]

template<class B, class A = std::allocator<B>>
Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::ConstIterator ( const B *  data,
size_type  columns,
size_type  _i 
)
inline

constructor from pointer

§ ConstIterator() [3/3]

template<class B, class A = std::allocator<B>>
Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::ConstIterator ( const Iterator it)
inline

constructor from non_const iterator

Member Function Documentation

§ index()

template<class B, class A = std::allocator<B>>
size_type Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::index ( ) const
inline

§ operator!=() [1/2]

template<class B, class A = std::allocator<B>>
bool Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator!= ( const ConstIterator it) const
inline

inequality

§ operator!=() [2/2]

template<class B, class A = std::allocator<B>>
bool Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator!= ( const Iterator it) const
inline

inequality

§ operator*()

template<class B, class A = std::allocator<B>>
const window_type& Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator* ( ) const
inline

dereferencing

§ operator++()

template<class B, class A = std::allocator<B>>
ConstIterator& Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator++ ( )
inline

prefix increment

§ operator--()

template<class B, class A = std::allocator<B>>
ConstIterator& Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator-- ( )
inline

prefix decrement

§ operator->()

template<class B, class A = std::allocator<B>>
const window_type* Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator-> ( ) const
inline

arrow

§ operator=() [1/2]

template<class B, class A = std::allocator<B>>
ConstIterator& Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator= ( Iterator &&  other)
inline

§ operator=() [2/2]

template<class B, class A = std::allocator<B>>
ConstIterator& Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator= ( Iterator other)
inline

§ operator==() [1/2]

template<class B, class A = std::allocator<B>>
bool Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator== ( const ConstIterator it) const
inline

equality

§ operator==() [2/2]

template<class B, class A = std::allocator<B>>
bool Dune::MatrixImp::DenseMatrixBase< B, A >::ConstIterator::operator== ( const Iterator it) const
inline

equality


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