#include <StkOp.h>

Public Member Functions | |
| virtual const string & | getOpName () const =0 |
| Gets the operation name. | |
| virtual int | getArgCount () const =0 |
| Gets the number of arguments. | |
| virtual int | getStackIncrement () const =0 |
| Gets difference in the value of the stack pointer before and after the evaluation. | |
| virtual bool | dependsOn (const StkOp &f) const =0 |
Returns true if the operation depends on the specified function. | |
| virtual void | evalStack (GReal_t *&p) const =0 |
| Evaluates the stack. | |
| virtual bool | equalsOp (const StkOp &other) const =0 |
Should return true if two operations have the same name, number of arguments and stack increment. | |
| virtual string | getClassName () const =0 |
| Returns the class name. | |
Gets some arguments from the stack, and replaces them with return values.
| virtual const string& gridripper::math::expr::StkOp::getOpName | ( | ) | const [pure virtual] |
| virtual int gridripper::math::expr::StkOp::getArgCount | ( | ) | const [pure virtual] |
| virtual void gridripper::math::expr::StkOp::evalStack | ( | GReal_t *& | p | ) | const [pure virtual] |
Evaluates the stack.
| p | the stack pointer |
Implemented in gridripper::math::expr::Expr, gridripper::math::expr::StkArg, gridripper::math::expr::StkConst, gridripper::math::expr::StkFunc, and gridripper::math::expr::StkVar.
| virtual string gridripper::math::expr::StkOp::getClassName | ( | ) | const [pure virtual] |
Returns the class name.
Implemented in gridripper::math::expr::Expr, gridripper::math::expr::StkArg, gridripper::math::expr::StkConst, gridripper::math::expr::StkFunc, and gridripper::math::expr::StkVar.
1.5.6