mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IntPatch_Line,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IntPatch_Line,Standard_Transient)
|
||||
|
||||
IntPatch_Line::IntPatch_Line (const Standard_Boolean Tang,
|
||||
const IntSurf_TypeTrans Trans1,
|
||||
|
@@ -24,13 +24,13 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <IntSurf_TypeTrans.hxx>
|
||||
#include <IntSurf_Situation.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Standard_DomainError;
|
||||
class Standard_OutOfRange;
|
||||
|
||||
|
||||
class IntPatch_Line;
|
||||
DEFINE_STANDARD_HANDLE(IntPatch_Line, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(IntPatch_Line, Standard_Transient)
|
||||
|
||||
//! Definition of an intersection line between two
|
||||
//! surfaces.
|
||||
@@ -39,7 +39,7 @@ DEFINE_STANDARD_HANDLE(IntPatch_Line, MMgt_TShared)
|
||||
//! or analytic, as defined in the class ALine, or defined
|
||||
//! by a set of points (coming from a walking algorithm) as
|
||||
//! defined in the class WLine.
|
||||
class IntPatch_Line : public MMgt_TShared
|
||||
class IntPatch_Line : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -114,7 +114,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(IntPatch_Line,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(IntPatch_Line,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <IntSurf_PathPoint.hxx>
|
||||
#include <gp_Vec.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <IntSurf_Allocator.hxx>
|
||||
class IntSurf_LineOn2S;
|
||||
class Standard_OutOfRange;
|
||||
@@ -36,10 +36,10 @@ class gp_Vec;
|
||||
|
||||
|
||||
class IntPatch_TheIWLineOfTheIWalking;
|
||||
DEFINE_STANDARD_HANDLE(IntPatch_TheIWLineOfTheIWalking, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(IntPatch_TheIWLineOfTheIWalking, Standard_Transient)
|
||||
|
||||
|
||||
class IntPatch_TheIWLineOfTheIWalking : public MMgt_TShared
|
||||
class IntPatch_TheIWLineOfTheIWalking : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(IntPatch_TheIWLineOfTheIWalking,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(IntPatch_TheIWLineOfTheIWalking,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user