Open CASCADE Technology
6.5.4
|
This package provides classes and methods to
translate a transient DF into a persistent one and
vice versa.
Driver
A driver is a tool used to translate a transient
attribute into a persistent one and vice versa.
Relocation Table
A relocation table is a tool who provides services
to relocate transient objects into persistent ones
(or vice versa). It uses a map system to keep the
sharing. This service is used by the drivers.
Driver Table
A driver table is an object building links between
object types and object drivers. In the
translation process, a driver table is asked to
give a translation driver for each current object
to be translated.
#include <MDF.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC void | FromTo (const Handle< TDF_Data > &aSource, Handle< PDF_Data > &aTarget, const Handle< MDF_ASDriverTable > &aDriverTable, const Handle< MDF_SRelocationTable > &aReloc, const Standard_Integer aVersion=0) |
Translates a transient <aSource> into a persistent <aTarget>. | |
static void | FromTo (const Handle< PDF_Data > &aSource, Handle< TDF_Data > &aTarget, const Handle< MDF_ARDriverTable > &aDriverTable, const Handle< MDF_RRelocationTable > &aReloc) |
Translates a persistent <aSource> into a transient <aTarget>. | |
static void | AddStorageDrivers (const Handle< MDF_ASDriverHSequence > &aDriverSeq, const Handle< CDM_MessageDriver > &theMessageDriver) |
Adds the attribute storage drivers to <aDriverSeq>. | |
static void | AddRetrievalDrivers (const Handle< MDF_ARDriverHSequence > &aDriverSeq, const Handle< CDM_MessageDriver > &theMessageDriver) |
Adds the attribute retrieval drivers to <aDriverSeq>. |
static void MDF::AddRetrievalDrivers | ( | const Handle< MDF_ARDriverHSequence > & | aDriverSeq, |
const Handle< CDM_MessageDriver > & | theMessageDriver | ||
) | [static] |
static void MDF::AddStorageDrivers | ( | const Handle< MDF_ASDriverHSequence > & | aDriverSeq, |
const Handle< CDM_MessageDriver > & | theMessageDriver | ||
) | [static] |
static DEFINE_STANDARD_ALLOC void MDF::FromTo | ( | const Handle< TDF_Data > & | aSource, |
Handle< PDF_Data > & | aTarget, | ||
const Handle< MDF_ASDriverTable > & | aDriverTable, | ||
const Handle< MDF_SRelocationTable > & | aReloc, | ||
const Standard_Integer | aVersion = 0 |
||
) | [static] |
static void MDF::FromTo | ( | const Handle< PDF_Data > & | aSource, |
Handle< TDF_Data > & | aTarget, | ||
const Handle< MDF_ARDriverTable > & | aDriverTable, | ||
const Handle< MDF_RRelocationTable > & | aReloc | ||
) | [static] |