LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Base class for all commands... More...
#include <KernelActions.hpp>
Public Member Functions | |
Action (const std::string s) | |
void | setStack (ValueStack *) |
void | setAtom (pAtom &) |
virtual std::string | name (void) const |
virtual void | execute (void)=0 |
Protected Attributes | |
ValueStack * | stack |
Pointer to the data stack. | |
pAtom | atom |
Pointer to the atom we'll be working on... | |
std::string | my_name |
Record of command-name (for printing) | |
Base class for all commands...
All subclasses must implement the execute() method, which will operate on the data stack pointer.
Subclasses may also override the name() method if they want to augment the command-name string (i.e. to show additional internal data)