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:
@@ -22,7 +22,7 @@
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
#include <TCollection_HExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_HAsciiString,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_HAsciiString,Standard_Transient)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Create
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Character.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -37,7 +37,7 @@ class TCollection_HExtendedString;
|
||||
|
||||
|
||||
class TCollection_HAsciiString;
|
||||
DEFINE_STANDARD_HANDLE(TCollection_HAsciiString, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TCollection_HAsciiString, Standard_Transient)
|
||||
|
||||
//! A variable-length sequence of ASCII characters
|
||||
//! (normal 8-bit character type). It provides editing
|
||||
@@ -47,7 +47,7 @@ DEFINE_STANDARD_HANDLE(TCollection_HAsciiString, MMgt_TShared)
|
||||
//! - HAsciiString strings may be shared by several objects.
|
||||
//! - You may use an AsciiString object to get the actual string.
|
||||
//! Note: HAsciiString objects use an AsciiString string as a field.
|
||||
class TCollection_HAsciiString : public MMgt_TShared
|
||||
class TCollection_HAsciiString : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -471,7 +471,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_HAsciiString,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_HAsciiString,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
#include <TCollection_HExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_HExtendedString,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_HExtendedString,Standard_Transient)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Create
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_ExtString.hxx>
|
||||
#include <Standard_ExtCharacter.hxx>
|
||||
@@ -37,7 +37,7 @@ class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class TCollection_HExtendedString;
|
||||
DEFINE_STANDARD_HANDLE(TCollection_HExtendedString, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TCollection_HExtendedString, Standard_Transient)
|
||||
|
||||
//! A variable-length sequence of "extended"
|
||||
//! (UNICODE) characters (16-bit character
|
||||
@@ -50,7 +50,7 @@ DEFINE_STANDARD_HANDLE(TCollection_HExtendedString, MMgt_TShared)
|
||||
//! - You may use an ExtendedString object to get the actual string.
|
||||
//! Note: HExtendedString objects use an
|
||||
//! ExtendedString string as a field.
|
||||
class TCollection_HExtendedString : public MMgt_TShared
|
||||
class TCollection_HExtendedString : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -208,7 +208,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_HExtendedString,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_HExtendedString,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -16,4 +16,4 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_MapNode.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_MapNode,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_MapNode,Standard_Transient)
|
@@ -21,14 +21,14 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TCollection_MapNodePtr.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
|
||||
class TCollection_MapNode;
|
||||
DEFINE_STANDARD_HANDLE(TCollection_MapNode, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TCollection_MapNode, Standard_Transient)
|
||||
|
||||
//! Basic class root of all the Maps.
|
||||
class TCollection_MapNode : public MMgt_TShared
|
||||
class TCollection_MapNode : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_MapNode,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_MapNode,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -16,4 +16,4 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_SeqNode.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_SeqNode,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TCollection_SeqNode,Standard_Transient)
|
@@ -21,14 +21,14 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TCollection_SeqNodePtr.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
|
||||
class TCollection_SeqNode;
|
||||
DEFINE_STANDARD_HANDLE(TCollection_SeqNode, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TCollection_SeqNode, Standard_Transient)
|
||||
|
||||
|
||||
class TCollection_SeqNode : public MMgt_TShared
|
||||
class TCollection_SeqNode : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_SeqNode,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TCollection_SeqNode,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user