Crypto++ 8.9
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
DefaultObjectFactory< AbstractClass, ConcreteClass > Class Template Reference

Object factory for registering objects. More...

#include <factory.h>

+ Inheritance diagram for DefaultObjectFactory< AbstractClass, ConcreteClass >:

Public Member Functions

AbstractClass * CreateObject () const
 

Detailed Description

template<class AbstractClass, class ConcreteClass>
class DefaultObjectFactory< AbstractClass, ConcreteClass >

Object factory for registering objects.

Template Parameters
AbstractClassBase class interface of the object
ConcreteClassClass object

Definition at line 29 of file factory.h.

Member Function Documentation

◆ CreateObject()

template<class AbstractClass , class ConcreteClass >
AbstractClass * DefaultObjectFactory< AbstractClass, ConcreteClass >::CreateObject ( ) const
inlinevirtual

Implements ObjectFactory< AbstractClass >.

Definition at line 32 of file factory.h.


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