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

@@ -31,7 +31,7 @@
#include <Standard_Type.hxx>
#include <TColStd_SequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Approx_CurvlinFunc,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Approx_CurvlinFunc,Standard_Transient)
#ifdef OCCT_DEBUG_CHRONO
#include <OSD_Timer.hxx>

View File

@@ -23,7 +23,7 @@
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <GeomAbs_Shape.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <Standard_Boolean.hxx>
@@ -37,11 +37,11 @@ class Adaptor3d_Curve;
class Approx_CurvlinFunc;
DEFINE_STANDARD_HANDLE(Approx_CurvlinFunc, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Approx_CurvlinFunc, Standard_Transient)
//! defines an abstract curve with
//! curvilinear parametrization
class Approx_CurvlinFunc : public MMgt_TShared
class Approx_CurvlinFunc : public Standard_Transient
{
public:
@@ -102,7 +102,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Approx_CurvlinFunc,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Approx_CurvlinFunc,Standard_Transient)
protected:

View File

@@ -21,7 +21,7 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Approx_SweepFunction,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Approx_SweepFunction,Standard_Transient)
// Standard_Boolean Approx_SweepFunction::D1(const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt& Poles,TColgp_Array1OfVec& DPoles,TColgp_Array1OfPnt2d& Poles2d,TColgp_Array1OfVec2d& DPoles2d,TColStd_Array1OfReal& Weigths,TColStd_Array1OfReal& DWeigths)
Standard_Boolean Approx_SweepFunction::D1(const Standard_Real ,const Standard_Real ,const Standard_Real ,TColgp_Array1OfPnt& ,TColgp_Array1OfVec& ,TColgp_Array1OfPnt2d& ,TColgp_Array1OfVec2d& ,TColStd_Array1OfReal& ,TColStd_Array1OfReal& )

View File

@@ -20,7 +20,7 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Real.hxx>
#include <TColgp_Array1OfPnt.hxx>
@@ -37,11 +37,11 @@ class gp_Pnt;
class Approx_SweepFunction;
DEFINE_STANDARD_HANDLE(Approx_SweepFunction, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Approx_SweepFunction, Standard_Transient)
//! defined the function used by SweepApproximation to
//! perform sweeping application.
class Approx_SweepFunction : public MMgt_TShared
class Approx_SweepFunction : public Standard_Transient
{
public:
@@ -131,7 +131,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Approx_SweepFunction,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Approx_SweepFunction,Standard_Transient)
protected: