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 <Poly_PolygonOnTriangulation.hxx>
|
||||
#include <Poly_Triangulation.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepTools_Modification,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepTools_Modification,Standard_Transient)
|
||||
|
||||
Standard_Boolean BRepTools_Modification::NewTriangulation(const TopoDS_Face&, Handle(Poly_Triangulation)&)
|
||||
{
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <GeomAbs_Shape.hxx>
|
||||
@@ -39,11 +39,11 @@ class Poly_PolygonOnTriangulation;
|
||||
|
||||
|
||||
class BRepTools_Modification;
|
||||
DEFINE_STANDARD_HANDLE(BRepTools_Modification, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(BRepTools_Modification, Standard_Transient)
|
||||
|
||||
//! Defines geometric modifications to a shape, i.e.
|
||||
//! changes to faces, edges and vertices.
|
||||
class BRepTools_Modification : public MMgt_TShared
|
||||
class BRepTools_Modification : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(BRepTools_Modification,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepTools_Modification,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include <TopoDS_Shell.hxx>
|
||||
#include <TopoDS_Solid.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepTools_ReShape,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepTools_ReShape,Standard_Transient)
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TopAbs_ShapeEnum.hxx>
|
||||
|
||||
class TopoDS_Shape;
|
||||
@@ -35,7 +35,7 @@ class TopoDS_Vertex;
|
||||
#endif
|
||||
|
||||
class BRepTools_ReShape;
|
||||
DEFINE_STANDARD_HANDLE(BRepTools_ReShape, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(BRepTools_ReShape, Standard_Transient)
|
||||
|
||||
//! Rebuilds a Shape by making pre-defined substitutions on some
|
||||
//! of its components
|
||||
@@ -51,7 +51,7 @@ DEFINE_STANDARD_HANDLE(BRepTools_ReShape, MMgt_TShared)
|
||||
//! contain one or more of these individual shapes
|
||||
//!
|
||||
//! Supports the 'BRepTools_History' history by method 'History'.
|
||||
class BRepTools_ReShape : public MMgt_TShared
|
||||
class BRepTools_ReShape : public Standard_Transient
|
||||
{
|
||||
public:
|
||||
//! Returns an empty Reshape
|
||||
@@ -152,7 +152,7 @@ public:
|
||||
//! Returns the history of the substituted shapes.
|
||||
Standard_EXPORT Handle(BRepTools_History) History() const;
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(BRepTools_ReShape,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepTools_ReShape,Standard_Transient)
|
||||
|
||||
protected:
|
||||
//! The kinds of the replacements.
|
||||
|
Reference in New Issue
Block a user