|
FreeCAD C++
|
#include <App/Transactions.h>
Represents a atomic transaction of the document
Public Member Functions | |
| Transaction () | |
| Construction. | |
| Transaction (int pos) | |
| Construction. | |
| virtual | ~Transaction () |
| Destruction. | |
| void | apply (Document &Doc, bool forward) |
| apply the content to the document | |
| virtual void | Restore (Base::XMLReader &reader) |
| This method is used to restore properties from an XML document. | |
| bool | isEmpty () const |
| Returns true if the transaction list is empty; otherwise returns false. | |
| int | getPos (void) const |
| get the position in the transaction history | |
| bool | hasObject (const TransactionalObject *Obj) const |
| check if this object is used in a transaction | |
Public Member Functions inherited from Base::Persistence | |
| virtual void | SaveDocFile (Writer &) const |
| virtual void | RestoreDocFile (Reader &) |
Public Member Functions inherited from Base::BaseClass | |
| BaseClass () | |
| Construction. | |
| virtual | ~BaseClass () |
| Destruction. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Base::Persistence | |
| static std::string | encodeAttribute (const std::string &) |
| Encodes an attribute upon saving. | |
1.8.15