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 >
153 #endif // #ifndef DUNE_GRID_ENTITYITERATOR_HH Implementation realIterator
Definition: common/entitypointer.hh:139
ptrdiff_t difference_type
Definition: entityiterator.hh:144
Wrapper and interface class for a static iterator (EntityPointer)
EntityIterator()
default construct (undefined) iterator
Definition: entityiterator.hh:125
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
Grid::template Codim< codim >::Entity Entity
Definition: entityiterator.hh:44
bool operator!=(const EntityIterator &rhs) const
Checks for inequality.
Definition: entityiterator.hh:114
value_type * pointer
Definition: entityiterator.hh:146
value_type & reference
Definition: entityiterator.hh:147
EntityIterator(const IteratorImp &imp)
copy constructor from implementaton
Definition: entityiterator.hh:129
Include standard header files.
Definition: agrid.hh:59
const Entity & operator*() const
Dereferencing operator.
EntityIterator & operator++()
prefix increment operator
Definition: entityiterator.hh:47
interface class for an iterator over grid entitiesAn entity iterator is an iterator over a subset of ...
Definition: entityiterator.hh:35
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: common/entitypointer.hh:434
Wrapper class for pointers to entities.
Definition: common/entitypointer.hh:114