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:
@@ -23,4 +23,4 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HCurve,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HCurve,Standard_Transient)
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <GeomAbs_Shape.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -46,7 +46,7 @@ class Geom_OffsetCurve;
|
||||
|
||||
|
||||
class Adaptor3d_HCurve;
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_HCurve, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_HCurve, Standard_Transient)
|
||||
|
||||
//! Root class for 3D curves manipulated by handles, on
|
||||
//! which geometric algorithms work.
|
||||
@@ -57,7 +57,7 @@ DEFINE_STANDARD_HANDLE(Adaptor3d_HCurve, MMgt_TShared)
|
||||
//! - GeomAdaptor_HCurve for a curve from the Geom package
|
||||
//! - Adaptor3d_HCurveOnSurface for a curve lying
|
||||
//! on a surface from the Geom package.
|
||||
class Adaptor3d_HCurve : public MMgt_TShared
|
||||
class Adaptor3d_HCurve : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -138,7 +138,7 @@ public:
|
||||
Handle(Geom_OffsetCurve) OffsetCurve() const;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_HCurve,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_HCurve,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,4 +25,4 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HSurface,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HSurface,Standard_Transient)
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <GeomAbs_Shape.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -49,7 +49,7 @@ class Adaptor3d_HCurve;
|
||||
|
||||
|
||||
class Adaptor3d_HSurface;
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_HSurface, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_HSurface, Standard_Transient)
|
||||
|
||||
//! Root class for surfaces manipulated by handles, on
|
||||
//! which geometric algorithms work.
|
||||
@@ -58,7 +58,7 @@ DEFINE_STANDARD_HANDLE(Adaptor3d_HSurface, MMgt_TShared)
|
||||
//! the surface by algorithms which use it.
|
||||
//! A derived concrete class is provided:
|
||||
//! GeomAdaptor_HSurface for a surface from the Geom package.
|
||||
class Adaptor3d_HSurface : public MMgt_TShared
|
||||
class Adaptor3d_HSurface : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -164,7 +164,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_HSurface,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_HSurface,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <Precision.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HVertex,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HVertex,Standard_Transient)
|
||||
|
||||
Adaptor3d_HVertex::Adaptor3d_HVertex ()
|
||||
{}
|
||||
|
@@ -23,17 +23,17 @@
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TopAbs_Orientation.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
class gp_Pnt2d;
|
||||
class Adaptor2d_HCurve2d;
|
||||
|
||||
|
||||
class Adaptor3d_HVertex;
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_HVertex, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_HVertex, Standard_Transient)
|
||||
|
||||
|
||||
class Adaptor3d_HVertex : public MMgt_TShared
|
||||
class Adaptor3d_HVertex : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_HVertex,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_HVertex,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#include <Standard_NotImplemented.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_TopolTool,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_TopolTool,Standard_Transient)
|
||||
|
||||
#define myInfinite Precision::Infinite()
|
||||
|
||||
|
@@ -33,7 +33,7 @@ class gp_Pnt;
|
||||
|
||||
|
||||
class Adaptor3d_TopolTool;
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_TopolTool, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Adaptor3d_TopolTool, Standard_Transient)
|
||||
|
||||
//! This class provides a default topological tool,
|
||||
//! based on the Umin,Vmin,Umax,Vmax of an HSurface
|
||||
@@ -42,7 +42,7 @@ DEFINE_STANDARD_HANDLE(Adaptor3d_TopolTool, MMgt_TShared)
|
||||
//! inheriting from this class.
|
||||
//! This class is used to instantiate algorithmes
|
||||
//! as Intersection, outlines,...
|
||||
class Adaptor3d_TopolTool : public MMgt_TShared
|
||||
class Adaptor3d_TopolTool : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -154,7 +154,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_TopolTool,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Adaptor3d_TopolTool,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user