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 | |
![]() | |
virtual void | SaveDocFile (Writer &) const |
virtual void | RestoreDocFile (Reader &) |
![]() | |
BaseClass () | |
Construction. | |
virtual | ~BaseClass () |
Destruction. | |
Additional Inherited Members | |
![]() | |
static std::string | encodeAttribute (const std::string &) |
Encodes an attribute upon saving. | |