rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

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 ilviews/base/command.h] 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

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.


© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.