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)


Typedef Documentation

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

Definition at line 34 of file ParseExp.h.


Function Documentation

const double Parser::deg ( const double  d  ) 

Definition at line 96 of file ParseExp.cpp.

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

const double Parser::rad ( const double  d  ) 

Definition at line 102 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 225 of file ParseExp.cpp.

Referenced by ParseExpression().

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

Definition at line 239 of file ParseExp.cpp.

References parse().

Referenced by UpdateSingleVar().


Generated on 30 Aug 2015 for Hugintrunk by  doxygen 1.4.7