20 #ifndef _COMMANDS_HXX_
21 #define _COMMANDS_HXX_
43 virtual bool reverse(
bool isNormal=
true);
45 virtual std::string
dump();
64 std::list<std::string> getDone();
65 std::list<std::string> getUndone();
Base class for all schema objects.
virtual bool reverse(bool isNormal=true)
Reverse action: undo.
virtual bool executeSubOnly()
execute only sub commands in a reverse action
virtual bool execute()
the command is executed a first time after its registration for undo redo, then on redo
virtual bool localExecute()=0
std::vector< Command * > _subCommands
std::string recursiveDump(int level=0)
virtual bool localReverse()=0
void addSubCommand(Command *command)
virtual std::string dump()
YACS::ENGINE::Catalog * getUndoCata()
YACS::ENGINE::Proc * _undoProc
YACS::ENGINE::Catalog * _undoCata
std::vector< Command * > _commandsUndone
std::vector< Command * > _commandsDone
std::vector< Command * > _commandsInProgress
YACS::ENGINE::Proc * getUndoProc()