Open CASCADE Technology 6.6.0
|
This class encapsulates TDF_Transaction.
#include <DDF_Transaction.hxx>
Public Member Functions | |
DDF_Transaction () | |
Creates an empty transaction context, unable to be opened. | |
DDF_Transaction (const Handle< TDF_Data > &aDF) | |
Creates a transaction context on <aDF>, ready to be opened. | |
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. | |
Handle_TDF_Delta | Commit (const Standard_Boolean withDelta=Standard_False) |
Commits the transactions until AND including the current opened one. | |
void | Abort () |
Aborts the transactions until AND including the current opened one. | |
~DDF_Transaction () | |
Handle_TDF_Data | Data () const |
Returns the Data from TDF. | |
Standard_Integer | Transaction () const |
Returns the number of the transaction opened by <me>. | |
Standard_Boolean | IsOpen () const |
Returns true if the transaction is open. |
DDF_Transaction::DDF_Transaction | ( | ) |
DDF_Transaction::DDF_Transaction | ( | const Handle< TDF_Data > & | aDF | ) |
DDF_Transaction::~DDF_Transaction | ( | ) | [inline] |
void DDF_Transaction::Abort | ( | ) |
Handle_TDF_Delta DDF_Transaction::Commit | ( | const Standard_Boolean | withDelta = Standard_False | ) |
Handle_TDF_Data DDF_Transaction::Data | ( | ) | const |
Standard_Boolean DDF_Transaction::IsOpen | ( | ) | const |
Standard_Integer DDF_Transaction::Open | ( | ) |
Standard_Integer DDF_Transaction::Transaction | ( | ) | const |