|
dune-geometry 2.12-git
|
Loading...
Searching...
No Matches
Classes |
Public Types |
Static Public Member Functions |
Static Public Attributes |
List of all members
Dune::TopologySingletonFactory< Factory > Struct Template Reference
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 constexpr unsigned int | dimension = Factory::dimension |
Detailed Description
template<class Factory>
struct Dune::TopologySingletonFactory< Factory >
struct Dune::TopologySingletonFactory< Factory >
A wrapper for a TopologyFactory providing singleton storage. Same usage as TopologyFactory but with empty release method an internal storage.
Member Typedef Documentation
◆ Key
template<class Factory >
| typedef Factory::Key Dune::TopologySingletonFactory< Factory >::Key |
◆ Object
template<class Factory >
| typedef const Factory::Object Dune::TopologySingletonFactory< Factory >::Object |
Member Function Documentation
◆ create() [1/3]
template<class Factory >
|
inlinestatic |
◆ create() [2/3]
template<class Factory >
template<GeometryType::Id geometryId>
|
inlinestatic |
◆ create() [3/3]
template<class Factory >
template<class Topology >
|
inlinestatic |
◆ release()
template<class Factory >
|
inlinestatic |
release the object returned by the create methods
Member Data Documentation
◆ dimension
template<class Factory >
|
staticconstexpr |
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8