dune-common  2.6-git
Public Types | Public Member Functions | List of all members
Dune::ParallelIndexSet< TG, TL, N >::iterator Class Reference

The iterator over the pairs. More...

#include <dune/common/parallel/indexset.hh>

Inheritance diagram for Dune::ParallelIndexSet< TG, TL, N >::iterator:
Inheritance graph

Public Types

enum  { chunkSize_ = (N > 0) ? N : 1 }
 
typedef A::value_type MemberType
 The member type. More...
 
typedef A::difference_type difference_type
 
typedef A::size_type size_type
 
typedef A::reference reference
 
typedef A::const_reference const_reference
 

Public Member Functions

 iterator (ParallelIndexSet< TG, TL, N > &indexSet, const Father &father)
 
 iterator (const iterator &other)
 
iteratoroperator== (const iterator &other)
 
bool equals (const ArrayListIterator< MemberType, N, A > &other) const
 Comares two iterators. More...
 
bool equals (const ConstArrayListIterator< MemberType, N, A > &other) const
 Comares two iterators. More...
 
void increment ()
 Increment the iterator. More...
 
void decrement ()
 decrement the iterator. More...
 
reference elementAt (size_type i) const
 Get the value of the list at an arbitrary position. More...
 
reference dereference () const
 Access the element at the current position. More...
 
void eraseToHere ()
 Erase all entries before the current position and the one at the current position. More...
 
size_type position ()
 
void advance (difference_type n)
 
difference_type distanceTo (const ArrayListIterator< T, N, A > &other) const
 

Detailed Description

template<typename TG, typename TL, int N = 100>
class Dune::ParallelIndexSet< TG, TL, N >::iterator

The iterator over the pairs.

Member Typedef Documentation

◆ const_reference

template<class T , int N, class A >
typedef A::const_reference Dune::ArrayListIterator< T, N, A >::const_reference
inherited

◆ difference_type

template<class T , int N, class A >
typedef A::difference_type Dune::ArrayListIterator< T, N, A >::difference_type
inherited

◆ MemberType

template<class T , int N, class A >
typedef A::value_type Dune::ArrayListIterator< T, N, A >::MemberType
inherited

The member type.

◆ reference

template<class T , int N, class A >
typedef A::reference Dune::ArrayListIterator< T, N, A >::reference
inherited

◆ size_type

template<class T , int N, class A >
typedef A::size_type Dune::ArrayListIterator< T, N, A >::size_type
inherited

Member Enumeration Documentation

◆ anonymous enum

template<class T , int N, class A >
anonymous enum
inherited
Enumerator
chunkSize_ 

The number of elements in one chunk of the list.

This has to be at least one. The default is 100.

Member Function Documentation

◆ position()

template<class T , int N, class A >
size_type Dune::ArrayListIterator< T, N, A >::position ( )
inlineinherited
Todo:
Please doc me!

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