Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Enumerations
command.h File Reference
#include <ilviews/base/action.h>

Classes

class  IlvChangeValueCommand
 A command class for storing simple attribute changes made to an object of the class IlvValueInterface. More...
 
class  IlvCommand
 Defines actions that can be undone. More...
 
class  IlvCommandFlags
 Flags describing the state of a command. More...
 
class  IlvCommandHistory
 A command stack allowing the implementation of the undo/redo functionality. More...
 
class  IlvMacroCommand
 Defines a list of commands to be executed in one operation. More...
 
class  IlvModifiedFlagObserver
 Reports the modifications made to a document. More...
 

Enumerations

enum  IlvUndoabilityReason {
  undoable, unApplicable, committing, outOfMemory,
  notImplemented
}
 

Detailed Description

Library: views
Declaration of the classes IlvCommand, IlvCommandHistory, and ancillary classes. Declaration of the classes IlvChangeValueCommand andIlvModifiedFlagObserver, which implement features that are frequently used in the mechanism that underlies commands.

Enumeration Type Documentation

◆ IlvUndoabilityReason

Enumeration used for commands to report whether they are undoable or not.

See also
IlvCommand::isUndoable
Enumerator
undoable 

The command can be undone. Any other value means that the command cannot be undone.

unApplicable 

Undoing the command is not applicable because of its semantics.

committing 

The command has to commit the changes it performed. For example, commands that affect a shared database may have to commit the changes they imply so that other users can access the data these commands modify.

outOfMemory 

The command has to release the data that makes it possible for it to be undone.

notImplemented 

The undo method has not been implemented.