#include <Standard_Integer.hxx>
#include <TDF_AttributeDeltaList.hxx>
#include <TCollection_ExtendedString.hxx>
-#include <MMgt_TShared.hxx>
+#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <TDF_LabelList.hxx>
#include <Standard_OStream.hxx>
class TDF_Delta;
-DEFINE_STANDARD_HANDLE(TDF_Delta, MMgt_TShared)
+DEFINE_STANDARD_HANDLE(TDF_Delta, Standard_Transient)
//! A set of AttributeDelta for a given transaction
//! number and reference time number.
//! A delta set is available at <aSourceTime>. If
//! applied, it restores the TDF_Data in the state it
//! was at <aTargetTime>.
-class TDF_Delta : public MMgt_TShared
+class TDF_Delta : public Standard_Transient
{
public:
//! Associates a name <theName> 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,MMgt_TShared)
+ DEFINE_STANDARD_RTTIEXT(TDF_Delta,Standard_Transient)
protected:
//! TDF_Data.
Standard_EXPORT void AddAttributeDelta (const Handle(TDF_AttributeDelta)& anAttributeDelta);
-
-
private:
-
+ //! Replaces Attribute Delta List
+ Standard_EXPORT void ReplaceDeltaList(const TDF_AttributeDeltaList& theList);
+
Standard_EXPORT void BeforeOrAfterApply (const Standard_Boolean before) const;
Standard_EXPORT void Apply();