Open CASCADE Technology  6.9.0
Static Public Member Functions

MDF Class Reference

This package provides classes and methods to translate a transient DF into a persistent one and vice versa. More...

#include <MDF.hxx>

Static Public Member Functions

static 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>. More...
 
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>. More...
 
static void AddStorageDrivers (const Handle< MDF_ASDriverHSequence > &aDriverSeq, const Handle< CDM_MessageDriver > &theMessageDriver)
 Adds the attribute storage drivers to <aDriverSeq>. More...
 
static void AddRetrievalDrivers (const Handle< MDF_ARDriverHSequence > &aDriverSeq, const Handle< CDM_MessageDriver > &theMessageDriver)
 Adds the attribute retrieval drivers to <aDriverSeq>. More...
 

Detailed Description

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.

Member Function Documentation

static void MDF::AddRetrievalDrivers ( const Handle< MDF_ARDriverHSequence > &  aDriverSeq,
const Handle< CDM_MessageDriver > &  theMessageDriver 
)
static

Adds the attribute retrieval drivers to <aDriverSeq>.

static void MDF::AddStorageDrivers ( const Handle< MDF_ASDriverHSequence > &  aDriverSeq,
const Handle< CDM_MessageDriver > &  theMessageDriver 
)
static

Adds the attribute storage drivers to <aDriverSeq>.

static 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

Translates a transient <aSource> into a persistent <aTarget>.

static void MDF::FromTo ( const Handle< PDF_Data > &  aSource,
Handle< TDF_Data > &  aTarget,
const Handle< MDF_ARDriverTable > &  aDriverTable,
const Handle< MDF_RRelocationTable > &  aReloc 
)
static

Translates a persistent <aSource> into a transient <aTarget>.


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