Go to the documentation of this file.
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 > >
153 #endif // #ifndef DUNE_GRID_ENTITYITERATOR_HH
Include standard header files.
Definition: agrid.hh:59
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
const Entity & operator->() const
Pointer operator.
Implementation realIterator
Definition: common/entitypointer.hh:138
forward_iterator_tag iterator_category
Definition: entityiterator.hh:148
interface class for an iterator over grid entities
Definition: entityiterator.hh:35
value_type & reference
Definition: entityiterator.hh:147
Wrapper class for entities.
Definition: common/entity.hh:61
const typedef IteratorImp::Entity value_type
Definition: entityiterator.hh:145
ptrdiff_t difference_type
Definition: entityiterator.hh:144
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
Grid::template Codim< codim >::Entity Entity
Definition: entityiterator.hh:44
value_type * pointer
Definition: entityiterator.hh:146
bool operator==(const EntityIterator &rhs) const
Checks for equality.
Definition: entityiterator.hh:108
EntityIterator & operator++()
prefix increment operator
Definition: entityiterator.hh:47
Wrapper and interface class for a static iterator (EntityPointer)
EntityIterator()
default construct (undefined) iterator
Definition: entityiterator.hh:125
Wrapper class for pointers to entities.
Definition: common/entitypointer.hh:113