gridripper::math::expr::StkOp Class Reference

A general stack operation. More...

Inheritance diagram for gridripper::math::expr::StkOp:

gridripper::math::expr::StkFunc gridripper::math::expr::Expr gridripper::math::expr::StkArg gridripper::math::expr::StkConst gridripper::math::expr::StkVar

List of all members.

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 ()


Detailed Description

A general stack operation.

Gets some arguments from the stack, and replaces them with return values.

Version:
GridRipper 0.5, 11/15/2008
Since:
GROMIT 0.2 (2001)
Author:
Peter Csizmadia

Member Function Documentation

abstract String gridripper::math::expr::StkOp::getOpName (  )  [pure virtual]

Gets the operation name.

Implemented in gridripper::math::expr::StkFunc.

abstract int gridripper::math::expr::StkOp::getArgCount (  )  [pure virtual]

Gets the number of arguments.

Implemented in gridripper::math::expr::StkFunc.

abstract void gridripper::math::expr::StkOp::evalStack ( StkPointer  p  )  [pure virtual]


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:47:29 2009 for GridRipper by  doxygen 1.5.6