tfel
Loading...
Searching...
No Matches
mfront::MaterialPropertyInterfaceFactory Struct Reference

Public Types

typedef std::shared_ptr< AbstractMaterialPropertyInterface >(* InterfaceCreator) ()

Public Member Functions

 MaterialPropertyInterfaceFactory (const MaterialPropertyInterfaceFactory &)=delete
 MaterialPropertyInterfaceFactory (MaterialPropertyInterfaceFactory &&)=delete
MaterialPropertyInterfaceFactory & operator= (const MaterialPropertyInterfaceFactory &)=delete
MaterialPropertyInterfaceFactory & operator= (MaterialPropertyInterfaceFactory &&)=delete
std::vector< std::string > getRegistredInterfaces () const
void registerInterfaceCreator (const std::string &, InterfaceCreator)
void registerInterfaceAlias (const std::string &, const std::string &)
void registerInterfaceDependency (const std::string &, const std::string &)
std::vector< std::string > getInterfaceDependencies (const std::string &) const
std::string getUniqueNameFromAlias (const std::string &) const
bool exists (const std::string &) const
std::shared_ptr< AbstractMaterialPropertyInterface > getInterface (const std::string &) const
 ~MaterialPropertyInterfaceFactory ()
 destructor

Static Public Member Functions

static MaterialPropertyInterfaceFactory & getMaterialPropertyInterfaceFactory ()

Member Function Documentation

◆ exists()

bool mfront::MaterialPropertyInterfaceFactory::exists ( const std::string & ) const
nodiscard
Returns
true if the given interface exists
Parameters
[in]n: interface name

◆ getInterface()

std::shared_ptr< AbstractMaterialPropertyInterface > mfront::MaterialPropertyInterfaceFactory::getInterface ( const std::string & ) const
nodiscard
Returns
a newly created interface
Parameters
[in]n: interface name

◆ getUniqueNameFromAlias()

std::string mfront::MaterialPropertyInterfaceFactory::getUniqueNameFromAlias ( const std::string & ) const
Returns
the unique name associated with the interface
Parameters
[in]ninterface name

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