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:
@@ -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
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user