mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -21,4 +21,4 @@
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(LocOpe_GeneratedShape,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(LocOpe_GeneratedShape,Standard_Transient)
|
@@ -21,17 +21,17 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class TopoDS_Edge;
|
||||
class TopoDS_Vertex;
|
||||
class TopoDS_Face;
|
||||
|
||||
|
||||
class LocOpe_GeneratedShape;
|
||||
DEFINE_STANDARD_HANDLE(LocOpe_GeneratedShape, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(LocOpe_GeneratedShape, Standard_Transient)
|
||||
|
||||
|
||||
class LocOpe_GeneratedShape : public MMgt_TShared
|
||||
class LocOpe_GeneratedShape : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(LocOpe_GeneratedShape,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(LocOpe_GeneratedShape,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -73,7 +73,7 @@
|
||||
#include <ShapeConstruct_ProjectCurveOnSurface.hxx>
|
||||
#include <ShapeAnalysis.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(LocOpe_WiresOnShape,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(LocOpe_WiresOnShape,Standard_Transient)
|
||||
|
||||
static Standard_Boolean Project(const TopoDS_Vertex&,
|
||||
const gp_Pnt2d&,
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TopTools_DataMapOfShapeShape.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TopTools_SequenceOfShape.hxx>
|
||||
|
||||
@@ -39,10 +39,10 @@ class TopoDS_Vertex;
|
||||
|
||||
|
||||
class LocOpe_WiresOnShape;
|
||||
DEFINE_STANDARD_HANDLE(LocOpe_WiresOnShape, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(LocOpe_WiresOnShape, Standard_Transient)
|
||||
|
||||
|
||||
class LocOpe_WiresOnShape : public MMgt_TShared
|
||||
class LocOpe_WiresOnShape : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(LocOpe_WiresOnShape,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(LocOpe_WiresOnShape,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user