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

@@ -25,7 +25,7 @@
#include <Standard_ConstructionError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom_Geometry,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Geom_Geometry,Standard_Transient)
typedef Geom_Geometry Geometry;
typedef gp_Pnt Pnt;

View File

@@ -20,7 +20,7 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Real.hxx>
class Standard_ConstructionError;
class gp_Pnt;
@@ -31,7 +31,7 @@ class gp_Trsf;
class Geom_Geometry;
DEFINE_STANDARD_HANDLE(Geom_Geometry, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Geom_Geometry, Standard_Transient)
//! The abstract class Geometry for 3D space is the root
//! class of all geometric objects from the Geom
@@ -50,7 +50,7 @@ DEFINE_STANDARD_HANDLE(Geom_Geometry, MMgt_TShared)
//! abstract method Transform which is defined for each
//! concrete type of derived object. All other
//! transformations are implemented using the Transform method.
class Geom_Geometry : public MMgt_TShared
class Geom_Geometry : public Standard_Transient
{
public:
@@ -121,7 +121,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Geom_Geometry,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Geom_Geometry,Standard_Transient)
protected:

View File

@@ -30,7 +30,7 @@
#include <TColStd_HArray1OfReal.hxx>
#include <TColStd_HArray2OfInteger.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom_OsculatingSurface,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Geom_OsculatingSurface,Standard_Transient)
//=======================================================================
//function : Geom_OffsetOsculatingSurface

View File

@@ -34,9 +34,9 @@ class Geom_BSplineSurface;
class Geom_OsculatingSurface;
DEFINE_STANDARD_HANDLE(Geom_OsculatingSurface, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Geom_OsculatingSurface, Standard_Transient)
class Geom_OsculatingSurface : public MMgt_TShared
class Geom_OsculatingSurface : public Standard_Transient
{
public:
@@ -66,7 +66,7 @@ public:
Standard_EXPORT Standard_Boolean VOscSurf (const Standard_Real U, const Standard_Real V, Standard_Boolean& t, Handle(Geom_BSplineSurface)& L) const;
DEFINE_STANDARD_RTTIEXT(Geom_OsculatingSurface,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Geom_OsculatingSurface,Standard_Transient)
protected: