Dune::SelectionIterator< TS, TG, TL, N > Class Template Reference
[ISTL Communication]

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

#include <dune/istl/selection.hh>

List of all members.

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:
iter The iterator over the index set.
end The 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:
Generated on Sat Apr 24 11:13:50 2010 for dune-istl by  doxygen 1.6.3