|
dune-grid
2.6-git
|
Store a reference to an entity with a minimal memory footprint. More...
#include <dune/grid/common/entityseed.hh>
Public Types | |
| enum | { codimension = EntitySeedImp::codimension } |
| codimension of underlying entity More... | |
| typedef EntitySeedImp | Implementation |
| type of underlying implementation More... | |
Public Member Functions | |
| EntitySeed () | |
| Construct an empty (i.e. isValid() == false) seed. More... | |
| EntitySeed (const EntitySeedImp &implementation) | |
| Construct from implementation class. More... | |
| bool | isValid () const |
| check whether it is safe to create an Entity from this Seed More... | |
| Implementation & | impl () |
| access to the underlying implementation More... | |
| const Implementation & | impl () const |
| access to the underlying implementation More... | |
Store a reference to an entity with a minimal memory footprint.
The EntitySeed provides a light-weight way to store an entity. It is supposed to be implemented as memory-efficiently as possible. To get back the actual entity, you need the corresponding grid. On the grid, there is the method entity(const EntitySeed&), which gives you an Entity in exchange for an EntitySeed.
| typedef EntitySeedImp Dune::EntitySeed< GridImp, EntitySeedImp >::Implementation |
type of underlying implementation
| anonymous enum |
|
inline |
Construct an empty (i.e. isValid() == false) seed.
|
inline |
Construct from implementation class.
|
inline |
access to the underlying implementation
|
inline |
access to the underlying implementation
|
inline |
check whether it is safe to create an Entity from this Seed
1.8.13