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:
@@ -28,7 +28,7 @@
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TopLoc_Location.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRep_CurveRepresentation,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRep_CurveRepresentation,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : BRep_CurveRepresentation
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TopLoc_Location.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <GeomAbs_Shape.hxx>
|
||||
class Standard_DomainError;
|
||||
@@ -36,11 +36,11 @@ class Poly_PolygonOnTriangulation;
|
||||
|
||||
|
||||
class BRep_CurveRepresentation;
|
||||
DEFINE_STANDARD_HANDLE(BRep_CurveRepresentation, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(BRep_CurveRepresentation, Standard_Transient)
|
||||
|
||||
//! Root class for the curve representations. Contains
|
||||
//! a location.
|
||||
class BRep_CurveRepresentation : public MMgt_TShared
|
||||
class BRep_CurveRepresentation : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -147,7 +147,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(BRep_CurveRepresentation,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(BRep_CurveRepresentation,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TopLoc_Location.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRep_PointRepresentation,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRep_PointRepresentation,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : BRep_PointRepresentation
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <TopLoc_Location.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
class Standard_DomainError;
|
||||
class TopLoc_Location;
|
||||
@@ -32,11 +32,11 @@ class Geom_Surface;
|
||||
|
||||
|
||||
class BRep_PointRepresentation;
|
||||
DEFINE_STANDARD_HANDLE(BRep_PointRepresentation, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(BRep_PointRepresentation, Standard_Transient)
|
||||
|
||||
//! Root class for the points representations.
|
||||
//! Contains a location and a parameter.
|
||||
class BRep_PointRepresentation : public MMgt_TShared
|
||||
class BRep_PointRepresentation : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(BRep_PointRepresentation,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(BRep_PointRepresentation,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user