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

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

View File

@@ -24,17 +24,17 @@
#include <Standard_Boolean.hxx>
#include <BRepCheck_DataMapOfShapeListOfStatus.hxx>
#include <BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <BRepCheck_ListOfStatus.hxx>
class Standard_NoSuchObject;
class TopoDS_Shape;
class BRepCheck_Result;
DEFINE_STANDARD_HANDLE(BRepCheck_Result, MMgt_TShared)
DEFINE_STANDARD_HANDLE(BRepCheck_Result, Standard_Transient)
class BRepCheck_Result : public MMgt_TShared
class BRepCheck_Result : public Standard_Transient
{
public:
@@ -73,7 +73,7 @@ public:
DEFINE_STANDARD_RTTIEXT(BRepCheck_Result,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(BRepCheck_Result,Standard_Transient)
protected:

View File

@@ -20,7 +20,7 @@
#include <BRepClass3d_SolidClassifier.hxx>
#include <Geom_Curve.hxx>
#include <gp_Pnt.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <NCollection_Map.hxx>
#include <NCollection_Vector.hxx>
#include <Precision.hxx>
@@ -39,12 +39,12 @@ IMPLEMENT_STANDARD_RTTIEXT(BRepCheck_Solid,BRepCheck_Result)
//
class BRepCheck_HSC;
DEFINE_STANDARD_HANDLE(BRepCheck_HSC, MMgt_TShared)
DEFINE_STANDARD_HANDLE(BRepCheck_HSC, Standard_Transient)
//=======================================================================
//class : BRepCheck_HSC
//purpose :
//=======================================================================
class BRepCheck_HSC : public MMgt_TShared {
class BRepCheck_HSC : public Standard_Transient {
public:
//
Standard_EXPORT
@@ -60,7 +60,7 @@ class BRepCheck_HSC : public MMgt_TShared {
return mySC;
};
//
DEFINE_STANDARD_RTTI_INLINE(BRepCheck_HSC,MMgt_TShared);
DEFINE_STANDARD_RTTI_INLINE(BRepCheck_HSC,Standard_Transient);
protected:
BRepClass3d_SolidClassifier mySC;