dune-istl 3.0-git
Public Types | Public Member Functions | List of all members
Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T > Class Template Reference

iterator class for sequential access More...

#include <dune/istl/basearray.hh>

Inheritance diagram for Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >:
Inheritance graph

Public Types

typedef std::remove_const< T >::type ValueType
 The unqualified value type.
 

Public Member Functions

 RealIterator ()
 constructor
 
 RealIterator (B *_p, size_type *_j, size_type _i)
 constructor
 
 RealIterator (const RealIterator< ValueType > &it)
 Copy constructor from mutable iterator.
 
bool equals (const RealIterator< ValueType > &it) const
 equality
 
bool equals (const RealIterator< const ValueType > &it) const
 equality
 
size_type index () const
 return index corresponding to pointer
 
void setindex (size_type k)
 Set index corresponding to pointer.
 
size_type offset () const
 offset from the first entry.
 

Detailed Description

template<class B, class A = std::allocator<B>>
template<class T>
class Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >

iterator class for sequential access

Member Typedef Documentation

◆ ValueType

template<class B , class A = std::allocator<B>>
template<class T >
typedef std::remove_const<T>::type Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::ValueType

The unqualified value type.

Constructor & Destructor Documentation

◆ RealIterator() [1/3]

template<class B , class A = std::allocator<B>>
template<class T >
Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::RealIterator ( )
inline

constructor

◆ RealIterator() [2/3]

template<class B , class A = std::allocator<B>>
template<class T >
Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::RealIterator ( B *  _p,
size_type _j,
size_type  _i 
)
inline

constructor

◆ RealIterator() [3/3]

template<class B , class A = std::allocator<B>>
template<class T >
Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::RealIterator ( const RealIterator< ValueType > &  it)
inline

Copy constructor from mutable iterator.

Member Function Documentation

◆ equals() [1/2]

template<class B , class A = std::allocator<B>>
template<class T >
bool Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::equals ( const RealIterator< const ValueType > &  it) const
inline

equality

◆ equals() [2/2]

template<class B , class A = std::allocator<B>>
template<class T >
bool Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::equals ( const RealIterator< ValueType > &  it) const
inline

equality

◆ index()

template<class B , class A = std::allocator<B>>
template<class T >
size_type Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::index ( ) const
inline

return index corresponding to pointer

◆ offset()

template<class B , class A = std::allocator<B>>
template<class T >
size_type Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::offset ( ) const
inline

offset from the first entry.

An iterator positioned at the beginning has to be increment this amount of times to the same position.

◆ setindex()

template<class B , class A = std::allocator<B>>
template<class T >
void Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T >::setindex ( size_type  k)
inline

Set index corresponding to pointer.


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