Swiftray  1.0
Commands::BaseCmd Class Reference

A class template for undoable commands, along with undo() / redo() implementation. More...

#include <command.h>

Inheritance diagram for Commands::BaseCmd:
Commands::AddLayerCmd Commands::AddShapeCmd Commands::JoinedCmd Commands::RemoveLayerCmd Commands::RemoveShapeCmd Commands::SelectCmd Commands::SetCmd< T, PropType, PropGetter, PropSetter > Commands::SetRefCmd< T, PropType, PropGetter, PropSetter >

Public Member Functions

 BaseCmd ()=default
 
virtual void redo (Document *doc)
 
virtual void undo (Document *doc)
 

Detailed Description

A class template for undoable commands, along with undo() / redo() implementation.

Constructor & Destructor Documentation

◆ BaseCmd()

Commands::BaseCmd::BaseCmd ( )
default

Member Function Documentation

◆ redo()

◆ undo()


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