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

@@ -61,7 +61,7 @@
#include <TopoDS_Vertex.hxx>
#include <ShapeBuild_ReShape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeFix_Edge,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeFix_Edge,Standard_Transient)
//=======================================================================
//function : ShapeFix_Edge

View File

@@ -21,7 +21,7 @@
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Real.hxx>
#include <ShapeExtend_Status.hxx>
@@ -39,7 +39,7 @@ class ShapeBuild_ReShape;
#endif
class ShapeFix_Edge;
DEFINE_STANDARD_HANDLE(ShapeFix_Edge, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeFix_Edge, Standard_Transient)
//! Fixing invalid edge.
//! Geometrical and/or topological inconsistency:
@@ -48,7 +48,7 @@ DEFINE_STANDARD_HANDLE(ShapeFix_Edge, MMgt_TShared)
//! - incorrect SameParameter flag (curve deviation is greater than
//! edge tolerance),
//! - not adjacent curves (3d or pcurve) to the vertices.
class ShapeFix_Edge : public MMgt_TShared
class ShapeFix_Edge : public Standard_Transient
{
public:
@@ -225,7 +225,7 @@ public:
//! Returns context
Standard_EXPORT Handle(ShapeBuild_ReShape) Context() const;
DEFINE_STANDARD_RTTIEXT(ShapeFix_Edge,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeFix_Edge,Standard_Transient)
protected:

View File

@@ -46,7 +46,7 @@
#include <Adaptor3d_HCurve.hxx>
#include <BSplCLib.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeFix_EdgeProjAux,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeFix_EdgeProjAux,Standard_Transient)
//=======================================================================
//function : ShapeFix_EdgeProjAux

View File

@@ -24,18 +24,18 @@
#include <TopoDS_Edge.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class TopoDS_Face;
class TopoDS_Edge;
class Geom2d_Curve;
class ShapeFix_EdgeProjAux;
DEFINE_STANDARD_HANDLE(ShapeFix_EdgeProjAux, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeFix_EdgeProjAux, Standard_Transient)
//! Project 3D point (vertex) on pcurves to find Vertex Parameter
//! on parametric representation of an edge
class ShapeFix_EdgeProjAux : public MMgt_TShared
class ShapeFix_EdgeProjAux : public Standard_Transient
{
public:
@@ -62,7 +62,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeFix_EdgeProjAux,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeFix_EdgeProjAux,Standard_Transient)
protected:

View File

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

View File

@@ -22,7 +22,7 @@
#include <Standard_Real.hxx>
#include <TopoDS_Shape.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Message_Gravity.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
@@ -36,14 +36,14 @@ class Message_Msg;
class ShapeFix_Root;
DEFINE_STANDARD_HANDLE(ShapeFix_Root, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeFix_Root, Standard_Transient)
//! Root class for fixing operations
//! Provides context for recording changes (optional),
//! basic precision value and limit (minimal and
//! maximal) values for tolerances,
//! and message registrator
class ShapeFix_Root : public MMgt_TShared
class ShapeFix_Root : public Standard_Transient
{
public:
@@ -113,7 +113,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeFix_Root,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeFix_Root,Standard_Transient)
protected: