#include <Variables.h>
Public Member Functions | |
| MHIntegerAction (const char *name) | |
| virtual void | Initialise (MHParseNode *p, MHEngine *engine) |
| virtual void | Perform (MHEngine *engine) |
Protected Member Functions | |
| virtual void | PrintArgs (FILE *fd, int) const |
| virtual int | DoOp (int arg1, int arg2)=0 |
Protected Attributes | |
| MHGenericInteger | m_Operand |
Definition at line 171 of file Variables.h.
| MHIntegerAction::MHIntegerAction | ( | const char * | name | ) | [inline] |
Definition at line 174 of file Variables.h.
| void MHIntegerAction::Initialise | ( | MHParseNode * | p, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHElemAction.
Definition at line 557 of file Variables.cpp.
| void MHIntegerAction::Perform | ( | MHEngine * | engine | ) | [virtual] |
Implements MHElemAction.
Definition at line 564 of file Variables.cpp.
| virtual void MHIntegerAction::PrintArgs | ( | FILE * | fd, | |
| int | ||||
| ) | const [inline, protected, virtual] |
Reimplemented from MHElemAction.
Definition at line 178 of file Variables.h.
| virtual int MHIntegerAction::DoOp | ( | int | arg1, | |
| int | arg2 | |||
| ) | [protected, pure virtual] |
Implemented in MHAdd, MHSubtract, MHMultiply, MHDivide, and MHModulo.
Referenced by Perform().
MHGenericInteger MHIntegerAction::m_Operand [protected] |
Definition at line 180 of file Variables.h.
Referenced by Initialise(), Perform(), and PrintArgs().
1.6.3