1
0
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:
kgv
2017-07-06 10:38:18 +03:00
committed by bugmaster
parent e958a649c6
commit 25e59720d6
980 changed files with 2451 additions and 2539 deletions

View File

@@ -21,7 +21,7 @@
#include <Standard_Type.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Transfer_HSequenceOfFinder.hxx>
#include <Transfer_TransferMapOfProcessForFinder.hxx>
@@ -36,10 +36,10 @@ class Standard_Transient;
class Transfer_ActorOfProcessForFinder;
DEFINE_STANDARD_HANDLE(Transfer_ActorOfProcessForFinder, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_ActorOfProcessForFinder, Standard_Transient)
class Transfer_ActorOfProcessForFinder : public MMgt_TShared
class Transfer_ActorOfProcessForFinder : public Standard_Transient
{
public:
@@ -97,7 +97,7 @@ public:
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForFinder,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForFinder,Standard_Transient)
protected:

View File

@@ -21,7 +21,7 @@
#include <Standard_Type.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <Transfer_TransferMapOfProcessForTransient.hxx>
@@ -35,10 +35,10 @@ class Transfer_SimpleBinderOfTransient;
class Transfer_ActorOfProcessForTransient;
DEFINE_STANDARD_HANDLE(Transfer_ActorOfProcessForTransient, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_ActorOfProcessForTransient, Standard_Transient)
class Transfer_ActorOfProcessForTransient : public MMgt_TShared
class Transfer_ActorOfProcessForTransient : public Standard_Transient
{
public:
@@ -96,7 +96,7 @@ public:
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForTransient,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForTransient,Standard_Transient)
protected:

View File

@@ -21,7 +21,7 @@
#include <Transfer_TransferFailure.hxx>
#include <Transfer_VoidBinder.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Binder,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Binder,Standard_Transient)
//=======================================================================
//function : Transfer_Binder

View File

@@ -22,7 +22,7 @@
#include <Transfer_StatusResult.hxx>
#include <Transfer_StatusExec.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Type.hxx>
#include <Standard_CString.hxx>
@@ -35,7 +35,7 @@ class Transfer_TransferFailure;
#endif
class Transfer_Binder;
DEFINE_STANDARD_HANDLE(Transfer_Binder, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_Binder, Standard_Transient)
//! A Binder is an auxiliary object to Map the Result of the
//! Transfer of a given Object : it records the Result of the
@@ -59,7 +59,7 @@ DEFINE_STANDARD_HANDLE(Transfer_Binder, MMgt_TShared)
//!
//! In addition to the Result, a Binder can bring a list of
//! Attributes, which are additional data, each of them has a name
class Transfer_Binder : public MMgt_TShared
class Transfer_Binder : public Standard_Transient
{
public:
@@ -137,7 +137,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Transfer_Binder,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_Binder,Standard_Transient)
protected:

View File

@@ -19,7 +19,7 @@
#include <TCollection_HAsciiString.hxx>
#include <Transfer_Finder.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Finder,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Finder,Standard_Transient)
void Transfer_Finder::SetHashCode (const Standard_Integer code)
{ thecode = code; }

View File

@@ -23,7 +23,7 @@
#include <NCollection_DataMap.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Type.hxx>
#include <Standard_CString.hxx>
@@ -34,14 +34,14 @@
class Transfer_Finder;
DEFINE_STANDARD_HANDLE(Transfer_Finder, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_Finder, Standard_Transient)
//! a Finder allows to map any kind of object as a Key for a Map.
//! This works by defining, for a Hash Code, that of the real Key,
//! not of the Finder which acts only as an intermediate.
//! When a Map asks for the HashCode of a Finder, this one returns
//! the code it has determined at creation time
class Transfer_Finder : public MMgt_TShared
class Transfer_Finder : public Standard_Transient
{
public:
@@ -149,7 +149,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Transfer_Finder,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_Finder,Standard_Transient)
protected:

View File

@@ -15,7 +15,7 @@
#include <Standard_Type.hxx>
#include <Transfer_MapContainer.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_MapContainer,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Transfer_MapContainer,Standard_Transient)
Transfer_MapContainer::Transfer_MapContainer()
{

View File

@@ -20,14 +20,14 @@
#include <Standard_Type.hxx>
#include <TColStd_DataMapOfTransientTransient.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class Transfer_MapContainer;
DEFINE_STANDARD_HANDLE(Transfer_MapContainer, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_MapContainer, Standard_Transient)
class Transfer_MapContainer : public MMgt_TShared
class Transfer_MapContainer : public Standard_Transient
{
public:
@@ -44,7 +44,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Transfer_MapContainer,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_MapContainer,Standard_Transient)
protected:

View File

@@ -37,10 +37,10 @@ class Interface_CheckIterator;
class Transfer_ProcessForFinder;
DEFINE_STANDARD_HANDLE(Transfer_ProcessForFinder, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_ProcessForFinder, Standard_Transient)
class Transfer_ProcessForFinder : public MMgt_TShared
class Transfer_ProcessForFinder : public Standard_Transient
{
public:
@@ -417,7 +417,7 @@ public:
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForFinder,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForFinder,Standard_Transient)
protected:

View File

@@ -36,7 +36,7 @@ class Interface_CheckIterator;
class Transfer_ProcessForTransient;
DEFINE_STANDARD_HANDLE(Transfer_ProcessForTransient, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_ProcessForTransient, Standard_Transient)
//! Manages Transfer of Transient Objects. Produces also
//! ActorOfTransientProcess (deferred class),
@@ -44,7 +44,7 @@ DEFINE_STANDARD_HANDLE(Transfer_ProcessForTransient, MMgt_TShared)
//! TransferMapOfTransientProcess (internally used)
//! Normally uses as TransientProcess, which adds some specifics
class Transfer_ProcessForTransient : public MMgt_TShared
class Transfer_ProcessForTransient : public Standard_Transient
{
public:
@@ -405,7 +405,7 @@ public:
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForTransient,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForTransient,Standard_Transient)
protected:

View File

@@ -25,7 +25,7 @@
#include <Transfer_ResultFromTransient.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ResultFromModel,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ResultFromModel,Standard_Transient)
Transfer_ResultFromModel::Transfer_ResultFromModel ()
{ themnum = 0; themchk = Interface_CheckAny; }

View File

@@ -23,7 +23,7 @@
#include <TCollection_AsciiString.hxx>
#include <Standard_Integer.hxx>
#include <Interface_CheckStatus.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_CString.hxx>
#include <Standard_Boolean.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
@@ -35,7 +35,7 @@ class Interface_CheckIterator;
class Transfer_ResultFromModel;
DEFINE_STANDARD_HANDLE(Transfer_ResultFromModel, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_ResultFromModel, Standard_Transient)
//! ResultFromModel is used to store a final result stored in a
//! TransientProcess, respectfully to its structuration in scopes
@@ -52,7 +52,7 @@ DEFINE_STANDARD_HANDLE(Transfer_ResultFromModel, MMgt_TShared)
//! by designating a starting entity
//! - Fill back the TransientProcess from a ResultFromModel, as it
//! were filled by the operation which filled it the first time
class Transfer_ResultFromModel : public MMgt_TShared
class Transfer_ResultFromModel : public Standard_Transient
{
public:
@@ -158,7 +158,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromModel,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromModel,Standard_Transient)
protected:

View File

@@ -20,7 +20,7 @@
#include <Transfer_ResultFromTransient.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ResultFromTransient,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ResultFromTransient,Standard_Transient)
static Handle(Interface_Check) voidcheck = new Interface_Check;

View File

@@ -21,7 +21,7 @@
#include <Standard_Type.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
#include <Interface_CheckStatus.hxx>
#include <Standard_Integer.hxx>
@@ -33,7 +33,7 @@ class Transfer_TransientProcess;
class Transfer_ResultFromTransient;
DEFINE_STANDARD_HANDLE(Transfer_ResultFromTransient, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Transfer_ResultFromTransient, Standard_Transient)
//! This class, in conjunction with ResultFromModel, allows to
//! record the result of a transfer initially stored in a
@@ -43,7 +43,7 @@ DEFINE_STANDARD_HANDLE(Transfer_ResultFromTransient, MMgt_TShared)
//! the result and checks) plus a list of "sub-results", which
//! have been recorded in the TrabsientProcess, under scope
//! attached to the starting transient.
class Transfer_ResultFromTransient : public MMgt_TShared
class Transfer_ResultFromTransient : public Standard_Transient
{
public:
@@ -113,7 +113,7 @@ public:
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromTransient,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromTransient,Standard_Transient)
protected: