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:
@@ -36,7 +36,7 @@
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_SequenceOfInteger.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(MAT2d_Circuit,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(MAT2d_Circuit,Standard_Transient)
|
||||
|
||||
#ifdef OCCT_DEBUG
|
||||
#include <GCE2d_MakeSegment.hxx>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#include <TColStd_SequenceOfInteger.hxx>
|
||||
#include <GeomAbs_JoinType.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <MAT2d_SequenceOfSequenceOfGeometry.hxx>
|
||||
#include <TColStd_SequenceOfBoolean.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -39,12 +39,12 @@ class MAT2d_MiniPath;
|
||||
|
||||
|
||||
class MAT2d_Circuit;
|
||||
DEFINE_STANDARD_HANDLE(MAT2d_Circuit, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(MAT2d_Circuit, Standard_Transient)
|
||||
|
||||
//! Constructs a circuit on a set of lines.
|
||||
//! EquiCircuit gives a Circuit passing by all the lines
|
||||
//! in a set and all the connexions of the minipath associated.
|
||||
class MAT2d_Circuit : public MMgt_TShared
|
||||
class MAT2d_Circuit : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(MAT2d_Circuit,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(MAT2d_Circuit,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <MAT2d_Connexion.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(MAT2d_Connexion,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(MAT2d_Connexion,Standard_Transient)
|
||||
|
||||
//=============================================================================
|
||||
//function :
|
||||
|
@@ -23,19 +23,19 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
class gp_Pnt2d;
|
||||
|
||||
|
||||
class MAT2d_Connexion;
|
||||
DEFINE_STANDARD_HANDLE(MAT2d_Connexion, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(MAT2d_Connexion, Standard_Transient)
|
||||
|
||||
//! A Connexion links two lines of items in a set
|
||||
//! of lines. It s contains two points and their paramatric
|
||||
//! definitions on the lines.
|
||||
//! The items can be points or curves.
|
||||
class MAT2d_Connexion : public MMgt_TShared
|
||||
class MAT2d_Connexion : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(MAT2d_Connexion,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(MAT2d_Connexion,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user