A creator to be used instead of the constructor. More...
#include <Preconditioner.hpp>
Inherits CreatorInterfaceName< Super >.
Public Member Functions | |
std::unique_ptr< Super > | createWithString (std::string) override |
Must be implemented by sub classes of CreatorInterfaceName. Creates a new instance of the sub class of BaseClass by passing a string to the constructor. More... | |
Public Member Functions inherited from CreatorInterfaceName< Super > | |
std::unique_ptr< Super > | create () final |
Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass. More... | |
virtual std::unique_ptr< Super > | createWithString (std::string)=0 |
Must be implemented by sub classes of CreatorInterfaceName. Creates a new instance of the sub class of BaseClass by passing a string to the constructor. More... | |
virtual std::unique_ptr< Super > | create ()=0 |
Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass. More... | |
A creator to be used instead of the constructor.
|
inlineoverridevirtual |
Must be implemented by sub classes of CreatorInterfaceName. Creates a new instance of the sub class of BaseClass by passing a string to the constructor.
Implements CreatorInterfaceName< Super >.