tfel
Loading...
Searching...
No Matches
mfront::DSLProxy< DSLType > Struct Template Reference

structure used to register a DSL generator More...

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

Public Member Functions

 DSLProxy ()
 default constructor
 DSLProxy (const std::string &)
 constructor
 DSLProxy (const std::vector< std::string > &)
 constructor

Static Public Member Functions

static std::shared_ptr< AbstractDSL > createDSL (const AbstractDSL::DSLOptions &)
 generate an intance of the DSL

Detailed Description

template<typename DSLType>
struct mfront::DSLProxy< DSLType >

structure used to register a DSL generator

Template Parameters
DSLTypetype of the DSL generated

Constructor & Destructor Documentation

◆ DSLProxy() [1/2]

template<typename DSLType>
mfront::DSLProxy< DSLType >::DSLProxy ( const std::string & a)
explicit

constructor

Parameters
[in]aalternative name for the DSL

◆ DSLProxy() [2/2]

template<typename DSLType>
mfront::DSLProxy< DSLType >::DSLProxy ( const std::vector< std::string > & aliases)
explicit

constructor

Parameters
[in]aliasesalternative names for the DSL

Member Function Documentation

◆ createDSL()

template<typename DSLType>
std::shared_ptr< AbstractDSL > mfront::DSLProxy< DSLType >::createDSL ( const AbstractDSL::DSLOptions & opts)
static

generate an intance of the DSL

Parameters
[in]optsoptions passed to the DSL constructor

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