CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
Inheritance diagram for MyEvaluator:
Public Member Functions | |
MyEvaluator () | |
bool | isOK () |
double | evaluate (const char *e) |
Definition at line 10 of file testBug90848.cc.
MyEvaluator::MyEvaluator | ( | ) | [inline] |
double MyEvaluator::evaluate | ( | const char * | e | ) | [inline] |
Evaluates the arithmetic expression given as character string. The expression may consist of numbers, variables and functions separated by arithmetic (+, - , /, *, ^, **) and logical operators (==, !=, >, >=, <, <=, &&, ||).
expression | input expression. |
Reimplemented from HepTool::Evaluator.
Definition at line 14 of file testBug90848.cc.
References HepTool::Evaluator::evaluate(), HepTool::Evaluator::OK, and HepTool::Evaluator::status().
Referenced by main().
bool MyEvaluator::isOK | ( | ) | [inline] |
Definition at line 13 of file testBug90848.cc.
References HepTool::Evaluator::OK, and HepTool::Evaluator::status().
Referenced by main().