1
0
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:
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

@@ -62,7 +62,7 @@
#include <XSControl_TransferReader.hxx>
#include <XSControl_WorkSession.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XSControl_Controller,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(XSControl_Controller,Standard_Transient)
// ParamEditor
// Transferts

View File

@@ -25,7 +25,7 @@
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <TColStd_SequenceOfInteger.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <NCollection_Vector.hxx>
#include <IFSelect_ReturnStatus.hxx>
#include <Standard_Transient.hxx>
@@ -45,7 +45,7 @@ class Interface_CheckIterator;
class XSControl_Controller;
DEFINE_STANDARD_HANDLE(XSControl_Controller, MMgt_TShared)
DEFINE_STANDARD_HANDLE(XSControl_Controller, Standard_Transient)
//! This class allows a general X-STEP engine to run generic
//! functions on any interface norm, in the same way. It includes
@@ -62,7 +62,7 @@ DEFINE_STANDARD_HANDLE(XSControl_Controller, MMgt_TShared)
//!
//! It does not manage the produced data, but the Actors make the
//! link between the norm and the application
class XSControl_Controller : public MMgt_TShared
class XSControl_Controller : public Standard_Transient
{
public:
@@ -191,7 +191,7 @@ class XSControl_Controller : public MMgt_TShared
const NCollection_DataMap<TCollection_AsciiString, Handle(Standard_Transient)> & AdaptorSession() const
{ return myAdaptorSession; }
DEFINE_STANDARD_RTTIEXT(XSControl_Controller,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(XSControl_Controller,Standard_Transient)
protected:

View File

@@ -54,7 +54,7 @@
#include <XSControl_Utils.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(XSControl_TransferReader,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(XSControl_TransferReader,Standard_Transient)
//=======================================================================
//function : SetController

View File

@@ -23,7 +23,7 @@
#include <TCollection_AsciiString.hxx>
#include <TColStd_DataMapOfIntegerTransient.hxx>
#include <TopTools_HSequenceOfShape.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <Interface_CheckStatus.hxx>
class XSControl_Controller;
@@ -39,7 +39,7 @@ class Interface_Graph;
class XSControl_TransferReader;
DEFINE_STANDARD_HANDLE(XSControl_TransferReader, MMgt_TShared)
DEFINE_STANDARD_HANDLE(XSControl_TransferReader, Standard_Transient)
//! A TransferReader performs, manages, handles results of,
//! transfers done when reading a file (i.e. from entities of an
@@ -59,7 +59,7 @@ DEFINE_STANDARD_HANDLE(XSControl_TransferReader, MMgt_TShared)
//!
//! Some more direct access are given for results which are
//! Transient or Shapes
class XSControl_TransferReader : public MMgt_TShared
class XSControl_TransferReader : public Standard_Transient
{
public:
@@ -341,7 +341,7 @@ class XSControl_TransferReader : public MMgt_TShared
//! entities which are in <list> (filter)
Standard_EXPORT static void PrintStatsOnList (const Handle(Transfer_TransientProcess)& theTP, const Handle(TColStd_HSequenceOfTransient)& theList, const Standard_Integer theWhat, const Standard_Integer theMode = 0);
DEFINE_STANDARD_RTTIEXT(XSControl_TransferReader,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(XSControl_TransferReader,Standard_Transient)
private:

View File

@@ -30,7 +30,7 @@
#include <XSControl_TransferWriter.hxx>
#include <XSControl_Utils.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XSControl_TransferWriter,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(XSControl_TransferWriter,Standard_Transient)
//=======================================================================

View File

@@ -20,7 +20,7 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <IFSelect_ReturnStatus.hxx>
#include <Transfer_FinderProcess.hxx>
class XSControl_Controller;
@@ -31,7 +31,7 @@ class Interface_CheckIterator;
class XSControl_TransferWriter;
DEFINE_STANDARD_HANDLE(XSControl_TransferWriter, MMgt_TShared)
DEFINE_STANDARD_HANDLE(XSControl_TransferWriter, Standard_Transient)
//! TransferWriter gives help to control transfer to write a file
//! after having converted data from Cascade/Imagine
@@ -39,7 +39,7 @@ DEFINE_STANDARD_HANDLE(XSControl_TransferWriter, MMgt_TShared)
//! It works with a Controller (which itself can work with an
//! Actor to Write) and a FinderProcess. It records results and
//! checks
class XSControl_TransferWriter : public MMgt_TShared
class XSControl_TransferWriter : public Standard_Transient
{
public:
@@ -122,7 +122,7 @@ class XSControl_TransferWriter : public MMgt_TShared
//! instead of keeping the original Mapper, whenever known
Standard_EXPORT Interface_CheckIterator ResultCheckList (const Handle(Interface_InterfaceModel)& theModel) const;
DEFINE_STANDARD_RTTIEXT(XSControl_TransferWriter,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(XSControl_TransferWriter,Standard_Transient)
private:

View File

@@ -27,7 +27,7 @@
#include <TopoDS_Shape.hxx>
#include <XSControl_Vars.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XSControl_Vars,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(XSControl_Vars,Standard_Transient)
XSControl_Vars::XSControl_Vars() { }

View File

@@ -20,7 +20,7 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_CString.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Transient.hxx>
@@ -36,7 +36,7 @@ class TopoDS_Shape;
class XSControl_Vars;
DEFINE_STANDARD_HANDLE(XSControl_Vars, MMgt_TShared)
DEFINE_STANDARD_HANDLE(XSControl_Vars, Standard_Transient)
//! Defines a receptacle for externally defined variables, each
//! one has a name
@@ -48,7 +48,7 @@ DEFINE_STANDARD_HANDLE(XSControl_Vars, MMgt_TShared)
//! This class provides a common form for this. It also provides
//! a default implementation (locally recorded variables in a
//! dictionary), but which is aimed to be redefined
class XSControl_Vars : public MMgt_TShared
class XSControl_Vars : public Standard_Transient
{
public:
@@ -83,7 +83,7 @@ public:
DEFINE_STANDARD_RTTIEXT(XSControl_Vars,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(XSControl_Vars,Standard_Transient)
protected: