The Gnome Chemistry Utils 0.13.3
|
#include <gcp/operation.h>
Public Member Functions | |
ModifyOperation (gcp::Document *pDoc, unsigned long ID) | |
void | Undo () |
void | Redo () |
Operation class representing objects modifications.
Definition at line 208 of file operation.h.
gcp::ModifyOperation::ModifyOperation | ( | gcp::Document * | pDoc, |
unsigned long | ID | ||
) |
pDoc | a document. |
ID | a unique operation ID for the document and the session. |
Creates a new ModifyOperation. Operations should always created by calls to Document::GetNewOperation().
void gcp::ModifyOperation::Redo | ( | ) | [virtual] |
Redo the modifications represented by this operation.
Implements gcp::Operation.
void gcp::ModifyOperation::Undo | ( | ) | [virtual] |
Undo the modifications represented by this operation.
Implements gcp::Operation.