|
The Gnome Chemistry Utils
0.14.14
|
#include <gcp/operation.h>
Public Member Functions | |
| ModifyOperation (gcp::Document *pDoc, unsigned long ID) | |
| void | Undo () |
| void | Redo () |
Public Member Functions inherited from gcp::Operation | |
| Operation (Document *pDoc, unsigned long ID) | |
| virtual void | AddObject (gcu::Object *pObject, unsigned type=0) |
| virtual void | AddNode (xmlNodePtr node, unsigned type=0) |
Additional Inherited Members | |
Protected Member Functions inherited from gcp::Operation | |
| void | Add (unsigned type=0) |
| void | Delete (unsigned type=0) |
Protected Attributes inherited from gcp::Operation | |
| xmlNodePtr * | m_Nodes |
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().
|
virtual |
Redo the modifications represented by this operation.
Implements gcp::Operation.
|
virtual |
Undo the modifications represented by this operation.
Implements gcp::Operation.
1.8.11