tfel
Loading...
Searching...
No Matches
mfront::MFrontGerminalModelInterface Struct Referencefinal
Inheritance diagram for mfront::MFrontGerminalModelInterface:
mfront::MFrontPleiadesModelInterfaceBase mfront::AbstractModelInterface

Public Member Functions

std::pair< bool, tokens_iterator > treatKeyword (const std::string &, const std::vector< std::string > &, tokens_iterator, const tokens_iterator) override
Public Member Functions inherited from mfront::MFrontPleiadesModelInterfaceBase
void setOptions (const DataMap &opts) override
 give options to the interface
void declareReservedNames (std::set< std::string > &) override
void getTargetsDescription (TargetsDescription &, const ModelDescription &) override
 : fill the target descripton
void writeOutputFiles (const FileDescription &, const ModelDescription &) override
Public Member Functions inherited from mfront::AbstractModelInterface
virtual ~AbstractModelInterface ()
 desctructor

Static Public Member Functions

static std::string getName ()

Additional Inherited Members

Public Types inherited from mfront::AbstractModelInterface
using CxxTokenizer = tfel::utilities::CxxTokenizer
 a simple alias
using TokensContainer = CxxTokenizer::TokensContainer
 a simple alias
using tokens_iterator = CxxTokenizer::TokensContainer::const_iterator
 a simple alias
using DataMap = tfel::utilities::DataMap
 a simple alias
Protected Member Functions inherited from mfront::MFrontPleiadesModelInterfaceBase
virtual void openOutputFiles ()
virtual void closeOutputFiles ()
virtual void generateOutputFiles (const FileDescription &, const ModelDescription &)
virtual void writeHeaderFile (const FileDescription &, const ModelDescription &)
virtual void writeSrcFile (const FileDescription &, const ModelDescription &)
virtual void writeAssignDefaultValue (const VariableDescription &)
virtual std::string getGenTypeMethod (const std::string &type) const
virtual void writeGetGlobalParameter (const VariableDescription &, const ModelDescription &)
virtual void writeFunctionCall (const ModelDescription &, const std::vector< ModelDescription::Function > &)
virtual void writeInitializeOutputMethod (const ModelDescription &)
virtual void writeInitializeInputMethod (const ModelDescription &)
Protected Attributes inherited from mfront::MFrontPleiadesModelInterfaceBase
std::set< std::string > domains
std::ofstream headerFile
std::ofstream srcFile
std::string headerFileName
std::string srcFileName
bool hasDefaultConstructor
bool hasSpecializedDomain

Member Function Documentation

◆ treatKeyword()

std::pair< bool, tokens_iterator > mfront::MFrontGerminalModelInterface::treatKeyword ( const std::string & ,
const std::vector< std::string > & ,
tokens_iterator ,
const tokens_iterator  )
overridevirtual
Parameters
[in]k: keyword 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::AbstractModelInterface.


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