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

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

View File

@@ -22,7 +22,7 @@
#include <Standard_Integer.hxx>
#include <Standard_Address.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <MAT_Side.hxx>
class MAT_BasicElt;
@@ -31,10 +31,10 @@ class Standard_DomainError;
class MAT_Arc;
DEFINE_STANDARD_HANDLE(MAT_Arc, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_Arc, Standard_Transient)
//! An Arc is associated to each Bisecting of the mat.
class MAT_Arc : public MMgt_TShared
class MAT_Arc : public Standard_Transient
{
public:
@@ -98,7 +98,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_Arc,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_Arc,Standard_Transient)
protected:

View File

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

View File

@@ -22,16 +22,16 @@
#include <Standard_Address.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class MAT_Arc;
class MAT_BasicElt;
DEFINE_STANDARD_HANDLE(MAT_BasicElt, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_BasicElt, Standard_Transient)
//! A BasicELt is associated to each elemtary
//! constituant of the figure.
class MAT_BasicElt : public MMgt_TShared
class MAT_BasicElt : public Standard_Transient
{
public:
@@ -65,7 +65,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_BasicElt,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_BasicElt,Standard_Transient)
protected:

View File

@@ -21,7 +21,7 @@
#include <Precision.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MAT_Bisector,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(MAT_Bisector,Standard_Transient)
MAT_Bisector::MAT_Bisector()
{

View File

@@ -22,16 +22,16 @@
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class MAT_Edge;
class MAT_ListOfBisector;
class MAT_Bisector;
DEFINE_STANDARD_HANDLE(MAT_Bisector, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_Bisector, Standard_Transient)
class MAT_Bisector : public MMgt_TShared
class MAT_Bisector : public Standard_Transient
{
public:
@@ -100,7 +100,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_Bisector,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_Bisector,Standard_Transient)
protected:

View File

@@ -19,7 +19,7 @@
#include <MAT_Edge.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MAT_Edge,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(MAT_Edge,Standard_Transient)
MAT_Edge::MAT_Edge()
{

View File

@@ -22,15 +22,15 @@
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class MAT_Bisector;
class MAT_Edge;
DEFINE_STANDARD_HANDLE(MAT_Edge, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_Edge, Standard_Transient)
class MAT_Edge : public MMgt_TShared
class MAT_Edge : public Standard_Transient
{
public:
@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_Edge,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_Edge,Standard_Transient)
protected:

View File

@@ -30,7 +30,7 @@
#include <Precision.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MAT_Graph,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(MAT_Graph,Standard_Transient)
//------------------
// functions static.

View File

@@ -24,7 +24,7 @@
#include <MAT_DataMapOfIntegerBasicElt.hxx>
#include <MAT_DataMapOfIntegerNode.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class MAT_ListOfBisector;
class MAT_Arc;
@@ -33,11 +33,11 @@ class MAT_Node;
class MAT_Graph;
DEFINE_STANDARD_HANDLE(MAT_Graph, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_Graph, Standard_Transient)
//! The Class Graph permits the exploration of the
//! Bisector Locus.
class MAT_Graph : public MMgt_TShared
class MAT_Graph : public Standard_Transient
{
public:
@@ -105,7 +105,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_Graph,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_Graph,Standard_Transient)
protected:

View File

@@ -21,17 +21,17 @@
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class MAT_TListNodeOfListOfBisector;
class MAT_Bisector;
class MAT_ListOfBisector;
DEFINE_STANDARD_HANDLE(MAT_ListOfBisector, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_ListOfBisector, Standard_Transient)
class MAT_ListOfBisector : public MMgt_TShared
class MAT_ListOfBisector : public Standard_Transient
{
public:
@@ -94,7 +94,7 @@ Handle(MAT_Bisector) operator() (const Standard_Integer anindex)
DEFINE_STANDARD_RTTI_INLINE(MAT_ListOfBisector,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(MAT_ListOfBisector,Standard_Transient)
protected:

View File

@@ -21,17 +21,17 @@
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class MAT_TListNodeOfListOfEdge;
class MAT_Edge;
class MAT_ListOfEdge;
DEFINE_STANDARD_HANDLE(MAT_ListOfEdge, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_ListOfEdge, Standard_Transient)
class MAT_ListOfEdge : public MMgt_TShared
class MAT_ListOfEdge : public Standard_Transient
{
public:
@@ -94,7 +94,7 @@ Handle(MAT_Edge) operator() (const Standard_Integer anindex)
DEFINE_STANDARD_RTTI_INLINE(MAT_ListOfEdge,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(MAT_ListOfEdge,Standard_Transient)
protected:

View File

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

View File

@@ -23,7 +23,7 @@
#include <Standard_Integer.hxx>
#include <Standard_Address.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <MAT_SequenceOfArc.hxx>
#include <MAT_SequenceOfBasicElt.hxx>
#include <Standard_Boolean.hxx>
@@ -31,10 +31,10 @@ class MAT_Arc;
class MAT_Node;
DEFINE_STANDARD_HANDLE(MAT_Node, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_Node, Standard_Transient)
//! Node of Graph.
class MAT_Node : public MMgt_TShared
class MAT_Node : public Standard_Transient
{
public:
@@ -76,7 +76,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_Node,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_Node,Standard_Transient)
protected:

View File

@@ -20,16 +20,16 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class MAT_Bisector;
class MAT_ListOfBisector;
class MAT_TListNodeOfListOfBisector;
DEFINE_STANDARD_HANDLE(MAT_TListNodeOfListOfBisector, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_TListNodeOfListOfBisector, Standard_Transient)
class MAT_TListNodeOfListOfBisector : public MMgt_TShared
class MAT_TListNodeOfListOfBisector : public Standard_Transient
{
public:
@@ -56,7 +56,7 @@ public:
DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfBisector,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfBisector,Standard_Transient)
protected:

View File

@@ -20,16 +20,16 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class MAT_Edge;
class MAT_ListOfEdge;
class MAT_TListNodeOfListOfEdge;
DEFINE_STANDARD_HANDLE(MAT_TListNodeOfListOfEdge, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_TListNodeOfListOfEdge, Standard_Transient)
class MAT_TListNodeOfListOfEdge : public MMgt_TShared
class MAT_TListNodeOfListOfEdge : public Standard_Transient
{
public:
@@ -56,7 +56,7 @@ public:
DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfEdge,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfEdge,Standard_Transient)
protected:

View File

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

View File

@@ -22,7 +22,7 @@
#include <MAT_SequenceOfArc.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Integer.hxx>
#include <MAT_Side.hxx>
class MAT_BasicElt;
@@ -31,14 +31,14 @@ class MAT_Node;
class MAT_Zone;
DEFINE_STANDARD_HANDLE(MAT_Zone, MMgt_TShared)
DEFINE_STANDARD_HANDLE(MAT_Zone, Standard_Transient)
//! Definition of Zone of Proximity of a BasicElt :
//! ----------------------------------------------
//! A Zone of proximity is the set of the points which are
//! more near from the BasicElt than any other.
class MAT_Zone : public MMgt_TShared
class MAT_Zone : public Standard_Transient
{
public:
@@ -68,7 +68,7 @@ public:
DEFINE_STANDARD_RTTIEXT(MAT_Zone,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MAT_Zone,Standard_Transient)
protected: