mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
#include <TDF_RelocationTable.hxx>
|
||||
#include <TDF_Tool.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_Attribute,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_Attribute,Standard_Transient)
|
||||
|
||||
#undef TDF_DATA_COMMIT_OPTIMIZED
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <TDF_LabelNodePtr.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
#include <TDF_AttributeIndexedMap.hxx>
|
||||
@@ -43,7 +43,7 @@ class TDF_IDFilter;
|
||||
|
||||
|
||||
class TDF_Attribute;
|
||||
DEFINE_STANDARD_HANDLE(TDF_Attribute, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TDF_Attribute, Standard_Transient)
|
||||
|
||||
//! A class each application has to implement. It is
|
||||
//! used to contain the application data.
|
||||
@@ -132,7 +132,7 @@ DEFINE_STANDARD_HANDLE(TDF_Attribute, MMgt_TShared)
|
||||
//! attribute values states. These methods must be
|
||||
//! implemented by end use inheriting classes, to
|
||||
//! profit from the delta services.
|
||||
class TDF_Attribute : public MMgt_TShared
|
||||
class TDF_Attribute : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -380,7 +380,7 @@ friend class TDF_AttributeIterator;
|
||||
friend class TDF_DeltaOnForget;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_Attribute,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_Attribute,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <TDF_Label.hxx>
|
||||
#include <TDF_Tool.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_AttributeDelta,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_AttributeDelta,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TDF_AttributeDelta
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TDF_Label.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
class TDF_Attribute;
|
||||
class TDF_Label;
|
||||
@@ -28,7 +28,7 @@ class Standard_GUID;
|
||||
|
||||
|
||||
class TDF_AttributeDelta;
|
||||
DEFINE_STANDARD_HANDLE(TDF_AttributeDelta, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TDF_AttributeDelta, Standard_Transient)
|
||||
|
||||
//! This class discribes the services we need to
|
||||
//! implement Delta and Undo/Redo services.
|
||||
@@ -42,7 +42,7 @@ DEFINE_STANDARD_HANDLE(TDF_AttributeDelta, MMgt_TShared)
|
||||
//! dead lock if found on the list, the
|
||||
//! AttributeDeltas are forced to be applied in an
|
||||
//! unpredictable order.
|
||||
class TDF_AttributeDelta : public MMgt_TShared
|
||||
class TDF_AttributeDelta : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -70,7 +70,7 @@ Standard_OStream& operator<< (Standard_OStream& OS) const
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_AttributeDelta,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_AttributeDelta,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -37,7 +37,7 @@
|
||||
#include <TDF_Tool.hxx>
|
||||
#include <TDF_Transaction.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_Data,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_Data,Standard_Transient)
|
||||
|
||||
#undef DEB_DELTA_CREATION
|
||||
#undef TDF_DATA_COMMIT_OPTIMIZED
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TColStd_ListOfInteger.hxx>
|
||||
#include <TDF_HAllocator.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TDF_Label.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
class Standard_NoMoreObject;
|
||||
@@ -35,7 +35,7 @@ class TDF_Label;
|
||||
|
||||
|
||||
class TDF_Data;
|
||||
DEFINE_STANDARD_HANDLE(TDF_Data, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TDF_Data, Standard_Transient)
|
||||
|
||||
//! This class is used to manipulate a complete
|
||||
//! independant, self sufficient data structure and
|
||||
@@ -50,7 +50,7 @@ DEFINE_STANDARD_HANDLE(TDF_Data, MMgt_TShared)
|
||||
//! (see LabelNodeAllocator() method)
|
||||
//! for more efficient allocation of
|
||||
//! objects in memory.
|
||||
class TDF_Data : public MMgt_TShared
|
||||
class TDF_Data : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -138,7 +138,7 @@ friend class TDF_Transaction;
|
||||
friend class TDF_LabelNode;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_Data,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_Data,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <TDF_MapIteratorOfAttributeMap.hxx>
|
||||
#include <TDF_MapIteratorOfLabelMap.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_DataSet,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_DataSet,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TDF_DataSet
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include <TDF_LabelList.hxx>
|
||||
#include <TDF_LabelMap.hxx>
|
||||
#include <TDF_AttributeMap.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
class TDF_Label;
|
||||
@@ -30,11 +30,11 @@ class TDF_Attribute;
|
||||
|
||||
|
||||
class TDF_DataSet;
|
||||
DEFINE_STANDARD_HANDLE(TDF_DataSet, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TDF_DataSet, Standard_Transient)
|
||||
|
||||
//! This class is a set of TDF informations like
|
||||
//! labels and attributes.
|
||||
class TDF_DataSet : public MMgt_TShared
|
||||
class TDF_DataSet : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -87,7 +87,7 @@ Standard_OStream& operator<< (Standard_OStream& anOS) const
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_DataSet,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_DataSet,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include <TDF_ListIteratorOfLabelList.hxx>
|
||||
#include <TDF_MapIteratorOfLabelMap.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_Delta,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_Delta,Standard_Transient)
|
||||
|
||||
#ifdef OCCT_DEBUG
|
||||
#include <Standard_ConstructionError.hxx>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#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>
|
||||
@@ -33,14 +33,14 @@ class TCollection_ExtendedString;
|
||||
|
||||
|
||||
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:
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
friend class TDF_Data;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_Delta,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_Delta,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <TDF_Label.hxx>
|
||||
#include <TDF_RelocationTable.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_RelocationTable,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TDF_RelocationTable,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TDF_RelocationTable
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <TDF_LabelDataMap.hxx>
|
||||
#include <TDF_AttributeDataMap.hxx>
|
||||
#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TDF_LabelMap.hxx>
|
||||
#include <TDF_AttributeMap.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
@@ -33,7 +33,7 @@ class Standard_Transient;
|
||||
|
||||
|
||||
class TDF_RelocationTable;
|
||||
DEFINE_STANDARD_HANDLE(TDF_RelocationTable, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TDF_RelocationTable, Standard_Transient)
|
||||
|
||||
//! This is a relocation dictionnary between source
|
||||
//! and target labels, attributes or any
|
||||
@@ -47,7 +47,7 @@ DEFINE_STANDARD_HANDLE(TDF_RelocationTable, MMgt_TShared)
|
||||
//!
|
||||
//! Look at SelfRelocate method for more explanation
|
||||
//! about self relocation behavior of this class.
|
||||
class TDF_RelocationTable : public MMgt_TShared
|
||||
class TDF_RelocationTable : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -153,7 +153,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_RelocationTable,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TDF_RelocationTable,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user