#include <DDF_Transaction.hxx>
Public Member Functions | |
Standard_EXPORT | DDF_Transaction () |
Creates an empty transaction context, unable to be opened. . | |
Standard_EXPORT | DDF_Transaction (const Handle(TDF_Data)&aDF) |
Creates a transaction context on <adf>, ready to be opened. . | |
Standard_EXPORT Standard_Integer | Open () |
If not yet done, opens a new transaction on <mydf>. Returns the index of the just opened transaction. It raises DomainError if the transaction is already open, and NullObject if there is no current Data framework. . | |
Standard_EXPORT Handle_TDF_Delta | Commit (const Standard_Boolean withDelta=Standard_False) |
Commits the transactions until AND including the current opened one. . | |
Standard_EXPORT void | Abort () |
Aborts the transactions until AND including the current opened one. . | |
~DDF_Transaction () | |
Standard_EXPORT Handle_TDF_Data | Data () const |
Returns the Data from TDF. . | |
Standard_EXPORT Standard_Integer | Transaction () const |
Returns the number of the transaction opened by <me>. . | |
Standard_EXPORT Standard_Boolean | IsOpen () const |
Returns true if the transaction is open. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
TDF_Transaction | myTransaction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|