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

Detailed Description

Definition at line 16 of file CompilerWrapper.h.

Public Member Functions

 CompilerWrapper (const bool &verbose=false)
 
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 setVerbose ()
 
void preamble (std::ostream &os) const
 
void addHeader (const std::string &include)
 
void addPythonBindings ()
 

Constructor & Destructor Documentation

◆ CompilerWrapper()

AmpGen::CompilerWrapper::CompilerWrapper ( const bool & verbose = false)
explicit

Member Function Documentation

◆ addHeader()

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

Definition at line 28 of file CompilerWrapper.h.

◆ addPythonBindings()

void AmpGen::CompilerWrapper::addPythonBindings ( )
inline

Definition at line 29 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

◆ setVerbose()

void AmpGen::CompilerWrapper::setVerbose ( )
inline

Definition at line 26 of file CompilerWrapper.h.


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