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:
@@ -23,7 +23,7 @@
|
||||
#include <Standard_ConstructionError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Geometry,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Geometry,Standard_Transient)
|
||||
|
||||
typedef Geom2d_Geometry Geometry;
|
||||
typedef gp_Ax2d Ax2d;
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class Standard_ConstructionError;
|
||||
class gp_Pnt2d;
|
||||
@@ -30,7 +30,7 @@ class gp_Trsf2d;
|
||||
|
||||
|
||||
class Geom2d_Geometry;
|
||||
DEFINE_STANDARD_HANDLE(Geom2d_Geometry, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Geom2d_Geometry, Standard_Transient)
|
||||
|
||||
|
||||
//! The general abstract class Geometry in 2D space describes
|
||||
@@ -56,7 +56,7 @@ DEFINE_STANDARD_HANDLE(Geom2d_Geometry, MMgt_TShared)
|
||||
//! abstract method Transform which is defined for each
|
||||
//! concrete type of derived object. All other
|
||||
//! transformations are implemented using the Transform method.
|
||||
class Geom2d_Geometry : public MMgt_TShared
|
||||
class Geom2d_Geometry : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -113,7 +113,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Geom2d_Geometry,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Geom2d_Geometry,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Transformation,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Transformation,Standard_Transient)
|
||||
|
||||
typedef Geom2d_Transformation Transformation;
|
||||
typedef gp_Ax2d Ax2d;
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <gp_Trsf2d.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <gp_TrsfForm.hxx>
|
||||
@@ -35,7 +35,7 @@ class gp_Vec2d;
|
||||
|
||||
|
||||
class Geom2d_Transformation;
|
||||
DEFINE_STANDARD_HANDLE(Geom2d_Transformation, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Geom2d_Transformation, Standard_Transient)
|
||||
|
||||
|
||||
//! The class Transformation allows to create Translation,
|
||||
@@ -70,7 +70,7 @@ DEFINE_STANDARD_HANDLE(Geom2d_Transformation, MMgt_TShared)
|
||||
//! - Geom2d_Transformation transformations are
|
||||
//! used in a context where they can be shared by
|
||||
//! several objects contained inside a common data structure.
|
||||
class Geom2d_Transformation : public MMgt_TShared
|
||||
class Geom2d_Transformation : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -219,7 +219,7 @@ void operator *= (const Handle(Geom2d_Transformation)& Other)
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Geom2d_Transformation,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Geom2d_Transformation,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user