Public Member Functions | |
abstract String | getOpName () |
Gets the operation name. | |
abstract int | getArgCount () |
Gets the number of arguments. | |
abstract int | getStackIncrement () |
Gets difference in the value of the stack pointer before and after the evaluation. | |
abstract boolean | dependsOn (StkOp f) |
Returns true if the operation depends on the specified function. | |
abstract void | evalStack (StkPointer p) |
Evaluates the stack. | |
abstract boolean | equalsOp (StkOp other) |
Should return true if two operations have the same name, number of arguments and stack increment. | |
abstract String | getClassName () |
Gets some arguments from the stack, and replaces them with return values.
abstract String gridripper::math::expr::StkOp::getOpName | ( | ) | [pure virtual] |
abstract int gridripper::math::expr::StkOp::getArgCount | ( | ) | [pure virtual] |
abstract void gridripper::math::expr::StkOp::evalStack | ( | StkPointer | p | ) | [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.