AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
Preconditioner< M, X, Y, PreconImpl >::Creator Struct Reference

A creator to be used instead of the constructor. More...

#include <Preconditioner.hpp>

Inherits CreatorInterfaceName< Super >.

Public Member Functions

std::unique_ptr< SupercreateWithString (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...
 

Detailed Description

template<class M, class X, class Y, template< class > class PreconImpl>
struct AMDiS::Preconditioner< M, X, Y, PreconImpl >::Creator

A creator to be used instead of the constructor.

Member Function Documentation

◆ createWithString()

std::unique_ptr< Super > createWithString ( std::string  )
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 >.


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