![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
Object factory registry. More...
#include <factory.h>
Classes | |
| class | FactoryNotFound |
Public Member Functions | |
| ~ObjectFactoryRegistry () | |
| void | RegisterFactory (const std::string &name, ObjectFactory< AbstractClass > *factory) |
| const ObjectFactory< AbstractClass > * | GetFactory (const char *name) const |
| AbstractClass * | CreateObject (const char *name) const |
| std::vector< std::string > | GetFactoryNames () const |
Static Public Member Functions | |
| static CRYPTOPP_NOINLINE ObjectFactoryRegistry< AbstractClass, instance > & | Registry (CRYPTOPP_NOINLINE_DOTDOTDOT) |
Private Types | |
| typedef std::map< std::string, void * > | Map |
Private Attributes | |
| Map | m_map |
Object factory registry.
| AbstractClass | Base class interface of the object |
| instance | unique identifier |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
private |
1.8.11