dune-istl  2.4.1-rc2
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 remove_const< T >::type ValueType
 The unqualified value type. More...
 

Public Member Functions

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

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

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

The unqualified value type.

Constructor & Destructor Documentation

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

constructor

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

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

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

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

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

Referenced by Dune::BCRSMatrix< B, A >::endindices().

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.

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: