|
Enzo
|
Bundles several commands into a single atomic undo unit. More...
#include <UndoGroup.h>
Public Member Functions | |
| void | addCommand (std::unique_ptr< UndoCommand > command) |
| Appends a command to the group, taking ownership. | |
| bool | isEmpty () const |
| Returns true when the group holds no commands. | |
| void | undo () override |
| void | redo () override |
| UndoCommandType | type () const override |
Public Member Functions inherited from enzo::nt::UndoCommand | |
Bundles several commands into a single atomic undo unit.
|
inlineoverridevirtual |
Implements enzo::nt::UndoCommand.
|
inlineoverridevirtual |
Implements enzo::nt::UndoCommand.
|
inlineoverridevirtual |
Implements enzo::nt::UndoCommand.