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

a helper class which provides useful methods to build interfaces. More...

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

Inheritance diagram for mfront::InterfaceBase:
mfront::CastemInterface mfront::CyranoInterface mfront::AmitexInterface mfront::Castem21Interface

Protected Types

using TokensContainer = tfel::utilities::CxxTokenizer::TokensContainer
 a simple alias

Static Protected Member Functions

static void throwRuntimeError (TokensContainer::const_iterator &, const TokensContainer::const_iterator, const std::string &, const std::string &)
 throw a std::runtime_error
static void checkNotEndOfFile (TokensContainer::const_iterator &, const TokensContainer::const_iterator, const std::string &, const std::string &="")
static void readSpecifiedToken (TokensContainer::const_iterator &, const TokensContainer::const_iterator, const std::string &, const std::string &)
static std::vector< std::string > readArrayOfString (TokensContainer::const_iterator &, const TokensContainer::const_iterator, const std::string &)
static std::vector< std::string > readStringOrArrayOfString (TokensContainer::const_iterator &, const TokensContainer::const_iterator, const std::string &)

Detailed Description

a helper class which provides useful methods to build interfaces.

Member Function Documentation

◆ throwRuntimeError()

void mfront::InterfaceBase::throwRuntimeError ( TokensContainer::const_iterator & ,
const TokensContainer::const_iterator ,
const std::string & ,
const std::string &  )
staticprotected

throw a std::runtime_error

Parameters
[in]citerator to the current token
[in]eiterator past the last token
[in]mmethod
[in]msgerror message

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