Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
DDF_Transaction Class Reference

This class encapsulates TDF_Transaction.

#include <DDF_Transaction.hxx>

Inheritance diagram for DDF_Transaction:
Inheritance graph
[legend]

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.


Constructor & Destructor Documentation


Member Function Documentation

Handle_TDF_Delta DDF_Transaction::Commit ( const Standard_Boolean  withDelta = Standard_False)
Handle_TDF_Data DDF_Transaction::Data ( ) const

The documentation for this class was generated from the following file: