|
MeVisLab Toolbox Reference
|
Class for undo/redo of adding a CSO to a CSOGroup. More...
#include <CSOUndoRedoCommands.h>
Public Member Functions | |
| CSOCmdAddCSOtoGroup (const CSOListPtr &csoList, CSO *cso, CSOGroup *group) | |
| Constructor. | |
| ~CSOCmdAddCSOtoGroup () 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 |
| Returns whether the undo/redo behavior should be checked; returns 'false' to disable the check. | |
Protected Attributes inherited from ml::CSOCommand | |
| CSOList * | _csoList |
| Pointer to the csoList. | |
Class for undo/redo of adding a CSO to a CSOGroup.
Definition at line 160 of file CSOUndoRedoCommands.h.
| ml::CSOCmdAddCSOtoGroup::CSOCmdAddCSOtoGroup | ( | const CSOListPtr & | csoList, |
| CSO * | cso, | ||
| CSOGroup * | group | ||
| ) |
Constructor.
|
override |
Destructor.
|
inlineoverride |
Undo descriptions are the inverse of the performed operation.
Definition at line 173 of file CSOUndoRedoCommands.h.
|
overridevirtual |
Method is executed on undo/redo.
Implements ml::CSOCommand.