1
0
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:
kgv
2017-07-06 10:38:18 +03:00
committed by bugmaster
parent e958a649c6
commit 25e59720d6
980 changed files with 2451 additions and 2539 deletions

View File

@@ -22,7 +22,7 @@
#include <HLRAlgo_EdgesBlock.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_EdgesBlock,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_EdgesBlock,Standard_Transient)
//=======================================================================
//function : HLRAlgo_EdgesBlock

View File

@@ -23,13 +23,13 @@
#include <TColStd_Array1OfInteger.hxx>
#include <TColStd_Array1OfBoolean.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TopAbs_Orientation.hxx>
#include <Standard_Boolean.hxx>
class HLRAlgo_EdgesBlock;
DEFINE_STANDARD_HANDLE(HLRAlgo_EdgesBlock, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_EdgesBlock, Standard_Transient)
//! An EdgesBlock is a set of Edges. It is used by the
//! DataStructure to structure the Edges.
@@ -43,7 +43,7 @@ DEFINE_STANDARD_HANDLE(HLRAlgo_EdgesBlock, MMgt_TShared)
//! Internal
//! Double
//! IsoLine)
class HLRAlgo_EdgesBlock : public MMgt_TShared
class HLRAlgo_EdgesBlock : public Standard_Transient
{
public:
@@ -146,7 +146,7 @@ public:
return myMinMax;
}
DEFINE_STANDARD_RTTIEXT(HLRAlgo_EdgesBlock,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_EdgesBlock,Standard_Transient)
protected:

View File

@@ -29,7 +29,7 @@
#include <Precision.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,Standard_Transient)
//static Standard_Integer ERROR = Standard_False;

View File

@@ -27,17 +27,17 @@
#include <HLRAlgo_ListIteratorOfListOfBPoint.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TColStd_Array1OfTransient.hxx>
class HLRAlgo_EdgeStatus;
class HLRAlgo_PolyAlgo;
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyAlgo, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyAlgo, Standard_Transient)
//! to remove Hidden lines on Triangulations.
class HLRAlgo_PolyAlgo : public MMgt_TShared
class HLRAlgo_PolyAlgo : public Standard_Transient
{
public:
@@ -75,7 +75,7 @@ public:
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,Standard_Transient)
protected:

View File

@@ -21,7 +21,7 @@
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyData,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyData,Standard_Transient)
#ifdef OCCT_DEBUG
static Standard_Integer HLRAlgo_PolyData_ERROR = Standard_False;

View File

@@ -25,7 +25,7 @@
#include <TColgp_HArray1OfXYZ.hxx>
#include <HLRAlgo_HArray1OfTData.hxx>
#include <HLRAlgo_HArray1OfPHDat.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TColgp_Array1OfXYZ.hxx>
#include <HLRAlgo_Array1OfTData.hxx>
#include <HLRAlgo_Array1OfPHDat.hxx>
@@ -34,10 +34,10 @@
class HLRAlgo_EdgeStatus;
class HLRAlgo_PolyData;
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyData, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyData, Standard_Transient)
//! Data structure of a set of Triangles.
class HLRAlgo_PolyData : public MMgt_TShared
class HLRAlgo_PolyData : public Standard_Transient
{
public:
@@ -109,7 +109,7 @@ public:
return myFaceIndices;
}
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyData,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyData,Standard_Transient)
private:

View File

@@ -20,7 +20,7 @@
#include <Standard_Stream.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyInternalData,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyInternalData,Standard_Transient)
#ifdef OCCT_DEBUG
static Standard_Integer HLRAlgo_PolyInternalData_TRACE = Standard_False;

View File

@@ -25,7 +25,7 @@
#include <HLRAlgo_HArray1OfTData.hxx>
#include <HLRAlgo_HArray1OfPISeg.hxx>
#include <HLRAlgo_HArray1OfPINod.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Real.hxx>
#include <HLRAlgo_Array1OfTData.hxx>
#include <HLRAlgo_Array1OfPISeg.hxx>
@@ -33,10 +33,10 @@
class HLRAlgo_PolyInternalData;
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyInternalData, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyInternalData, Standard_Transient)
//! to Update OutLines.
class HLRAlgo_PolyInternalData : public MMgt_TShared
class HLRAlgo_PolyInternalData : public Standard_Transient
{
public:
@@ -87,7 +87,7 @@ public:
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyInternalData,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyInternalData,Standard_Transient)
protected:

View File

@@ -18,4 +18,4 @@
#include <HLRAlgo_PolyInternalNode.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyInternalNode,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyInternalNode,Standard_Transient)

View File

@@ -22,16 +22,16 @@
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <gp_XYZ.hxx>
#include <gp_XY.hxx>
class HLRAlgo_PolyInternalNode;
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyInternalNode, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyInternalNode, Standard_Transient)
//! to Update OutLines.
class HLRAlgo_PolyInternalNode : public MMgt_TShared
class HLRAlgo_PolyInternalNode : public Standard_Transient
{
public:
struct NodeIndices
@@ -64,7 +64,7 @@ public:
return myData;
}
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyInternalNode,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyInternalNode,Standard_Transient)
private:
NodeIndices myIndices;

View File

@@ -25,7 +25,7 @@
#include <HLRAlgo_PolyShellData.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyShellData,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyShellData,Standard_Transient)
//=======================================================================
//function : HLRAlgo_PolyShellData

View File

@@ -24,15 +24,15 @@
#include <TColStd_Array1OfTransient.hxx>
#include <TColStd_HArray1OfTransient.hxx>
#include <HLRAlgo_ListOfBPoint.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class HLRAlgo_PolyShellData;
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyShellData, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_PolyShellData, Standard_Transient)
//! All the PolyData of a Shell
class HLRAlgo_PolyShellData : public MMgt_TShared
class HLRAlgo_PolyShellData : public Standard_Transient
{
public:
@@ -64,7 +64,7 @@ public:
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyShellData,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyShellData,Standard_Transient)
protected:

View File

@@ -21,4 +21,4 @@
#include <HLRAlgo_WiresBlock.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_WiresBlock,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_WiresBlock,Standard_Transient)

View File

@@ -24,11 +24,11 @@
#include <TColStd_Array1OfTransient.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class HLRAlgo_WiresBlock;
DEFINE_STANDARD_HANDLE(HLRAlgo_WiresBlock, MMgt_TShared)
DEFINE_STANDARD_HANDLE(HLRAlgo_WiresBlock, Standard_Transient)
//! A WiresBlock is a set of Blocks. It is used by the
//! DataStructure to structure the Edges.
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE(HLRAlgo_WiresBlock, MMgt_TShared)
//! A WiresBlock contains :
//!
//! * An Array of Blocks.
class HLRAlgo_WiresBlock : public MMgt_TShared
class HLRAlgo_WiresBlock : public Standard_Transient
{
public:
//! Create a Block of Blocks.
@@ -68,7 +68,7 @@ public:
return myMinMax;
}
DEFINE_STANDARD_RTTIEXT(HLRAlgo_WiresBlock,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(HLRAlgo_WiresBlock,Standard_Transient)
private:
TColStd_Array1OfTransient myWires;