mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -19,4 +19,4 @@
|
||||
#include <Storage_CallBack.hxx>
|
||||
#include <Storage_Schema.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_CallBack,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_CallBack,Standard_Transient)
|
@@ -20,17 +20,17 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Standard_Persistent;
|
||||
class Storage_Schema;
|
||||
class Storage_BaseDriver;
|
||||
|
||||
|
||||
class Storage_CallBack;
|
||||
DEFINE_STANDARD_HANDLE(Storage_CallBack, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_CallBack, Standard_Transient)
|
||||
|
||||
|
||||
class Storage_CallBack : public MMgt_TShared
|
||||
class Storage_CallBack : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_CallBack,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_CallBack,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Data,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Data,Standard_Transient)
|
||||
|
||||
Storage_Data::Storage_Data()
|
||||
{
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <Storage_Error.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TColStd_SequenceOfAsciiString.hxx>
|
||||
#include <TColStd_SequenceOfExtendedString.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -41,7 +41,7 @@ class Storage_Root;
|
||||
|
||||
|
||||
class Storage_Data;
|
||||
DEFINE_STANDARD_HANDLE(Storage_Data, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_Data, Standard_Transient)
|
||||
|
||||
//! A picture memorizing the data stored in a
|
||||
//! container (for example, in a file).
|
||||
@@ -73,7 +73,7 @@ DEFINE_STANDARD_HANDLE(Storage_Data, MMgt_TShared)
|
||||
//! are not maintained by the storage/retrieval
|
||||
//! mechanism: external references are not
|
||||
//! supported by Storage_Schema algorithm
|
||||
class Storage_Data : public MMgt_TShared
|
||||
class Storage_Data : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -228,7 +228,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Data,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Data,Standard_Transient)
|
||||
|
||||
|
||||
Standard_EXPORT Handle(Storage_HeaderData) HeaderData() const;
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_HeaderData,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_HeaderData,Standard_Transient)
|
||||
|
||||
Storage_HeaderData::Storage_HeaderData() : myNBObj(0), myErrorStatus(Storage_VSOk)
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <TColStd_SequenceOfAsciiString.hxx>
|
||||
#include <TColStd_SequenceOfExtendedString.hxx>
|
||||
#include <Storage_Error.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Storage_Schema;
|
||||
class Storage_BaseDriver;
|
||||
class TCollection_AsciiString;
|
||||
@@ -34,10 +34,10 @@ class TCollection_ExtendedString;
|
||||
|
||||
|
||||
class Storage_HeaderData;
|
||||
DEFINE_STANDARD_HANDLE(Storage_HeaderData, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_HeaderData, Standard_Transient)
|
||||
|
||||
|
||||
class Storage_HeaderData : public MMgt_TShared
|
||||
class Storage_HeaderData : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_HeaderData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_HeaderData,Standard_Transient)
|
||||
|
||||
public:
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <Storage_InternalData.hxx>
|
||||
#include <Storage_Schema.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_InternalData,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_InternalData,Standard_Transient)
|
||||
|
||||
Storage_InternalData::Storage_InternalData() : myObjId(1), myTypeId(1)
|
||||
{
|
||||
|
@@ -24,15 +24,15 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Storage_HPArray.hxx>
|
||||
#include <Storage_MapOfCallBack.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Storage_Schema;
|
||||
|
||||
|
||||
class Storage_InternalData;
|
||||
DEFINE_STANDARD_HANDLE(Storage_InternalData, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_InternalData, Standard_Transient)
|
||||
|
||||
|
||||
class Storage_InternalData : public MMgt_TShared
|
||||
class Storage_InternalData : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_InternalData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_InternalData,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <Storage_Schema.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Root,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Root,Standard_Transient)
|
||||
|
||||
Storage_Root::Storage_Root()
|
||||
: myRef (0) {}
|
||||
|
@@ -22,14 +22,14 @@
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Standard_Persistent;
|
||||
class Storage_Schema;
|
||||
class TCollection_AsciiString;
|
||||
|
||||
|
||||
class Storage_Root;
|
||||
DEFINE_STANDARD_HANDLE(Storage_Root, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_Root, Standard_Transient)
|
||||
|
||||
|
||||
//! A root object extracted from a Storage_Data object.
|
||||
@@ -45,7 +45,7 @@ DEFINE_STANDARD_HANDLE(Storage_Root, MMgt_TShared)
|
||||
//! You do not create explicit roots: when inserting
|
||||
//! data in a Storage_Data object, you just provide
|
||||
//! the persistent object and optionally its name to the function AddRoot.
|
||||
class Storage_Root : public MMgt_TShared
|
||||
class Storage_Root : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Root,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Root,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Storage_DataMapIteratorOfMapOfPers.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_RootData,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_RootData,Standard_Transient)
|
||||
|
||||
Storage_RootData::Storage_RootData() : myErrorStatus(Storage_VSOk)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Storage_MapOfPers.hxx>
|
||||
#include <Storage_Error.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Storage_HSeqOfRoot.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
@@ -36,10 +36,10 @@ class Standard_Persistent;
|
||||
|
||||
|
||||
class Storage_RootData;
|
||||
DEFINE_STANDARD_HANDLE(Storage_RootData, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_RootData, Standard_Transient)
|
||||
|
||||
|
||||
class Storage_RootData : public MMgt_TShared
|
||||
class Storage_RootData : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_RootData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_RootData,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -46,7 +46,7 @@
|
||||
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Schema,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Schema,Standard_Transient)
|
||||
|
||||
#define DATATYPE_MIGRATION
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <Storage_HArrayOfSchema.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TColStd_SequenceOfAsciiString.hxx>
|
||||
#include <TColStd_HSequenceOfAsciiString.hxx>
|
||||
#include <Storage_SolveMode.hxx>
|
||||
@@ -41,7 +41,7 @@ class Standard_Persistent;
|
||||
|
||||
|
||||
class Storage_Schema;
|
||||
DEFINE_STANDARD_HANDLE(Storage_Schema, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_Schema, Standard_Transient)
|
||||
|
||||
|
||||
//! Root class for basic storage/retrieval algorithms.
|
||||
@@ -67,7 +67,7 @@ DEFINE_STANDARD_HANDLE(Storage_Schema, MMgt_TShared)
|
||||
//! Storage_Schema algorithms are called basic
|
||||
//! because they do not support external references
|
||||
//! between containers.
|
||||
class Storage_Schema : public MMgt_TShared
|
||||
class Storage_Schema : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Schema,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Schema,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Storage_StreamTypeMismatchError.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_TypeData,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_TypeData,Standard_Transient)
|
||||
|
||||
Storage_TypeData::Storage_TypeData() : myErrorStatus(Storage_VSOk)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Storage_PType.hxx>
|
||||
#include <Storage_Error.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TColStd_HSequenceOfAsciiString.hxx>
|
||||
@@ -34,10 +34,10 @@ class TCollection_AsciiString;
|
||||
|
||||
|
||||
class Storage_TypeData;
|
||||
DEFINE_STANDARD_HANDLE(Storage_TypeData, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_TypeData, Standard_Transient)
|
||||
|
||||
|
||||
class Storage_TypeData : public MMgt_TShared
|
||||
class Storage_TypeData : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_TypeData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_TypeData,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#include <Storage_TypedCallBack.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_TypedCallBack,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_TypedCallBack,Standard_Transient)
|
||||
|
||||
Storage_TypedCallBack::Storage_TypedCallBack() : myIndex(0)
|
||||
{
|
||||
|
@@ -22,16 +22,16 @@
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Storage_CallBack;
|
||||
class TCollection_AsciiString;
|
||||
|
||||
|
||||
class Storage_TypedCallBack;
|
||||
DEFINE_STANDARD_HANDLE(Storage_TypedCallBack, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Storage_TypedCallBack, Standard_Transient)
|
||||
|
||||
|
||||
class Storage_TypedCallBack : public MMgt_TShared
|
||||
class Storage_TypedCallBack : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_TypedCallBack,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_TypedCallBack,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user