// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _TDF_DataSet_HeaderFile #define _TDF_DataSet_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_TDF_DataSet_HeaderFile #include #endif #ifndef _TDF_LabelList_HeaderFile #include #endif #ifndef _TDF_LabelMap_HeaderFile #include #endif #ifndef _TDF_AttributeMap_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_TDF_Attribute_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class TDF_Label; class TDF_LabelMap; class TDF_Attribute; class TDF_AttributeMap; class TDF_LabelList; //! This class is a set of TDF informations like
//! labels and attributes.
class TDF_DataSet : public MMgt_TShared { public: //! Creates an empty DataSet object.
Standard_EXPORT TDF_DataSet(); //! Clears all information.
Standard_EXPORT void Clear() ; //! Returns true if there is at least one label or one
//! attribute.
Standard_Boolean IsEmpty() const; //! Adds in the current data set.
void AddLabel(const TDF_Label& aLabel) ; //! Returns true if the label is in the data set.
Standard_Boolean ContainsLabel(const TDF_Label& aLabel) const; //! Returns the map of labels in this data set.
//! This map can be used directly, or updated.
//!
TDF_LabelMap& Labels() ; //! Adds into the current data set.
void AddAttribute(const Handle(TDF_Attribute)& anAttribute) ; //! Returns true if is in the data set.
Standard_Boolean ContainsAttribute(const Handle(TDF_Attribute)& anAttribute) const; //! Returns the map of attributes in the current data set.
//! This map can be used directly, or updated.
//!
TDF_AttributeMap& Attributes() ; //! Adds a root label to .
//!
void AddRoot(const TDF_Label& aLabel) ; //! Returns to be used or updated.
//!
TDF_LabelList& Roots() ; //! Dumps the minimum information about on
//! .
//!
Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const; Standard_OStream& operator<<(Standard_OStream& anOS) const { return Dump(anOS); } DEFINE_STANDARD_RTTI(TDF_DataSet) protected: private: TDF_LabelList myRootLabels; TDF_LabelMap myLabelMap; TDF_AttributeMap myAttributeMap; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif