Classes | Namespaces | Macros | Typedefs | Variables
MathExpressionGrammar.h File Reference

MathExpression evaluating grammar definition. More...

#include <utl/SymbolTable.h>
#include <utl/ExpressionParser.h>
#include <utl/AugerException.h>
#include <utl/ErrorLogger.h>
#include <boost/version.hpp>
#include <boost/spirit.hpp>
#include <boost/spirit/phoenix/binders.hpp>
#include <boost/spirit/phoenix/primitives.hpp>
#include <boost/spirit/phoenix/functions.hpp>
#include <string>
#include <cmath>
#include <utl/AugerUnits.h>

Go to the source code of this file.

Classes

struct  utl::MathExpressionGrammar::definition< ScannerT >
 Boost spirit definition template (Read Boost Spirit documentation) More...
 
struct  utl::F_cos_Impl
 
struct  utl::F_exp_Impl
 
struct  utl::F_log10_Impl
 
struct  utl::F_log_Impl
 
struct  utl::F_sin_Impl
 
struct  utl::F_tan_Impl
 
struct  utl::MathExpressionGrammar
 
struct  utl::PowerToImpl2
 
struct  utl::PowerToImpl2::result< T1, T2 >
 
struct  utl::F_cos_Impl::result< T1 >
 
struct  utl::F_tan_Impl::result< T1 >
 
struct  utl::F_sin_Impl::result< T1 >
 
struct  utl::F_log_Impl::result< T1 >
 
struct  utl::F_log10_Impl::result< T1 >
 
struct  utl::F_exp_Impl::result< T1 >
 
struct  utl::MathExpressionGrammar::SAssignmentClosure
 Assignment closure set. More...
 
struct  utl::MathExpressionGrammar::SStringClosure
 String closure set. More...
 
struct  utl::MathExpressionGrammar::SValueClosure
 Value closure set. More...
 

Namespaces

 utl
 

Macros

#define FIMP_std(name)
 

Typedefs

typedef utl::ExpressionParser
< MathExpressionGrammar,
AugerUnits > 
utl::FunctionParser
 

Variables

const phoenix::function
< F_cos_Impl > 
utl::F_cos = F_cos_Impl()
 
const phoenix::function
< F_exp_Impl > 
utl::F_exp = F_exp_Impl()
 
const phoenix::function
< F_log_Impl > 
utl::F_log = F_log_Impl()
 
const phoenix::function
< F_log10_Impl > 
utl::F_log10 = F_log10_Impl()
 
const phoenix::function
< F_sin_Impl > 
utl::F_sin = F_sin_Impl()
 
const phoenix::function
< F_tan_Impl > 
utl::F_tan = F_tan_Impl()
 
const phoenix::function
< PowerToImpl2 > 
utl::power2 = PowerToImpl2()
 

Detailed Description

MathExpression evaluating grammar definition.

Author
Ralf Ulrich
Date
14 Jul 2017

Definition in file MathExpressionGrammar.h.

Macro Definition Documentation

#define FIMP_std (   name)
Value:
struct F_ ## name ## _Impl { \
template<typename T1> \
struct result { typedef double type; }; \
template<typename T1> \
T1 operator()(T1& t1) const { return std::name(t1); } \
}; \
const phoenix::function<F_ ## name ## _Impl> F_ ## name = F_ ## name ## _Impl()
const Data result[]

Definition at line 41 of file MathExpressionGrammar.h.


, generated on Tue Sep 26 2023.