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

A general stack operation. More...

#include <StkOp.h>

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

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.


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

virtual const string& gridripper::math::expr::StkOp::getOpName (  )  const [pure virtual]

Gets the operation name.

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

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

Gets the number of arguments.

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

virtual void gridripper::math::expr::StkOp::evalStack ( GReal_t *&  p  )  const [pure virtual]

virtual string gridripper::math::expr::StkOp::getClassName (  )  const [pure virtual]


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

Generated on Wed Jun 17 18:46:56 2009 for GridRipper by  doxygen 1.5.6