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:
@@ -21,7 +21,7 @@
|
||||
#include <TFunction_Driver.hxx>
|
||||
#include <TFunction_Logbook.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TFunction_Driver,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TFunction_Driver,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TFunction_Driver
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TDF_Label.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <TDF_LabelList.hxx>
|
||||
@@ -30,7 +30,7 @@ class TFunction_Logbook;
|
||||
|
||||
|
||||
class TFunction_Driver;
|
||||
DEFINE_STANDARD_HANDLE(TFunction_Driver, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TFunction_Driver, Standard_Transient)
|
||||
|
||||
//! This driver class provide services around function
|
||||
//! execution. One instance of this class is built for
|
||||
@@ -43,7 +43,7 @@ DEFINE_STANDARD_HANDLE(TFunction_Driver, MMgt_TShared)
|
||||
//! attributes of sub-labels of a model.
|
||||
//! A single instance of this class and each of its
|
||||
//! subclasses is built for the whole session.
|
||||
class TFunction_Driver : public MMgt_TShared
|
||||
class TFunction_Driver : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TFunction_Driver,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TFunction_Driver,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <TFunction_Driver.hxx>
|
||||
#include <TFunction_DriverTable.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TFunction_DriverTable,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TFunction_DriverTable,Standard_Transient)
|
||||
|
||||
static Handle(TFunction_DriverTable) DT;
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <TFunction_DataMapOfGUIDDriver.hxx>
|
||||
#include <TFunction_HArray1OfDataMapOfGUIDDriver.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
@@ -31,12 +31,12 @@ class TFunction_Driver;
|
||||
|
||||
|
||||
class TFunction_DriverTable;
|
||||
DEFINE_STANDARD_HANDLE(TFunction_DriverTable, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TFunction_DriverTable, Standard_Transient)
|
||||
|
||||
//! A container for instances of drivers.
|
||||
//! You create a new instance of TFunction_Driver
|
||||
//! and use the method AddDriver to load it into the driver table.
|
||||
class TFunction_DriverTable : public MMgt_TShared
|
||||
class TFunction_DriverTable : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -73,7 +73,7 @@ Standard_OStream& operator << (Standard_OStream& anOS) const
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TFunction_DriverTable,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TFunction_DriverTable,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user