3 #ifndef DUNE_GRID_ENTITY_SEED_HH 4 #define DUNE_GRID_ENTITY_SEED_HH 22 template<
class Gr
idImp,
class EntitySeedImp>
43 : implementation_(implementation)
49 return implementation_.isValid();
57 Implementation&
impl() {
return implementation_; }
64 const Implementation&
impl()
const {
return implementation_; }
68 EntitySeedImp implementation_;
Include standard header files.
Definition: agrid.hh:58
bool isValid() const
check whether it is safe to create an Entity from this Seed
Definition: common/entityseed.hh:47
Implementation & impl()
access to the underlying implementation
Definition: common/entityseed.hh:57
EntitySeedImp Implementation
type of underlying implementation
Definition: common/entityseed.hh:35
Definition: common/entityseed.hh:28
const Implementation & impl() const
access to the underlying implementation
Definition: common/entityseed.hh:64
Store a reference to an entity with a minimal memory footprint.
Definition: common/entityseed.hh:23
EntitySeed(const EntitySeedImp &implementation)
Construct from implementation class.
Definition: common/entityseed.hh:42
EntitySeed()
Construct an empty (i.e. isValid() == false) seed.
Definition: common/entityseed.hh:38
Different resources needed by all grid implementations.