// 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_Delta_HeaderFile #define _TDF_Delta_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_TDF_Delta_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _TDF_AttributeDeltaList_HeaderFile #include #endif #ifndef _TCollection_ExtendedString_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Handle_TDF_AttributeDelta_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Standard_OutOfRange; class TDF_Data; class TDF_AttributeDelta; class TDF_LabelList; class TDF_AttributeDeltaList; class TCollection_ExtendedString; //! A delta set is available at . If
//! applied, it restores the TDF_Data in the state it
//! was at .
class TDF_Delta : public MMgt_TShared { public: //! Creates a delta.
Standard_EXPORT TDF_Delta(); //! Returns true if there is nothing to undo.
//!
Standard_Boolean IsEmpty() const; //! Returns true if the Undo action of is
//! applicable at .
//!
Standard_Boolean IsApplicable(const Standard_Integer aCurrentTime) const; //! Returns the field .
Standard_Integer BeginTime() const; //! Returns the field .
Standard_Integer EndTime() const; //! Adds in the labels of the attribute deltas.
//! Caution: is not cleared before use.
Standard_EXPORT void Labels(TDF_LabelList& aLabelList) const; //! Returns the field .
const TDF_AttributeDeltaList& AttributeDeltas() const; //! Returns a name associated with this delta.
TCollection_ExtendedString Name() const; //! Associates a name with this delta
void SetName(const TCollection_ExtendedString& theName) ; Standard_EXPORT void Dump(Standard_OStream& OS) const; friend class TDF_Data; DEFINE_STANDARD_RTTI(TDF_Delta) protected: //! Validates at . If applied, it
//! restores the TDF_Data in the state it was at
//! . Reserved to TDF_Data.
Standard_EXPORT void Validity(const Standard_Integer aBeginTime,const Standard_Integer anEndTime) ; //! Adds an AttributeDelta to the list. Reserved to
//! TDF_Data.
Standard_EXPORT void AddAttributeDelta(const Handle(TDF_AttributeDelta)& anAttributeDelta) ; private: Standard_EXPORT void BeforeOrAfterApply(const Standard_Boolean before) const; Standard_EXPORT void Apply() ; Standard_Integer myBeginTime; Standard_Integer myEndTime; TDF_AttributeDeltaList myAttDeltaList; TCollection_ExtendedString myName; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif