Dune Core Modules (2.4.2)

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>

Static Public Member Functions

static Object * create (const Dune::GeometryType &gt, const Key &key)
 dynamically create objects More...
 
template<class Topology >
static Object * create (const Key &key)
 statically create objects More...
 
static void release (Object *object)
 release the object returned by the create methods More...
 

Detailed Description

template<class 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 Function Documentation

◆ create() [1/2]

template<class Factory >
static Object* Dune::TopologySingletonFactory< Factory >::create ( const Dune::GeometryType gt,
const Key &  key 
)
inlinestatic

dynamically create objects

References Dune::FloatCmp::gt().

◆ create() [2/2]

template<class Factory >
template<class Topology >
static Object* Dune::TopologySingletonFactory< Factory >::create ( const Key &  key)
inlinestatic

statically create objects

◆ release()

template<class Factory >
static void Dune::TopologySingletonFactory< Factory >::release ( Object *  object)
inlinestatic

release the object returned by the create methods


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 19, 22:31, 2024)