MeVisLab Toolbox Reference
|
Class for undo/redo of removing a set of CSOs from the CSOList. More...
#include <CSOUndoRedoCommands.h>
Public Member Functions | |
CSOCmdRemoveCSOSet (const CSOListPtr &csoList, const std::vector< CSO * > &csos) | |
Constructor. | |
~CSOCmdRemoveCSOSet () override | |
Destructor. | |
int | execute () override |
Method is executed on undo/redo. | |
std::string | description () const override |
Undo descriptions are the inverse of the performed operation. | |
Public Member Functions inherited from ml::CSOCommand | |
CSOCommand (const CSOListPtr &csoList) | |
Constructor. | |
~CSOCommand () override | |
Destructor. | |
void | undo () override |
calls execute | |
Additional Inherited Members | |
Public Attributes inherited from ml::CSOCommand | |
std::string | commandName |
The command as a string (for debugging purposes). | |
Protected Member Functions inherited from ml::CSOCommand | |
bool | checkRedoBehavior () const override |
Not every undo step generates a redo step (a previous step might generate two instead), so... | |
Protected Attributes inherited from ml::CSOCommand | |
CSOList * | _csoList |
Pointer to the csoList. | |
Class for undo/redo of removing a set of CSOs from the CSOList.
Definition at line 350 of file CSOUndoRedoCommands.h.
ml::CSOCmdRemoveCSOSet::CSOCmdRemoveCSOSet | ( | const CSOListPtr & | csoList, |
const std::vector< CSO * > & | csos ) |
Constructor.
|
override |
Destructor.
|
inlineoverride |
Undo descriptions are the inverse of the performed operation.
Definition at line 363 of file CSOUndoRedoCommands.h.
|
overridevirtual |
Method is executed on undo/redo.
Implements ml::CSOCommand.