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