1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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

@@ -42,7 +42,7 @@
#include <TopoDS_Vertex.hxx>
#include <TopTools_DataMapOfShapeShape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_RemoveLocations,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_RemoveLocations,Standard_Transient)
//#include <ShapeUpgrade_DataMapOfShapeListOfTransient.hxx>
//=======================================================================

View File

@@ -22,16 +22,16 @@
#include <TopAbs_ShapeEnum.hxx>
#include <TopoDS_Shape.hxx>
#include <TopTools_DataMapOfShapeShape.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class TopoDS_Shape;
class ShapeUpgrade_RemoveLocations;
DEFINE_STANDARD_HANDLE(ShapeUpgrade_RemoveLocations, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeUpgrade_RemoveLocations, Standard_Transient)
//! Removes all locations sub-shapes of specified shape
class ShapeUpgrade_RemoveLocations : public MMgt_TShared
class ShapeUpgrade_RemoveLocations : public Standard_Transient
{
public:
@@ -62,7 +62,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_RemoveLocations,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_RemoveLocations,Standard_Transient)
protected:

View File

@@ -26,7 +26,7 @@
#include <TColStd_HSequenceOfReal.hxx>
#include <TColStd_ListIteratorOfListOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,Standard_Transient)
//=======================================================================
//function : ShapeUpgrade_SplitCurve

View File

@@ -22,7 +22,7 @@
#include <TColStd_HSequenceOfReal.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <ShapeExtend_Status.hxx>
@@ -33,10 +33,10 @@
#endif
class ShapeUpgrade_SplitCurve;
DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitCurve, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitCurve, Standard_Transient)
//! Splits a curve with a criterion.
class ShapeUpgrade_SplitCurve : public MMgt_TShared
class ShapeUpgrade_SplitCurve : public Standard_Transient
{
public:
@@ -79,7 +79,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,Standard_Transient)
protected:

View File

@@ -38,7 +38,7 @@
#include <TColStd_Array1OfReal.hxx>
#include <TColStd_HSequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,Standard_Transient)
//=======================================================================
//function : ShapeUpgrade_SplitSurface

View File

@@ -22,7 +22,7 @@
#include <TColStd_HSequenceOfReal.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <ShapeExtend_Status.hxx>
@@ -35,10 +35,10 @@ class ShapeExtend_CompositeSurface;
#endif
class ShapeUpgrade_SplitSurface;
DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitSurface, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitSurface, Standard_Transient)
//! Splits a Surface with a criterion.
class ShapeUpgrade_SplitSurface : public MMgt_TShared
class ShapeUpgrade_SplitSurface : public Standard_Transient
{
public:
@@ -99,7 +99,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,Standard_Transient)
protected:

View File

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

View File

@@ -21,18 +21,18 @@
#include <Standard_Type.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class ShapeBuild_ReShape;
class ShapeUpgrade_Tool;
DEFINE_STANDARD_HANDLE(ShapeUpgrade_Tool, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeUpgrade_Tool, Standard_Transient)
//! Tool is a root class for splitting classes
//! Provides context for recording changes, basic
//! precision value and limit (minimal and maximal)
//! values for tolerances
class ShapeUpgrade_Tool : public MMgt_TShared
class ShapeUpgrade_Tool : public Standard_Transient
{
public:
@@ -74,7 +74,7 @@ public:
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_Tool,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_Tool,Standard_Transient)
protected:

View File

@@ -89,7 +89,7 @@
#include <BRepAdaptor_Curve2d.hxx>
#include <gp_Vec2d.hxx>
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_UnifySameDomain,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_UnifySameDomain,Standard_Transient)
struct SubSequenceOfEdges
{

View File

@@ -23,7 +23,7 @@
#include <TopoDS_Shape.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TopTools_DataMapOfShapeShape.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
@@ -32,7 +32,7 @@ class TopoDS_Shape;
class ShapeUpgrade_UnifySameDomain;
DEFINE_STANDARD_HANDLE(ShapeUpgrade_UnifySameDomain, MMgt_TShared)
DEFINE_STANDARD_HANDLE(ShapeUpgrade_UnifySameDomain, Standard_Transient)
//! This tool tries to unify faces and edges of the shape which lies on the same geometry.
//! Faces/edges considering as 'same-domain' if a group of neighbouring faces/edges lying on coincident surfaces/curves.
@@ -51,7 +51,7 @@ DEFINE_STANDARD_HANDLE(ShapeUpgrade_UnifySameDomain, MMgt_TShared)
//! The algorithm provides a place holder for the history and collects the
//! history by default.
//! To avoid collecting of the history the place holder should be set to the null handle.
class ShapeUpgrade_UnifySameDomain : public MMgt_TShared
class ShapeUpgrade_UnifySameDomain : public Standard_Transient
{
public:
@@ -131,7 +131,7 @@ public:
return myHistory;
}
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_UnifySameDomain,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_UnifySameDomain,Standard_Transient)
protected: