// 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_ClosureTool_HeaderFile #define _TDF_ClosureTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_TDF_DataSet_HeaderFile #include #endif class TDF_DataSet; class TDF_IDFilter; class TDF_ClosureMode; class TDF_Label; class TDF_LabelMap; class TDF_AttributeMap; //! This class provides services to build the closure
//! of an information set.
//!
//! You can set closure options by using IDFilter
//! (to select or exclude specific attribute IDs) and
//! CopyOption objects and by giving to Closure
//! method.
//!
class TDF_ClosureTool { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Builds the transitive closure of label and
//! attribute sets into .
Standard_EXPORT static void Closure(const Handle(TDF_DataSet)& aDataSet) ; //! Builds the transitive closure of label and
//! attribute sets into . Uses to
//! determine if an attribute has to be taken in
//! account or not. Uses for various way of
//! closing.
Standard_EXPORT static void Closure(const Handle(TDF_DataSet)& aDataSet,const TDF_IDFilter& aFilter,const TDF_ClosureMode& aMode) ; //! Builds the transitive closure of .
Standard_EXPORT static void Closure(const TDF_Label& aLabel,TDF_LabelMap& aLabMap,TDF_AttributeMap& anAttMap,const TDF_IDFilter& aFilter,const TDF_ClosureMode& aMode) ; protected: private: //! Adds label attributes and dependences.
Standard_EXPORT static void LabelAttributes(const TDF_Label& aLabel,TDF_LabelMap& aLabMap,TDF_AttributeMap& anAttMap,const TDF_IDFilter& aFilter,const TDF_ClosureMode& aMode) ; }; // other Inline functions and methods (like "C++: function call" methods) #endif