tfel
Loading...
Searching...
No Matches
mfront::PythonMaterialPropertyInterface Struct Reference
Inheritance diagram for mfront::PythonMaterialPropertyInterface:
mfront::AbstractMaterialPropertyInterface

Public Member Functions

void setOptions (const DataMap &) override
 give options to the interface
std::pair< bool, tokens_iterator > treatKeyword (const std::string &, const std::vector< std::string > &, tokens_iterator, const tokens_iterator) override
void getTargetsDescription (TargetsDescription &, const MaterialPropertyDescription &) const override
 : fill the target descripton
void writeOutputFiles (const MaterialPropertyDescription &, const FileDescription &) const override
 generate the output files
 ~PythonMaterialPropertyInterface () override
 destructor
Public Member Functions inherited from mfront::AbstractMaterialPropertyInterface
virtual ~AbstractMaterialPropertyInterface ()
 destructor

Static Public Member Functions

static std::string getName ()

Additional Inherited Members

Public Types inherited from mfront::AbstractMaterialPropertyInterface
using DataMap = tfel::utilities::DataMap
 a simple alias
using tokens_iterator
 a simple alias

Member Function Documentation

◆ getTargetsDescription()

void mfront::PythonMaterialPropertyInterface::getTargetsDescription ( TargetsDescription & ,
const MaterialPropertyDescription &  ) const
overridevirtual

: fill the target descripton

Parameters
[out]dtarget description
[in]mpdmaterial property description

Implements mfront::AbstractMaterialPropertyInterface.

◆ setOptions()

void mfront::PythonMaterialPropertyInterface::setOptions ( const DataMap & )
overridevirtual

give options to the interface

Those options may have been read from a configuration file or from the command line

Parameters
[in]optsoptions

Implements mfront::AbstractMaterialPropertyInterface.

◆ treatKeyword()

std::pair< bool, tokens_iterator > mfront::PythonMaterialPropertyInterface::treatKeyword ( const std::string & ,
const std::vector< std::string > & ,
tokens_iterator ,
const tokens_iterator  )
overridevirtual
Parameters
[in]k: keyword to be treated
[in]ilist of interfaces to which the keyword is restricted
[in]p: iterator to the current token
[in]pe: iterator past the end of the file
Returns
a pair. The first entry is true if the keyword was treated by the interface. The second entry is an iterator after the last token treated.

Implements mfront::AbstractMaterialPropertyInterface.

◆ writeOutputFiles()

void mfront::PythonMaterialPropertyInterface::writeOutputFiles ( const MaterialPropertyDescription & ,
const FileDescription &  ) const
overridevirtual

generate the output files

Parameters
[in]mpdmaterial property description
[in]fdmfront file description

Implements mfront::AbstractMaterialPropertyInterface.


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