mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
#include <sys/stat.h>
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeProcess_Context,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeProcess_Context,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeProcess_Context
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <TColStd_HSequenceOfHAsciiString.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
@@ -32,7 +32,7 @@ class TCollection_AsciiString;
|
||||
|
||||
|
||||
class ShapeProcess_Context;
|
||||
DEFINE_STANDARD_HANDLE(ShapeProcess_Context, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(ShapeProcess_Context, Standard_Transient)
|
||||
|
||||
//! Provides convenient interface to resource file
|
||||
//! Allows to load resource file and get values of
|
||||
@@ -40,7 +40,7 @@ DEFINE_STANDARD_HANDLE(ShapeProcess_Context, MMgt_TShared)
|
||||
//! if scope is defined as "ToV4" and requested parameter
|
||||
//! is "exec.op", value of "ToV4.exec.op" parameter from
|
||||
//! the resource file will be returned
|
||||
class ShapeProcess_Context : public MMgt_TShared
|
||||
class ShapeProcess_Context : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeProcess_Context,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeProcess_Context,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,4 +18,4 @@
|
||||
#include <ShapeProcess_Operator.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeProcess_Operator,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeProcess_Operator,Standard_Transient)
|
@@ -19,17 +19,17 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
class ShapeProcess_Context;
|
||||
|
||||
|
||||
class ShapeProcess_Operator;
|
||||
DEFINE_STANDARD_HANDLE(ShapeProcess_Operator, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(ShapeProcess_Operator, Standard_Transient)
|
||||
|
||||
//! Abstract Operator class providing a tool to
|
||||
//! perform an operation on Context
|
||||
class ShapeProcess_Operator : public MMgt_TShared
|
||||
class ShapeProcess_Operator : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeProcess_Operator,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeProcess_Operator,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user