1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +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 <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_MapOfOrientedShape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(BRepAlgo_AsDes,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(BRepAlgo_AsDes,Standard_Transient)
//=======================================================================
//function : BRepAlgo_AsDes

View File

@@ -21,7 +21,7 @@
#include <Standard_Type.hxx>
#include <TopTools_DataMapOfShapeListOfShape.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TopTools_ListOfShape.hxx>
#include <Standard_Boolean.hxx>
class Standard_ConstructionError;
@@ -29,10 +29,10 @@ class TopoDS_Shape;
class BRepAlgo_AsDes;
DEFINE_STANDARD_HANDLE(BRepAlgo_AsDes, MMgt_TShared)
DEFINE_STANDARD_HANDLE(BRepAlgo_AsDes, Standard_Transient)
//! SD to store descendants and ascendants of Shapes.
class BRepAlgo_AsDes : public MMgt_TShared
class BRepAlgo_AsDes : public Standard_Transient
{
public:
@@ -76,7 +76,7 @@ public:
DEFINE_STANDARD_RTTIEXT(BRepAlgo_AsDes,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(BRepAlgo_AsDes,Standard_Transient)
protected:

View File

@@ -28,7 +28,7 @@
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(BRepAlgo_EdgeConnector,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(BRepAlgo_EdgeConnector,Standard_Transient)
//=======================================================================
//function : Create

View File

@@ -24,20 +24,20 @@
#include <BRepAlgo_DataMapOfShapeBoolean.hxx>
#include <TopOpeBRepBuild_BlockBuilder.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class TopoDS_Edge;
class TopoDS_Shape;
class BRepAlgo_EdgeConnector;
DEFINE_STANDARD_HANDLE(BRepAlgo_EdgeConnector, MMgt_TShared)
DEFINE_STANDARD_HANDLE(BRepAlgo_EdgeConnector, Standard_Transient)
//! Used by DSAccess to reconstruct an EdgeSet of connected edges. The result produced by
//! MakeBlock is a list of non-standard TopoDS_wire,
//! which can present connexions of edge of order > 2
//! in certain vertex. The method IsWire
//! indicates standard/non-standard character of all wire produced.
class BRepAlgo_EdgeConnector : public MMgt_TShared
class BRepAlgo_EdgeConnector : public Standard_Transient
{
public:
@@ -72,7 +72,7 @@ public:
DEFINE_STANDARD_RTTIEXT(BRepAlgo_EdgeConnector,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(BRepAlgo_EdgeConnector,Standard_Transient)
protected: