Open CASCADE Technology 6.6.0
|
This class is a set of TDF informations like
labels and attributes.
#include <TDF_DataSet.hxx>
Public Member Functions | |
TDF_DataSet () | |
Creates an empty DataSet object. | |
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_OStream & | Dump (Standard_OStream &anOS) const |
Dumps the minimum information about <me> on <aStream>. | |
Standard_OStream & | operator<< (Standard_OStream &anOS) const |
TDF_DataSet::TDF_DataSet | ( | ) |
void TDF_DataSet::AddAttribute | ( | const Handle< TDF_Attribute > & | anAttribute | ) |
void TDF_DataSet::AddLabel | ( | const TDF_Label & | aLabel | ) |
void TDF_DataSet::AddRoot | ( | const TDF_Label & | aLabel | ) |
TDF_AttributeMap& TDF_DataSet::Attributes | ( | ) |
void TDF_DataSet::Clear | ( | ) |
Standard_Boolean TDF_DataSet::ContainsAttribute | ( | const Handle< TDF_Attribute > & | anAttribute | ) | const |
Standard_Boolean TDF_DataSet::ContainsLabel | ( | const TDF_Label & | aLabel | ) | const |
Standard_OStream& TDF_DataSet::Dump | ( | Standard_OStream & | anOS | ) | const |
Standard_Boolean TDF_DataSet::IsEmpty | ( | ) | const |
TDF_LabelMap& TDF_DataSet::Labels | ( | ) |
Standard_OStream& TDF_DataSet::operator<< | ( | Standard_OStream & | anOS | ) | const [inline] |
TDF_LabelList& TDF_DataSet::Roots | ( | ) |