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

a class handling global options passed to domain specific languages. Those global options are generally defined by command-line arguments More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/GlobalDomainSpecificLanguageOptionsManager.hxx>

Inheritance diagram for mfront::GlobalDomainSpecificLanguageOptionsManager:
mfront::ConfigurationManager

Public Member Functions

void addDSLOption (const std::string &, const std::string &)
 add an option that will be passed to all DSLs
void addMaterialPropertyDSLOption (const std::string &, const std::string &)
 add an option that will be passed to DSLs related to material properties.
void addBehaviourDSLOption (const std::string &, const std::string &)
 add an option that will be passed to DSLs related to behaviours.
void addModelDSLOption (const std::string &, const std::string &)
 add an option that will be passed to DSLs related to models.
void addDSLOption (const std::string &, const tfel::utilities::Data &)
 add an option that will be passed to all DSLs
void addMaterialPropertyDSLOption (const std::string &, const tfel::utilities::Data &)
 add an option that will be passed to DSLs related to material properties.
void addBehaviourDSLOption (const std::string &, const tfel::utilities::Data &)
 add an option that will be passed to DSLs related to behaviours.
void addModelDSLOption (const std::string &, const tfel::utilities::Data &)
 add an option that will be passed to DSLs related to models.
tfel::utilities::DataMap getMaterialPropertyDSLOptions () const
tfel::utilities::DataMap getBehaviourDSLOptions () const
tfel::utilities::DataMap getModelDSLOptions () const

Protected Member Functions

 GlobalDomainSpecificLanguageOptionsManager ()
 default constructor
 ~GlobalDomainSpecificLanguageOptionsManager ()
 destructor

Detailed Description

a class handling global options passed to domain specific languages. Those global options are generally defined by command-line arguments

Note
this class can't be instantiated directly: it is a base class of the ConfigurationManager class, whose unique instance is returned by ConfigurationManager::get.

Member Function Documentation

◆ addBehaviourDSLOption() [1/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addBehaviourDSLOption ( const std::string & ,
const std::string &  )

add an option that will be passed to DSLs related to behaviours.

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addBehaviourDSLOption() [2/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addBehaviourDSLOption ( const std::string & ,
const tfel::utilities::Data &  )

add an option that will be passed to DSLs related to behaviours.

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addDSLOption() [1/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addDSLOption ( const std::string & ,
const std::string &  )

add an option that will be passed to all DSLs

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addDSLOption() [2/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addDSLOption ( const std::string & ,
const tfel::utilities::Data &  )

add an option that will be passed to all DSLs

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addMaterialPropertyDSLOption() [1/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addMaterialPropertyDSLOption ( const std::string & ,
const std::string &  )

add an option that will be passed to DSLs related to material properties.

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addMaterialPropertyDSLOption() [2/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addMaterialPropertyDSLOption ( const std::string & ,
const tfel::utilities::Data &  )

add an option that will be passed to DSLs related to material properties.

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addModelDSLOption() [1/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addModelDSLOption ( const std::string & ,
const std::string &  )

add an option that will be passed to DSLs related to models.

Parameters
[in]nname of the option
[in]ovalue of the option

◆ addModelDSLOption() [2/2]

void mfront::GlobalDomainSpecificLanguageOptionsManager::addModelDSLOption ( const std::string & ,
const tfel::utilities::Data &  )

add an option that will be passed to DSLs related to models.

Parameters
[in]nname of the option
[in]ovalue of the option

◆ getBehaviourDSLOptions()

tfel::utilities::DataMap mfront::GlobalDomainSpecificLanguageOptionsManager::getBehaviourDSLOptions ( ) const
nodiscard
Returns
the global options to be passed to DSLs related to behaviours.

◆ getMaterialPropertyDSLOptions()

tfel::utilities::DataMap mfront::GlobalDomainSpecificLanguageOptionsManager::getMaterialPropertyDSLOptions ( ) const
nodiscard
Returns
the global options to be passed to DSLs related to material properties.

◆ getModelDSLOptions()

tfel::utilities::DataMap mfront::GlobalDomainSpecificLanguageOptionsManager::getModelDSLOptions ( ) const
nodiscard
Returns
the global options to be passed to DSLs related to models.

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