Parser Namespace Reference


Classes

struct  lazy_pow_
struct  lazy_mod_
struct  lazy_if_
struct  lazy_ufunc_
struct  grammar

Typedefs

typedef std::map< const char *,
double > 
ConstantMap

Functions

const double deg (const double d)
const double rad (const double d)
bool parse (std::string::const_iterator &iter, std::string::const_iterator end, const grammar &g, double &result)
bool ParseExpression (const std::string &expression, double &result, const ConstantMap &constants)
void CleanUpParser ()


Typedef Documentation

typedef std::map<const char*, double> Parser::ConstantMap

Definition at line 38 of file ParseExp.h.


Function Documentation

const double Parser::deg ( const double  d  ) 

Definition at line 678 of file ParseExp.cpp.

Referenced by Parser::grammar::ufunc_::ufunc_().

const double Parser::rad ( const double  d  ) 

Definition at line 684 of file ParseExp.cpp.

Referenced by Parser::grammar::ufunc_::ufunc_().

bool Parser::parse ( std::string::const_iterator &  iter,
std::string::const_iterator  end,
const grammar &  g,
double &  result 
)

Definition at line 807 of file ParseExp.cpp.

Referenced by ParseExpression().

bool Parser::ParseExpression ( const std::string expression,
double &  result,
const ConstantMap constants = ConstantMap() 
)

Definition at line 821 of file ParseExp.cpp.

References parse().

Referenced by UpdateSingleVar().

void Parser::CleanUpParser (  ) 

Definition at line 828 of file ParseExp.cpp.


Generated on 11 Feb 2016 for Hugintrunk by  doxygen 1.4.7