Lines Matching refs:AbstractClass
18 template <class AbstractClass> in NAMESPACE_BEGIN()
23 virtual AbstractClass * CreateObject() const =0; in NAMESPACE_BEGIN()
30 template <class AbstractClass, class ConcreteClass>
31 class DefaultObjectFactory : public ObjectFactory<AbstractClass>
34 AbstractClass * CreateObject() const in CreateObject()
44 template <class AbstractClass, int instance=0>
58 delete (ObjectFactory<AbstractClass> *)i->second; in ~ObjectFactoryRegistry()
63 void RegisterFactory(const std::string &name, ObjectFactory<AbstractClass> *factory) in RegisterFactory()
68 const ObjectFactory<AbstractClass> * GetFactory(const char *name) const in GetFactory()
71 return i == m_map.end() ? NULL : (ObjectFactory<AbstractClass> *)i->second; in GetFactory()
74 AbstractClass *CreateObject(const char *name) const in CreateObject()
76 const ObjectFactory<AbstractClass> *factory = GetFactory(name); in CreateObject()
93 …CRYPTOPP_NOINLINE static ObjectFactoryRegistry<AbstractClass, instance> & Registry(CRYPTOPP_NOINLI…
101 template <class AbstractClass, int instance>
102 ObjectFactoryRegistry<AbstractClass, instance> & ObjectFactoryRegistry<AbstractClass, instance>::Re… in Registry()
104 static ObjectFactoryRegistry<AbstractClass, instance> s_registry; in Registry()
113 template <class AbstractClass, class ConcreteClass, int instance = 0>
120 ObjectFactoryRegistry<AbstractClass, instance>::Registry().
121 RegisterFactory(n, new DefaultObjectFactory<AbstractClass, ConcreteClass>);