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

@@ -19,7 +19,7 @@
#include <NCollection_UBTree.hxx>
#include <Bnd_Box.hxx>
#include <gp_Pnt.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TopTools_HArray1OfShape.hxx>
#include <ShapeExtend.hxx>

View File

@@ -21,7 +21,7 @@
#include <TopoDS_Wire.hxx>
#include <TopTools_HSequenceOfShape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_FreeBoundData,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_FreeBoundData,Standard_Transient)
//=======================================================================
//function : ShapeAnalysis_FreeBoundData

View File

@@ -24,13 +24,13 @@
#include <Standard_Real.hxx>
#include <TopTools_HSequenceOfShape.hxx>
#include <TopTools_DataMapOfShapeReal.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Integer.hxx>
class TopoDS_Wire;
class ShapeAnalysis_FreeBoundData;
DEFINE_STANDARD_HANDLE(ShapeAnalysis_FreeBoundData, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeAnalysis_FreeBoundData, Standard_Transient)
//! This class is intended to represent free bound and to store
//! its properties.
@@ -48,7 +48,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_FreeBoundData, MMgt_TShared)
//!
//! This class provides methods for setting and getting fields
//! only.
class ShapeAnalysis_FreeBoundData : public MMgt_TShared
class ShapeAnalysis_FreeBoundData : public Standard_Transient
{
public:
@@ -117,7 +117,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_FreeBoundData,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_FreeBoundData,Standard_Transient)
protected:

View File

@@ -58,7 +58,7 @@
#include <Standard_NoSuchObject.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_Surface,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_Surface,Standard_Transient)
//S4135
//S4135

View File

@@ -28,7 +28,7 @@
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
#include <Bnd_Box.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TColgp_SequenceOfPnt.hxx>
#include <TColgp_SequenceOfPnt2d.hxx>
class Geom_Surface;
@@ -40,7 +40,7 @@ class Bnd_Box;
class ShapeAnalysis_Surface;
DEFINE_STANDARD_HANDLE(ShapeAnalysis_Surface, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeAnalysis_Surface, Standard_Transient)
//! Complements standard tool Geom_Surface by providing additional
//! functionality for detection surface singularities, checking
@@ -67,7 +67,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_Surface, MMgt_TShared)
//! one is also provided.
//!
//! This tool is optimised: computes most information only once
class ShapeAnalysis_Surface : public MMgt_TShared
class ShapeAnalysis_Surface : public Standard_Transient
{
public:
@@ -317,7 +317,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_Surface,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_Surface,Standard_Transient)
protected:

View File

@@ -24,7 +24,7 @@
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_TransferParameters,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_TransferParameters,Standard_Transient)
//=======================================================================
//function : ShapeAnalysis_TransferParameters

View File

@@ -23,7 +23,7 @@
#include <Standard_Real.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TColStd_HSequenceOfReal.hxx>
#include <Standard_Boolean.hxx>
class TopoDS_Edge;
@@ -31,7 +31,7 @@ class TopoDS_Face;
class ShapeAnalysis_TransferParameters;
DEFINE_STANDARD_HANDLE(ShapeAnalysis_TransferParameters, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeAnalysis_TransferParameters, Standard_Transient)
//! This tool is used for transferring parameters
//! from 3d curve of the edge to pcurve and vice versa.
@@ -48,7 +48,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_TransferParameters, MMgt_TShared)
//!
//! This behaviour can be redefined in derived classes, for example,
//! using projection.
class ShapeAnalysis_TransferParameters : public MMgt_TShared
class ShapeAnalysis_TransferParameters : public Standard_Transient
{
public:
@@ -86,7 +86,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_TransferParameters,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_TransferParameters,Standard_Transient)
protected:

View File

@@ -87,7 +87,7 @@
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_Wire,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_Wire,Standard_Transient)
//szvsh addition
//=======================================================================

View File

@@ -23,7 +23,7 @@
#include <TopoDS_Face.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <IntRes2d_SequenceOfIntersectionPoint.hxx>
#include <TColgp_SequenceOfPnt.hxx>
@@ -49,7 +49,7 @@ class TopoDS_Edge;
#endif
class ShapeAnalysis_Wire;
DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, Standard_Transient)
//! This class provides analysis of a wire to be compliant to
//! CAS.CADE requirements.
@@ -88,7 +88,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, MMgt_TShared)
//!
//! In order to prepare an analyzer, it is necessary to load a wire,
//! set face and precision.
class ShapeAnalysis_Wire : public MMgt_TShared
class ShapeAnalysis_Wire : public Standard_Transient
{
public:
@@ -518,7 +518,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_Wire,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_Wire,Standard_Transient)
protected: