Workspace 6.21.5
Public Member Functions | List of all members
AddOutputCmd Class Reference

Command class for adding an output to an operation (specifically, aimed at a FilePathBuilder operation)

#include <Workspace/DataExecution/UndoCommands/addoutputcmd.h>

Inheritance diagram for AddOutputCmd:
[legend]

Public Member Functions

 AddOutputCmd (Operation &op, const QString &outputName)
 
 ~AddOutputCmd () override
 
void redo () override
 
void undo () override
 

Constructor & Destructor Documentation

◆ AddOutputCmd()

AddOutputCmd ( Operation op,
const QString &  outputName 
)
Parameters
opThe operation to which the ouput will be added.
outputNameThe name of the output to be added

◆ ~AddOutputCmd()

~AddOutputCmd ( )
overridedefault

Member Function Documentation

◆ redo()

void redo ( )
override

◆ undo()

void undo ( )
override