Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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


Member Function Documentation

Standard_OStream& TDF_DataSet::operator<< ( Standard_OStream anOS) const [inline]

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