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:
@@ -21,7 +21,7 @@
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_Simple.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_Described,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_Described,Standard_Transient)
|
||||
|
||||
StepData_Described::StepData_Described (const Handle(StepData_EDescr)& descr)
|
||||
: thedescr (descr) { }
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
class StepData_EDescr;
|
||||
@@ -32,11 +32,11 @@ class Interface_EntityIterator;
|
||||
|
||||
|
||||
class StepData_Described;
|
||||
DEFINE_STANDARD_HANDLE(StepData_Described, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_Described, Standard_Transient)
|
||||
|
||||
//! General frame to describe entities with Description (Simple or
|
||||
//! Complex)
|
||||
class StepData_Described : public MMgt_TShared
|
||||
class StepData_Described : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_Described,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_Described,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -16,4 +16,4 @@
|
||||
#include <StepData_Described.hxx>
|
||||
#include <StepData_EDescr.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_EDescr,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_EDescr,Standard_Transient)
|
@@ -20,18 +20,18 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
class StepData_Described;
|
||||
|
||||
|
||||
class StepData_EDescr;
|
||||
DEFINE_STANDARD_HANDLE(StepData_EDescr, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_EDescr, Standard_Transient)
|
||||
|
||||
//! This class is intended to describe the authorized form for an
|
||||
//! entity, either Simple or Plex
|
||||
class StepData_EDescr : public MMgt_TShared
|
||||
class StepData_EDescr : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_EDescr,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_EDescr,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <NCollection_DataMap.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_FreeFormEntity,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_FreeFormEntity,Standard_Transient)
|
||||
|
||||
void StepData_FreeFormEntity::SetStepType (const Standard_CString typenam)
|
||||
{ thetype.Clear(); thetype.AssignCat (typenam); }
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <StepData_HArray1OfField.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TColStd_HSequenceOfAsciiString.hxx>
|
||||
@@ -31,14 +31,14 @@ class StepData_Field;
|
||||
|
||||
|
||||
class StepData_FreeFormEntity;
|
||||
DEFINE_STANDARD_HANDLE(StepData_FreeFormEntity, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_FreeFormEntity, Standard_Transient)
|
||||
|
||||
//! A Free Form Entity allows to record any kind of STEP
|
||||
//! parameters, in any way of typing
|
||||
//! It is implemented with an array of fields
|
||||
//! A Complex entity can be defined, as a chain of FreeFormEntity
|
||||
//! (see Next and As)
|
||||
class StepData_FreeFormEntity : public MMgt_TShared
|
||||
class StepData_FreeFormEntity : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_FreeFormEntity,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_FreeFormEntity,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class StepData_GlobalNodeOfWriterLib;
|
||||
class Standard_Transient;
|
||||
class StepData_ReadWriteModule;
|
||||
@@ -29,10 +29,10 @@ class StepData_WriterLib;
|
||||
|
||||
|
||||
class StepData_NodeOfWriterLib;
|
||||
DEFINE_STANDARD_HANDLE(StepData_NodeOfWriterLib, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_NodeOfWriterLib, Standard_Transient)
|
||||
|
||||
|
||||
class StepData_NodeOfWriterLib : public MMgt_TShared
|
||||
class StepData_NodeOfWriterLib : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(StepData_NodeOfWriterLib,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(StepData_NodeOfWriterLib,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_PDescr.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_PDescr,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_PDescr,Standard_Transient)
|
||||
|
||||
#define KindInteger 1
|
||||
#define KindBoolean 2
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <StepData_EnumTool.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
class StepData_EDescr;
|
||||
class StepData_Field;
|
||||
@@ -33,14 +33,14 @@ class Interface_Check;
|
||||
|
||||
|
||||
class StepData_PDescr;
|
||||
DEFINE_STANDARD_HANDLE(StepData_PDescr, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_PDescr, Standard_Transient)
|
||||
|
||||
//! This class is intended to describe the authorized form for a
|
||||
//! parameter, as a type or a value for a field
|
||||
//!
|
||||
//! A PDescr firstly describes a type, which can be SELECT, i.e.
|
||||
//! have several members
|
||||
class StepData_PDescr : public MMgt_TShared
|
||||
class StepData_PDescr : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -213,7 +213,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_PDescr,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_PDescr,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_SelectMember.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectMember,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectMember,Standard_Transient)
|
||||
|
||||
// Definitions reprises de Field :
|
||||
#define KindInteger 1
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
|
||||
class StepData_SelectMember;
|
||||
DEFINE_STANDARD_HANDLE(StepData_SelectMember, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_SelectMember, Standard_Transient)
|
||||
|
||||
//! The general form for a Select Member. A Select Member can,
|
||||
//! either define a value of a basic type (such as an integer)
|
||||
@@ -48,7 +48,7 @@ DEFINE_STANDARD_HANDLE(StepData_SelectMember, MMgt_TShared)
|
||||
//!
|
||||
//! Remark : this class itself could be deferred, because at least
|
||||
//! one of its virtual methods must be redefined to be usable
|
||||
class StepData_SelectMember : public MMgt_TShared
|
||||
class StepData_SelectMember : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectMember,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectMember,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_UndefinedEntity,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_UndefinedEntity,Standard_Transient)
|
||||
|
||||
StepData_UndefinedEntity::StepData_UndefinedEntity ()
|
||||
{ thecont = new Interface_UndefinedContent; thesub = Standard_False; }
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
@@ -34,14 +34,14 @@ class Interface_EntityIterator;
|
||||
|
||||
|
||||
class StepData_UndefinedEntity;
|
||||
DEFINE_STANDARD_HANDLE(StepData_UndefinedEntity, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(StepData_UndefinedEntity, Standard_Transient)
|
||||
|
||||
//! Undefined entity specific to Step Interface, in which StepType
|
||||
//! is defined at each instance, or is a SubList of another one
|
||||
//! Uses an UndefinedContent, that from Interface is suitable.
|
||||
//! Also an Entity defined by STEP can be "Complex Type" (see
|
||||
//! ANDOR clause in Express).
|
||||
class StepData_UndefinedEntity : public MMgt_TShared
|
||||
class StepData_UndefinedEntity : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -93,7 +93,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_UndefinedEntity,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_UndefinedEntity,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user