AMDiS 2.11-git
The Adaptive Multi-Dimensional Simulation Toolbox
 
Loading...
Searching...
No Matches
CreatorInterfaceName< BaseClass > Class Template Referenceabstract

Interface for creators with name. More...

#include <CreatorInterface.hpp>

Inherits CreatorInterface< BaseClass >.

Public Member Functions

std::unique_ptr< BaseClass > create () final
 Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass.
 
virtual std::unique_ptr< BaseClass > 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.
 

Detailed Description

template<class BaseClass>
class AMDiS::CreatorInterfaceName< BaseClass >

Interface for creators with name.

Member Function Documentation

◆ create()

template<class BaseClass >
std::unique_ptr< BaseClass > create ( )
inlinefinalvirtual

Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass.

Implements CreatorInterface< BaseClass >.

◆ createWithString()

template<class BaseClass >
virtual std::unique_ptr< BaseClass > createWithString ( std::string  )
pure virtual

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