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:
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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
|
||||
//=======================================================================
|
||||
|
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user