Dune Core Modules (2.5.0)
Dune::EntitySeed< GridImp, EntitySeedImp > Class Template Reference
Store a reference to an entity with a minimal memory footprint. More...
#include <dune/grid/common/entityseed.hh>
Public Types | |
enum | |
codimension of underlying entity | |
typedef EntitySeedImp | Implementation |
Export the implementation type. | |
Public Member Functions | |
EntitySeed () | |
Construct an empty (i.e. isValid() == false) seed. | |
EntitySeed (const EntitySeedImp &implementation) | |
Construct from implementation class. | |
bool | isValid () const |
check whether it is safe to create an Entity from this Seed | |
Protected Member Functions | |
Implementation & | impl () |
Access to the actual implementation. | |
const Implementation & | impl () const |
const Access to the actual implementation | |
Detailed Description
template<class GridImp, class EntitySeedImp>
class Dune::EntitySeed< GridImp, EntitySeedImp >
class Dune::EntitySeed< GridImp, EntitySeedImp >
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.
The documentation for this class was generated from the following file:
- dune/grid/common/entityseed.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 23, 23:29, 2024)