dune-common  2.3.0
Public Types | Public Member Functions | List of all members
Dune::SelectionIterator< TS, TG, TL, N > Class Template Reference

A const iterator over an uncached selection. More...

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

Public Types

typedef TS AttributeSet
 The type of the Set of attributes.
typedef Dune::ParallelIndexSet
< TG, TL, N > 
ParallelIndexSet
 The type of the underlying index set.
typedef ConstArrayListIterator
< IndexPair< TG, TL >, N,
std::allocator
< Dune::IndexPair< TG, TL > > > 
ParallelIndexSetIterator

Public Member Functions

 SelectionIterator (const ParallelIndexSetIterator &iter, const ParallelIndexSetIterator &end)
 Constructor.
void operator++ ()
uint32_t operator* () const
bool operator== (const SelectionIterator< TS, TG, TL, N > &other) const
bool operator!= (const SelectionIterator< TS, TG, TL, N > &other) const

Detailed Description

template<typename TS, typename TG, typename TL, int N>
class Dune::SelectionIterator< TS, TG, TL, N >

A const iterator over an uncached selection.

Member Typedef Documentation

template<typename TS, typename TG, typename TL, int N>
typedef TS Dune::SelectionIterator< TS, TG, TL, N >::AttributeSet

The type of the Set of attributes.

It has to provide a static method

bool contains(AttributeType a);

that returns true if a is in the set. Such types are EnumItem, EnumRange, Combine.

template<typename TS, typename TG, typename TL, int N>
typedef Dune::ParallelIndexSet<TG,TL,N> Dune::SelectionIterator< TS, TG, TL, N >::ParallelIndexSet

The type of the underlying index set.

template<typename TS, typename TG, typename TL, int N>
typedef ConstArrayListIterator<IndexPair<TG,TL>, N, std::allocator<Dune::IndexPair<TG,TL> > > Dune::SelectionIterator< TS, TG, TL, N >::ParallelIndexSetIterator

Constructor & Destructor Documentation

template<typename TS, typename TG, typename TL, int N>
Dune::SelectionIterator< TS, TG, TL, N >::SelectionIterator ( const ParallelIndexSetIterator iter,
const ParallelIndexSetIterator end 
)
inline

Constructor.

Parameters
iterThe iterator over the index set.
endThe iterator over the index set positioned at the end.

Member Function Documentation

template<typename TS, typename TG, typename TL, int N>
bool Dune::SelectionIterator< TS, TG, TL, N >::operator!= ( const SelectionIterator< TS, TG, TL, N > &  other) const
inline
template<typename TS, typename TG, typename TL, int N>
uint32_t Dune::SelectionIterator< TS, TG, TL, N >::operator* ( ) const
inline
template<typename TS, typename TG, typename TL, int N>
void Dune::SelectionIterator< TS, TG, TL, N >::operator++ ( )
inline
template<typename TS, typename TG, typename TL, int N>
bool Dune::SelectionIterator< TS, TG, TL, N >::operator== ( const SelectionIterator< TS, TG, TL, N > &  other) const
inline

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