This command deletes part of the model or the plan from memory. More...
#include <model.h>
Public Member Functions | |
| CommandErase (bool staticAlso=false) | |
| void | execute () |
| bool | getDeleteStaticModel () const |
| string | getDescription () const |
| void | setDeleteStaticModel (bool b) |
Static Public Member Functions | |
| static PyObject * | executePython (PyObject *, PyObject *) |
This command deletes part of the model or the plan from memory.
The class allows the following modes to control what to delete:
Definition at line 3951 of file model.h.
| frepple::CommandErase::CommandErase | ( | bool | staticAlso = false |
) | [inline] |
| void frepple::CommandErase::execute | ( | ) | [virtual] |
This method is used to actually execute the action.
A couple of notes on how this method should be implemented by the subclasses:
Implements frepple::utils::Command.
Definition at line 579 of file model/actions.cpp.
| PyObject * frepple::CommandErase::executePython | ( | PyObject * | self, | |
| PyObject * | args | |||
| ) | [static] |
Python interface to this command.
Definition at line 620 of file model/actions.cpp.
| bool frepple::CommandErase::getDeleteStaticModel | ( | ) | const [inline] |
| string frepple::CommandErase::getDescription | ( | ) | const [inline, virtual] |
Reimplemented from frepple::utils::Command.
| void frepple::CommandErase::setDeleteStaticModel | ( | bool | b | ) | [inline] |
1.6.1