|
libMesh
|
Factory implementation class. More...
#include <factory.h>
Public Member Functions | |
| FactoryImp (const std::string &name) | |
| Constructor. More... | |
| ~FactoryImp ()=default | |
| Destructor. More... | |
Static Public Member Functions | |
| static std::unique_ptr< Base > | build (const std::string &name) |
| Builds an object of type Base identified by name. More... | |
Protected Member Functions | |
| template<> | |
| std::map< std::string, Factory< FunctionBase< Number > > *> & | factory_map () |
| template<> | |
| std::map< std::string, Factory< FunctionBase< Number > > *> & | factory_map () |
| template<> | |
| std::map< std::string, Factory< Partitioner > *> & | factory_map () |
Static Protected Member Functions | |
| static std::map< std::string, Factory< Base > * > & | factory_map () |
| Map from a name to a Factory<Base> * pointer. More... | |
Private Member Functions | |
| virtual std::unique_ptr< Base > | create () override |
Factory implementation class.
|
inline |
Constructor.
Takes a name as input.
Definition at line 95 of file factory.h.
|
default |
Destructor.
Empty.
|
inlinestaticinherited |
Builds an object of type Base identified by name.
Definition at line 129 of file factory.h.
References libMesh::Factory< Base >::create(), libMesh::err, and libMesh::Quality::name().
Referenced by main().
|
inlineoverrideprivatevirtual |
Implements libMesh::Factory< Base >.
|
protectedinherited |
Definition at line 38 of file partitioner_factory.C.
|
protectedinherited |
Definition at line 64 of file factoryfunction.C.
|
protectedinherited |
Definition at line 64 of file factoryfunction.C.
|
staticprotectedinherited |
Map from a name to a Factory<Base> * pointer.
1.8.14