![]() |
Belle II Software
release-08-02-05
|
Example struct to be used with the FormulaParser to create a string representation of the formula, mainly for testing and debugging. More...
#include <FormulaParser.h>
Public Types | |
| typedef std::string | type |
| Create strings as output of FormulaParser. | |
| typedef FormulaParserBase::EOperator | Op |
| Shorthand for the operator enum. | |
Public Member Functions | |
| type | operator() (const std::string &name) |
| Create output type from a string identifier: let's quote it. | |
| type | operator() (double value) |
| Create output type from a double: just convert to string. | |
| type | operator() (Op op, const type &a, const type &b) |
| Apply operator to two output types: just add brackets and operator. | |
| type | operator() (Op op, double a, const type &b) |
| Apply operator to double and output type. | |
| type | operator() (Op op, const type &a, double b) |
| Apply operator to output type and double. | |
Example struct to be used with the FormulaParser to create a string representation of the formula, mainly for testing and debugging.
Definition at line 203 of file FormulaParser.h.