mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepBuild_HBuilder,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepBuild_HBuilder,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TopOpeBRepBuild_HBuilder
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TColStd_ListOfInteger.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TopAbs_State.hxx>
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -38,7 +38,7 @@ class TopOpeBRepBuild_Builder;
|
||||
|
||||
|
||||
class TopOpeBRepBuild_HBuilder;
|
||||
DEFINE_STANDARD_HANDLE(TopOpeBRepBuild_HBuilder, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TopOpeBRepBuild_HBuilder, Standard_Transient)
|
||||
|
||||
//! The HBuilder algorithm constructs topological
|
||||
//! objects from an existing topology and new
|
||||
@@ -47,7 +47,7 @@ DEFINE_STANDARD_HANDLE(TopOpeBRepBuild_HBuilder, MMgt_TShared)
|
||||
//! the existing topologies are the parts involved in
|
||||
//! the topological operation and the new geometries
|
||||
//! are the intersection lines and points.
|
||||
class TopOpeBRepBuild_HBuilder : public MMgt_TShared
|
||||
class TopOpeBRepBuild_HBuilder : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -170,7 +170,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TopOpeBRepBuild_HBuilder,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TopOpeBRepBuild_HBuilder,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <TopOpeBRepBuild_BlockIterator.hxx>
|
||||
#include <TopOpeBRepBuild_Loop.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepBuild_Loop,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepBuild_Loop,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TopOpeBRepBuild_Loop
|
||||
|
@@ -23,19 +23,19 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopOpeBRepBuild_BlockIterator.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class TopoDS_Shape;
|
||||
class TopOpeBRepBuild_BlockIterator;
|
||||
|
||||
|
||||
class TopOpeBRepBuild_Loop;
|
||||
DEFINE_STANDARD_HANDLE(TopOpeBRepBuild_Loop, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TopOpeBRepBuild_Loop, Standard_Transient)
|
||||
|
||||
|
||||
//! a Loop is an existing shape (Shell,Wire) or a set
|
||||
//! of shapes (Faces,Edges) which are connex.
|
||||
//! a set of connex shape is represented by a BlockIterator
|
||||
class TopOpeBRepBuild_Loop : public MMgt_TShared
|
||||
class TopOpeBRepBuild_Loop : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TopOpeBRepBuild_Loop,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TopOpeBRepBuild_Loop,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user