MeVisLab Toolbox Reference
ml::CSOCmdModifySet Class Reference

Class for undo/redo of modifying a set of CSOs. More...

#include <CSOUndoRedoCommands.h>

Inheritance diagram for ml::CSOCmdModifySet:
ml::CSOCommand

Public Member Functions

 CSOCmdModifySet (const CSOListPtr &csoList, const std::vector< CSO * > &csos)
 Constructor.
 ~CSOCmdModifySet () 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
Protected Attributes inherited from ml::CSOCommand
CSOList_csoList
 Pointer to the csoList.

Detailed Description

Class for undo/redo of modifying a set of CSOs.

Definition at line 374 of file CSOUndoRedoCommands.h.

Constructor & Destructor Documentation

◆ CSOCmdModifySet()

ml::CSOCmdModifySet::CSOCmdModifySet ( const CSOListPtr & csoList,
const std::vector< CSO * > & csos )

Constructor.

◆ ~CSOCmdModifySet()

ml::CSOCmdModifySet::~CSOCmdModifySet ( )
override

Destructor.

Member Function Documentation

◆ description()

std::string ml::CSOCmdModifySet::description ( ) const
inlineoverride

Undo descriptions are the inverse of the performed operation.

Definition at line 387 of file CSOUndoRedoCommands.h.

◆ execute()

int ml::CSOCmdModifySet::execute ( )
overridevirtual

Method is executed on undo/redo.

Implements ml::CSOCommand.


The documentation for this class was generated from the following file: