#include <TDF_DataSet.hxx>
Public Member Functions | |
Standard_EXPORT | TDF_DataSet () |
Creates an empty DataSet object. . | |
Standard_EXPORT void | Clear () |
Clears all information. . | |
Standard_Boolean | IsEmpty () const |
Returns true if there is at least one label or one attribute. . | |
void | AddLabel (const TDF_Label &aLabel) |
Adds <alabel> in the current data set. . | |
Standard_Boolean | ContainsLabel (const TDF_Label &aLabel) const |
Returns true if the label <alabel> is in the data set. . | |
TDF_LabelMap & | Labels () |
Returns the map of labels in this data set. This map can be used directly, or updated. . | |
void | AddAttribute (const Handle(TDF_Attribute)&anAttribute) |
Adds <anattribute> into the current data set. . | |
Standard_Boolean | ContainsAttribute (const Handle(TDF_Attribute)&anAttribute) const |
Returns true if <anattribute> is in the data set. . | |
TDF_AttributeMap & | Attributes () |
Returns the map of attributes in the current data set. This map can be used directly, or updated. . | |
void | AddRoot (const TDF_Label &aLabel) |
Adds a root label to <myrootlabels>. . | |
TDF_LabelList & | Roots () |
Returns <myrootlabels> to be used or updated. . | |
Standard_EXPORT Standard_OStream & | Dump (Standard_OStream &anOS) const |
Dumps the minimum information about <me> on <astream>. . | |
Standard_OStream & | operator<< (Standard_OStream &anOS) const |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
TDF_LabelList | myRootLabels |
TDF_LabelMap | myLabelMap |
TDF_AttributeMap | myAttributeMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|