One element in a (reverse Polish) expression. More...
#include <cdynamicexpression.h>
Public Member Functions | |
void | operator= (const Elem &other) |
void | operator= (bool _b) |
void | operator= (int _i) |
void | operator= (short _i) |
void | operator= (long _l) |
void | operator= (double _d) |
void | setUnit (const char *s) |
void | operator= (const char *_s) |
void | operator= (cXMLElement *_x) |
void | operator= (cNEDMathFunction *_f) |
void | set (cNEDFunction *f, int argc) |
void | operator= (Functor *f) |
void | operator= (OpType _op) |
void | operator= (cExpression *_expr) |
int | compare (const Elem &other) const |
Friends | |
class | cDynamicExpression |
One element in a (reverse Polish) expression.
void cDynamicExpression::Elem::operator= | ( | Functor * | f | ) | [inline] |
Function object, with an interface not unlike cNEDFunction.
This object will be deleted by expression's destructor.
void cDynamicExpression::Elem::setUnit | ( | const char * | s | ) | [inline] |
Sets the unit of an Elem previously set to a double value.
The type must already be DBL, or an error gets thrown.