3 #ifndef DUNE_GRID_YASPGRIDENTITYPOINTER_HH 4 #define DUNE_GRID_YASPGRIDENTITYPOINTER_HH 14 template<
int codim,
class Gr
idImp>
15 class YaspEntityPointer
18 enum { dim=GridImp::dimension };
20 typedef typename GridImp::ctype ctype;
23 typedef typename GridImp::template Codim<codim>::Entity
Entity;
24 typedef typename GridImp::YGridLevelIterator
YGLI;
25 typedef typename GridImp::YGrid::Iterator
I;
62 return (
_entity == rhs._entity);
82 #endif // DUNE_GRID_YASPGRIDENTITYPOINTER_HH YaspEntityPointer(YGLI &&g, I &&it)
Definition: yaspgridentitypointer.hh:44
GridImp::template Codim< codim >::Entity Entity
Definition: yaspgridentitypointer.hh:23
YaspEntity< codim, dim, GridImp > YaspEntityImp
Definition: yaspgridentitypointer.hh:28
Definition: yaspgridentitypointer.hh:32
A pointer to a YaspGrid::Entity.
Definition: yaspgrid.hh:59
YaspEntityPointer(YaspEntityImp &&entity)
Definition: yaspgridentitypointer.hh:53
YaspEntityPointer< codim, GridImp > EntityPointerImp
Definition: yaspgridentitypointer.hh:26
YaspEntityPointer(const YaspEntityImp &entity)
copying and moving
Definition: yaspgridentitypointer.hh:49
GridImp::YGrid::Iterator I
Definition: yaspgridentitypointer.hh:25
Include standard header files.
Definition: agrid.hh:59
Definition: yaspgrid.hh:58
GridImp::YGridLevelIterator YGLI
Definition: yaspgridentitypointer.hh:24
bool equals(const YaspEntityPointer &rhs) const
copying and moving – use default implementations
Definition: yaspgridentitypointer.hh:60
Entity _entity
use default assignment operator
Definition: yaspgridentitypointer.hh:77
int level() const
ask for level of entity
Definition: yaspgridentitypointer.hh:72
YaspEntityPointer(const YGLI &g, const I &it)
constructor
Definition: yaspgridentitypointer.hh:40
const Entity & dereference() const
dereferencing
Definition: yaspgridentitypointer.hh:66
YaspEntityPointer()
default constructor
Definition: yaspgridentitypointer.hh:35