|
dune-geometry 2.10
|
A wrapper for a TopologyFactory providing singleton storage. Same usage as TopologyFactory but with empty release method an internal storage. More...
#include <dune/geometry/topologyfactory.hh>
Public Types | |
| typedef Factory::Key | Key |
| typedef const Factory::Object | Object |
Static Public Member Functions | |
| static Object * | create (const Dune::GeometryType >, const Key &key) |
| template<GeometryType::Id geometryId> | |
| static auto | create (const Key &key) -> std::enable_if_t< static_cast< GeometryType >(geometryId).dim()==dimension, Object * > |
| template<class Topology> | |
| static auto | create (const Key &key) -> std::enable_if_t< Topology::dimension==dimension, Object * > |
| static void | release (Object *object) |
| release the object returned by the create methods | |
Static Public Attributes | |
| static const unsigned int | dimension = Factory::dimension |
A wrapper for a TopologyFactory providing singleton storage. Same usage as TopologyFactory but with empty release method an internal storage.
| typedef Factory::Key Dune::TopologySingletonFactory< Factory >::Key |
| typedef const Factory::Object Dune::TopologySingletonFactory< Factory >::Object |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
release the object returned by the create methods
|
static |