3#ifndef DUNE_GRID_ENTITYITERATOR_HH
4#define DUNE_GRID_ENTITYITERATOR_HH
34 template<
int codim,
class Gr
id,
class IteratorImp >
41 using Base::realIterator;
44 typedef typename Grid::template Codim< codim >::Entity Entity;
49 realIterator.increment();
70 template<
int codim,
class Gr
id,
class IteratorImp >
71 struct iterator_traits<
Dune::EntityIterator< codim, Grid, IteratorImp > >
73 typedef ptrdiff_t difference_type;
74 typedef const typename Dune::EntityIterator< codim, Grid, IteratorImp >::Entity value_type;
75 typedef value_type *pointer;
76 typedef value_type &reference;
77 typedef forward_iterator_tag iterator_category;
interface class for an iterator over grid entities
Definition: entityiterator.hh:37
EntityIterator(const IteratorImp &imp)
copy constructor from implementaton
Definition: entityiterator.hh:58
EntityIterator & operator++()
prefix increment operator
Definition: entityiterator.hh:47
Wrapper class for pointers to entities.
Definition: entitypointer.hh:92
Wrapper and interface classe for a static iterator (EntityPointer)
Dune namespace.
Definition: alignment.hh:14