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

double deg (const double d)
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)
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

double Parser::deg ( const double  d  ) 

Definition at line 103 of file ParseExp.cpp.

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

double Parser::rad ( const double  d  ) 

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

Referenced by ParseExpression().

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

Definition at line 248 of file ParseExp.cpp.

Referenced by UpdateSingleVar().

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

Definition at line 255 of file ParseExp.cpp.

References parse().


Generated on 24 Oct 2014 for Hugintrunk by  doxygen 1.4.7