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

Implements a interface for the PLEIADES 2.0 kernel. More...

#include </home/runner/work/tfel/tfel/mfront/tests/models/interfaces/include/MFront/PleiadesModelInterface-2.0.hxx>

Inheritance diagram for mfront::PleiadesModelInterface:
mfront::AbstractModelInterface

Public Member Functions

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

Static Public Member Functions

static std::string getName (void)

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

Detailed Description

Implements a interface for the PLEIADES 2.0 kernel.

Member Function Documentation

◆ declareReservedNames()

void mfront::PleiadesModelInterface::declareReservedNames ( std::set< std::string > & )
overridevirtual
Parameters
[out]namesreserved names

Implements mfront::AbstractModelInterface.

◆ getName()

std::string mfront::PleiadesModelInterface::getName ( void )
static
Returns
the name of the interface

◆ getTargetsDescription()

void mfront::PleiadesModelInterface::getTargetsDescription ( TargetsDescription & ,
const ModelDescription &  )
overridevirtual

: fill the target descripton

Parameters
[out]tdtarget description
[in]mdmodel description

Implements mfront::AbstractModelInterface.

◆ setOptions()

void mfront::PleiadesModelInterface::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::AbstractModelInterface.

◆ treatKeyword()

std::pair< bool, TokensContainer::const_iterator > mfront::PleiadesModelInterface::treatKeyword ( const std::string & ,
const std::vector< std::string > & ,
TokensContainer::const_iterator ,
const TokensContainer::const_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.

◆ writeOutputFiles()

void mfront::PleiadesModelInterface::writeOutputFiles ( const FileDescription & ,
const ModelDescription &  )
overridevirtual
Parameters
fdfile description
mdmodel description

Implements mfront::AbstractModelInterface.


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