Crypto++  5.6.5
Free C++ class library of cryptographic schemes
Classes | Public Member Functions | Static Public Member Functions | List of all members
ObjectFactoryRegistry< AbstractClass, instance > Class Template Reference

Object factory registry. More...

Classes

class  FactoryNotFound
 

Public Member Functions

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 ObjectFactoryRegistry< AbstractClass, instance > & Registry (...)
 

Detailed Description

template<class AbstractClass, int instance = 0>
class ObjectFactoryRegistry< AbstractClass, instance >

Object factory registry.

Template Parameters
AbstractClassBase class interface of the object
instanceunique identifier

Definition at line 45 of file factory.h.


The documentation for this class was generated from the following file: