AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::CompilerWrapper Class Reference

Detailed Description

Definition at line 17 of file CompilerWrapper.h.

Public Member Functions

 CompilerWrapper ()
virtual ~CompilerWrapper ()=default
void generateSource (const CompiledExpressionBase &expression, const std::string &fname)
bool compile (CompiledExpressionBase &expression, const std::string &fname="")
bool compile (std::vector< CompiledExpressionBase * > &expression, const std::string &fname="", const std::map< std::string, std::string > &metadata_functions={})
void compileSource (const std::string &fname, const std::string &oname)
void preamble (std::ostream &os) const
void addHeader (const std::string &include)
void addPythonBindings ()
void registerParameter (const std::string &name)
void print () const
std::string remove_namespace (const std::string &name)

Protected Attributes

Property< bool > m_verbose
Inheritance diagram for AmpGen::CompilerWrapper:
AmpGen::Configurable< CompilerWrapper > AmpGen::ConfigurableBase

Constructor & Destructor Documentation

◆ CompilerWrapper()

AmpGen::CompilerWrapper::CompilerWrapper ( )
explicit

◆ ~CompilerWrapper()

virtual AmpGen::CompilerWrapper::~CompilerWrapper ( )
virtualdefault

Member Function Documentation

◆ addHeader()

void AmpGen::CompilerWrapper::addHeader ( const std::string & include)
inline

Definition at line 27 of file CompilerWrapper.h.

◆ addPythonBindings()

void AmpGen::CompilerWrapper::addPythonBindings ( )
inline

Definition at line 28 of file CompilerWrapper.h.

◆ compile() [1/2]

bool AmpGen::CompilerWrapper::compile ( CompiledExpressionBase & expression,
const std::string & fname = "" )

◆ compile() [2/2]

bool AmpGen::CompilerWrapper::compile ( std::vector< CompiledExpressionBase * > & expression,
const std::string & fname = "",
const std::map< std::string, std::string > & metadata_functions = {} )

◆ compileSource()

void AmpGen::CompilerWrapper::compileSource ( const std::string & fname,
const std::string & oname )

◆ generateSource()

void AmpGen::CompilerWrapper::generateSource ( const CompiledExpressionBase & expression,
const std::string & fname )

◆ preamble()

void AmpGen::CompilerWrapper::preamble ( std::ostream & os) const

◆ print()

void AmpGen::ConfigurableBase::print ( ) const
inlineinherited

Definition at line 12 of file ConfigurableBase.h.

◆ registerParameter()

void AmpGen::ConfigurableBase::registerParameter ( const std::string & name)
inlineinherited

Definition at line 10 of file ConfigurableBase.h.

◆ remove_namespace()

std::string AmpGen::ConfigurableBase::remove_namespace ( const std::string & name)
inherited

Member Data Documentation

◆ m_verbose

Property<bool> AmpGen::Configurable< CompilerWrapper >::m_verbose
protectedinherited

Definition at line 17 of file Configurable.h.


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