|
Open CASCADE Technology
6.7.1
|
This class provides services to compare sets of
information. The use of this tool can works after
a copy, acted by a CopyTool.
More...
#include <TDF_ComparisonTool.hxx>
Static Public Member Functions | |
| static void | Compare (const Handle< TDF_DataSet > &aSourceDataSet, const Handle< TDF_DataSet > &aTargetDataSet, const TDF_IDFilter &aFilter, const Handle< TDF_RelocationTable > &aRelocationTable) |
| Compares <aSourceDataSet> with <aTargetDataSet>, updating <aRelocationTable> with labels and attributes found in both sets. More... | |
| static Standard_Boolean | SourceUnbound (const Handle< TDF_DataSet > &aRefDataSet, const Handle< TDF_RelocationTable > &aRelocationTable, const TDF_IDFilter &aFilter, const Handle< TDF_DataSet > &aDiffDataSet, const Standard_Integer anOption=2) |
Finds from <aRefDataSet> all the keys not bound <br>
into <aRelocationTable> and put them into <br>
<aDiffDataSet>. Returns True if the difference <br>
contains at least one key. (A key is a source <br>
object). <br>
| |
| static Standard_Boolean | TargetUnbound (const Handle< TDF_DataSet > &aRefDataSet, const Handle< TDF_RelocationTable > &aRelocationTable, const TDF_IDFilter &aFilter, const Handle< TDF_DataSet > &aDiffDataSet, const Standard_Integer anOption=2) |
Substracts from <aRefDataSet> all the items bound <br>
into <aRelocationTable>. The result is put into <br>
<aDiffDataSet>. Returns True if the difference <br>
contains at least one item. (An item is a target <br>
object). <br>
| |
| static void | Cut (const Handle< TDF_DataSet > &aDataSet) |
| Removes attributes from <aDataSet>. More... | |
| static Standard_Boolean | IsSelfContained (const TDF_Label &aLabel, const Handle< TDF_DataSet > &aDataSet) |
| Returns true if all the labels of <aDataSet> are descendant of <aLabel>. More... | |
This class provides services to compare sets of
information. The use of this tool can works after
a copy, acted by a CopyTool.
* Compare(...) compares two DataSet and returns <br>
the result. <br>
|
static |
Compares <aSourceDataSet> with <aTargetDataSet>,
updating <aRelocationTable> with labels and
attributes found in both sets.
|
static |
Removes attributes from <aDataSet>.
|
static |
Returns true if all the labels of <aDataSet> are
descendant of <aLabel>.
|
static |
Finds from <aRefDataSet> all the keys not bound <br>
into <aRelocationTable> and put them into <br>
<aDiffDataSet>. Returns True if the difference <br>
contains at least one key. (A key is a source <br>
object). <br>
<anOption> may take the following values:
1 : labels treatment only;
2 : attributes treatment only (default value);
3 : both labels & attributes treatment.
|
static |
Substracts from <aRefDataSet> all the items bound <br>
into <aRelocationTable>. The result is put into <br>
<aDiffDataSet>. Returns True if the difference <br>
contains at least one item. (An item is a target <br>
object). <br>
<anOption> may take the following values:
1 : labels treatment only;
2 : attributes treatment only(default value);
3 : both labels & attributes treatment.
1.8.5