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 |
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 4464 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 482 of file model/actions.cpp.
PyObject * frepple::CommandErase::executePython | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Python interface to this command.
Definition at line 526 of file model/actions.cpp.
bool frepple::CommandErase::getDeleteStaticModel | ( | ) | const [inline] |
void frepple::CommandErase::setDeleteStaticModel | ( | bool | b | ) | [inline] |