dune-istl  2.2.0
Public Types | Public Member Functions | Friends
Dune::compressed_base_array_unmanaged< B, A >::RealIterator< T > Class Template Reference

iterator class for sequential access More...

#include <dune/istl/basearray.hh>

List of all members.

Public Types

typedef 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.

Friends

class BidirectionalIteratorFacade< RealIterator< const ValueType >, const ValueType >
class BidirectionalIteratorFacade< RealIterator< ValueType >, ValueType >
class RealIterator< const ValueType >
class RealIterator< ValueType >

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

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.


Friends And Related Function Documentation

template<class B , class A = std::allocator<B>>
template<class T>
friend class BidirectionalIteratorFacade< RealIterator< const ValueType >, const ValueType >
friend
template<class B , class A = std::allocator<B>>
template<class T>
friend class BidirectionalIteratorFacade< RealIterator< ValueType >, ValueType >
friend
template<class B , class A = std::allocator<B>>
template<class T>
friend class RealIterator< const ValueType >
friend
template<class B , class A = std::allocator<B>>
template<class T>
friend class RealIterator< ValueType >
friend

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