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

Public Member Functions

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
void writeInterfaceSymbol (std::ostream &, const MaterialPropertyDescription &) const override
 ~Fortran03MaterialPropertyInterface () override
 destructor
Public Member Functions inherited from mfront::CMaterialPropertyInterfaceBase
 CMaterialPropertyInterfaceBase ()
 constructor
void setOptions (const DataMap &) override
 give options to the interface
 ~CMaterialPropertyInterfaceBase () override
 destructor
Public Member Functions inherited from mfront::AbstractMaterialPropertyInterface
virtual ~AbstractMaterialPropertyInterface ()
 destructor

Static Public Member Functions

static std::string getName ()
Static Public Member Functions inherited from mfront::CMaterialPropertyInterfaceBase
static VariableDescriptionContainer::size_type getVariableNumber (const MaterialPropertyDescription &, const std::string &)

Additional Inherited Members

Public Types inherited from mfront::AbstractMaterialPropertyInterface
using DataMap = tfel::utilities::DataMap
 a simple alias
using tokens_iterator
 a simple alias
Protected Member Functions inherited from mfront::CMaterialPropertyInterfaceBase
virtual std::vector< std::string > getSupportedFloatingPointTypes () const
virtual bool shallGenerateOverloadedFunctionForQuantities () const
 if the material property supports quantities, this methods returns if an overloaded function supporting quantities shall be generated.
virtual void writeMaterialPropertyBody (std::ostream &, const MaterialPropertyDescription &, const FileDescription &, const std::string_view, const bool) const
 write the body of the material property function
virtual void writeMaterialPropertyCheckBoundsBody (std::ostream &, const MaterialPropertyDescription &, const std::string_view) const
 write the body of the check bounds function
virtual void writeFileDescriptionSymbols (std::ostream &, const MaterialPropertyDescription &, const FileDescription &) const
virtual void writeValidatorSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeCompatibilityModeSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeBuildIdentifierSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeEntryPointSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeTFELVersionSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeUnitSystemSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeLawSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeMaterialSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeMaterialKnowledgeTypeSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeVariablesNamesSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeVariablesBoundsSymbols (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeHeaderPreprocessorDirectives (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeCErrorTreatment (std::ostream &, const MaterialPropertyDescription &, const std::string_view, const bool) const
virtual void writeCxxTryBlock (std::ostream &) const
 write the try statement before the material property body
virtual void writeCxxCatchBlock (std::ostream &, const MaterialPropertyDescription &, const std::string_view, const bool) const
 write catch blocks before the material property body
virtual void returnInvalidValue (std::ostream &, std::string_view, const MaterialPropertyDescription &, const std::string_view, const bool) const
 write catch blocks before the material property body
virtual std::string getCallingConvention () const
virtual std::string getSymbolName (const MaterialPropertyDescription &) const
virtual void writeHeaderFile (const MaterialPropertyDescription &, const FileDescription &) const
 : write the source file. The headerFile member has been opened appropriately and will be closed after the call.
virtual void writeSrcFile (const MaterialPropertyDescription &, const FileDescription &) const
 : write the source file. The srcFile member has been opened appropriately and will be closed after the call.

Member Function Documentation

◆ getTargetsDescription()

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

: fill the target descripton

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

Implements mfront::AbstractMaterialPropertyInterface.

◆ treatKeyword()

std::pair< bool, tokens_iterator > mfront::Fortran03MaterialPropertyInterface::treatKeyword ( const std::string & ,
const std::vector< std::string > & ,
tokens_iterator ,
const tokens_iterator  )
nodiscardoverridevirtual
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.

◆ writeInterfaceSymbol()

void mfront::Fortran03MaterialPropertyInterface::writeInterfaceSymbol ( std::ostream & ,
const MaterialPropertyDescription &  ) const
overridevirtual
Parameters
[out]osoutput file stream
[in]mpdmaterial property description

Implements mfront::CMaterialPropertyInterfaceBase.

◆ writeOutputFiles()

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

generate the output files

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

Reimplemented from mfront::CMaterialPropertyInterfaceBase.


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