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

This class provides services to build, copy or
paste a set of information.

Copy methods:
-------------

More...

#include <TDF_CopyTool.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC void Copy (const Handle< TDF_DataSet > &aSourceDataSet, const Handle< TDF_RelocationTable > &aRelocationTable)
 Copy <aSourceDataSet> with using and updating
<aRelocationTable>. This method ignores target
attributes privilege over source ones.

static void Copy (const Handle< TDF_DataSet > &aSourceDataSet, const Handle< TDF_RelocationTable > &aRelocationTable, const TDF_IDFilter &aPrivilegeFilter)
 Copy <aSourceDataSet> using and updating
<aRelocationTable>. Use <aPrivilegeFilter> to give
a list of IDs for which the target attribute
prevails over the source one.

static void Copy (const Handle< TDF_DataSet > &aSourceDataSet, const Handle< TDF_RelocationTable > &aRelocationTable, const TDF_IDFilter &aPrivilegeFilter, const TDF_IDFilter &aRefFilter, const Standard_Boolean setSelfContained)
 Copy <aSourceDataSet> using and updating
<aRelocationTable>. Use <aPrivilegeFilter> to give
a list of IDs for which the target attribute
prevails over the source one. If
<setSelfContained> is set to true, every
TDF_Reference will be replaced by the referenced
structure according to <aRefFilter>.

NB: <aRefFilter> is used only if
<setSelfContained> is true.
//! Internal root label copy recursive method.


Detailed Description

     * Copy(aSourceDataSet, aTargetLabel, <br>
     aRelocationTable) copies a source DataSet under <br>
     its target place (see below: IMPORTANT NOTICE 1). <br>



Member Function Documentation

static DEFINE_STANDARD_ALLOC void TDF_CopyTool::Copy ( const Handle< TDF_DataSet > &  aSourceDataSet,
const Handle< TDF_RelocationTable > &  aRelocationTable 
) [static]
static void TDF_CopyTool::Copy ( const Handle< TDF_DataSet > &  aSourceDataSet,
const Handle< TDF_RelocationTable > &  aRelocationTable,
const TDF_IDFilter aPrivilegeFilter 
) [static]
static void TDF_CopyTool::Copy ( const Handle< TDF_DataSet > &  aSourceDataSet,
const Handle< TDF_RelocationTable > &  aRelocationTable,
const TDF_IDFilter aPrivilegeFilter,
const TDF_IDFilter aRefFilter,
const Standard_Boolean  setSelfContained 
) [static]

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