OpcUaCanOpen
CANopen OPC-UA server
CompileMathExpression.h File Reference
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/lex_lexertl.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_fusion.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/bind/bind.hpp>
#include "TMath.h"
#include <iostream>
#include <ostream>
#include <fstream>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  variableSet
 
struct  OpcUa_Formula_Tokens< Lexer >
 
struct  OpcUa_Formula_Grammar_type< Iterator, Skipper >
 
struct  OpcUaFormula
 

Typedefs

typedef std::string::iterator base_iterator_type
 
typedef lex::lexertl::token< base_iterator_type, boost::mpl::vector< int, double, std::string > > lex_token_type
 
typedef lex::lexertl::lexer< lex_token_typelexer_type
 
typedef boost::variant< struct funcTable, int, double, std::string > operand_type
 
typedef std::vector< operand_typeoperands_type_set
 

Functions

std::ostream & operator<< (std::ostream &out, const funcTable &op)
 
 BOOST_FUSION_ADAPT_STRUCT (funcTable,(unsigned int, iden)(std::string, name)(int, num_param)(ptr_func, p_func))
 

Typedef Documentation

◆ base_iterator_type

typedef std::string::iterator base_iterator_type

Definition at line 24 of file CompileMathExpression.h.

◆ lex_token_type

typedef lex::lexertl::token<base_iterator_type, boost::mpl::vector<int,double,std::string> > lex_token_type

Definition at line 25 of file CompileMathExpression.h.

◆ lexer_type

typedef lex::lexertl::lexer<lex_token_type> lexer_type

Definition at line 26 of file CompileMathExpression.h.

◆ operand_type

typedef boost::variant<struct funcTable,int,double, std::string> operand_type

Definition at line 60 of file CompileMathExpression.h.

◆ operands_type_set

typedef std::vector<operand_type> operands_type_set

Definition at line 62 of file CompileMathExpression.h.

Function Documentation

◆ BOOST_FUSION_ADAPT_STRUCT()

BOOST_FUSION_ADAPT_STRUCT ( funcTable  ,
(unsigned int, iden)(std::string, name)(int, num_param)(ptr_func, p_func)   
)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const funcTable op 
)
inline

Definition at line 46 of file CompileMathExpression.h.