3#ifndef DUNE_GRID_ENTITYITERATOR_HH
4#define DUNE_GRID_ENTITYITERATOR_HH
34 template<
int codim,
class Gr
id,
class IteratorImp >
44 typedef typename Grid::template Codim< codim >::Entity
Entity;
85 typename std::conditional<
86 std::is_lvalue_reference<
98 decltype(handle_proxy_member_access(
realIterator.dereference()))
101 return handle_proxy_member_access(
realIterator.dereference());
141 template<
int codim,
class Gr
id,
class IteratorImp >
142 struct iterator_traits<
Dune::EntityIterator< codim, Grid, IteratorImp > >
Include standard header files.
Definition agrid.hh:60
interface class for an iterator over grid entities
Definition entityiterator.hh:37
Grid::template Codim< codim >::Entity Entity
Definition entityiterator.hh:44
EntityIterator(const IteratorImp &imp)
copy constructor from implementaton
Definition entityiterator.hh:129
const Entity & operator*() const
Dereferencing operator.
bool operator!=(const EntityIterator &rhs) const
Checks for inequality.
Definition entityiterator.hh:114
EntityIterator()
default construct (undefined) iterator
Definition entityiterator.hh:125
EntityIterator & operator++()
prefix increment operator
Definition entityiterator.hh:47
bool operator==(const EntityIterator &rhs) const
Checks for equality.
Definition entityiterator.hh:108
const Entity & operator->() const
Pointer operator.
const IteratorImp::Entity value_type
Definition entityiterator.hh:145
forward_iterator_tag iterator_category
Definition entityiterator.hh:148
ptrdiff_t difference_type
Definition entityiterator.hh:144
value_type & reference
Definition entityiterator.hh:147
value_type * pointer
Definition entityiterator.hh:146
Wrapper class for pointers to entities.
Definition common/entitypointer.hh:114
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition common/entitypointer.hh:433
Implementation realIterator
Definition common/entitypointer.hh:138
Wrapper and interface class for a static iterator (EntityPointer)