Open CASCADE Technology 6.6.0
Public Member Functions
TDF_DataSet Class Reference

This class is a set of TDF informations like
labels and attributes.

#include <TDF_DataSet.hxx>

Inheritance diagram for TDF_DataSet:
Inheritance graph
[legend]

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_LabelMapLabels ()
 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_AttributeMapAttributes ()
 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_LabelListRoots ()
 Returns <myRootLabels> to be used or updated.


Standard_OStreamDump (Standard_OStream &anOS) const
 Dumps the minimum information about <me> on
<aStream>.


Standard_OStreamoperator<< (Standard_OStream &anOS) const

Constructor & Destructor Documentation

TDF_DataSet::TDF_DataSet ( )

Member Function Documentation

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 ( )

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines