mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
#include <StepData_Protocol.hxx>
|
||||
#include <StepData_UndefinedEntity.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_DefaultGeneral,StepData_GeneralModule)
|
||||
|
||||
// DefaultGeneral de StepData reconnait UN SEUL TYPE : UndefinedEntity
|
||||
StepData_DefaultGeneral::StepData_DefaultGeneral ()
|
||||
{
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_DefaultGeneral,StepData_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_DefaultGeneral,StepData_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <StepData_EDescr.hxx>
|
||||
#include <StepData_Protocol.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_DescrGeneral,StepData_GeneralModule)
|
||||
|
||||
StepData_DescrGeneral::StepData_DescrGeneral
|
||||
(const Handle(StepData_Protocol)& proto)
|
||||
: theproto (proto) { }
|
||||
|
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_DescrGeneral,StepData_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_DescrGeneral,StepData_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <StepData_DescrReadWrite.hxx>
|
||||
#include <StepData_WriterLib.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_DescrProtocol,StepData_FileProtocol)
|
||||
|
||||
StepData_DescrProtocol::StepData_DescrProtocol () { }
|
||||
|
||||
void StepData_DescrProtocol::SetSchemaName (const Standard_CString name)
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_DescrProtocol,StepData_FileProtocol)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_DescrProtocol,StepData_FileProtocol)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -29,6 +29,8 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TColStd_HSequenceOfAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_DescrReadWrite,StepData_ReadWriteModule)
|
||||
|
||||
static TCollection_AsciiString nocp("?");
|
||||
|
||||
|
||||
|
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_DescrReadWrite,StepData_ReadWriteModule)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_DescrReadWrite,StepData_ReadWriteModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_Simple.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_Described,MMgt_TShared)
|
||||
|
||||
StepData_Described::StepData_Described (const Handle(StepData_EDescr)& descr)
|
||||
: thedescr (descr) { }
|
||||
|
||||
|
@@ -76,7 +76,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_Described,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_Described,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <StepData_Simple.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_ECDescr,StepData_EDescr)
|
||||
|
||||
StepData_ECDescr::StepData_ECDescr () { }
|
||||
|
||||
void StepData_ECDescr::Add (const Handle(StepData_ESDescr)& member)
|
||||
|
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_ECDescr,StepData_EDescr)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_ECDescr,StepData_EDescr)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,3 +15,5 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_Described.hxx>
|
||||
#include <StepData_EDescr.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_EDescr,MMgt_TShared)
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_EDescr,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_EDescr,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <StepData_Simple.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_ESDescr,StepData_EDescr)
|
||||
|
||||
StepData_ESDescr::StepData_ESDescr (const Standard_CString name)
|
||||
: thenom (name) { thenames = new Dico_DictionaryOfInteger; }
|
||||
|
||||
|
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_ESDescr,StepData_EDescr)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_ESDescr,StepData_EDescr)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <StepData_FileProtocol.hxx>
|
||||
#include <StepData_Protocol.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_FileProtocol,StepData_Protocol)
|
||||
|
||||
//static TCollection_AsciiString thename("");
|
||||
static Standard_CString thename = "";
|
||||
|
||||
|
@@ -79,7 +79,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_FileProtocol,StepData_Protocol)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_FileProtocol,StepData_Protocol)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_FileRecognizer,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTI_INLINE(StepData_FileRecognizer,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_FreeFormEntity.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_FreeFormEntity,MMgt_TShared)
|
||||
|
||||
void StepData_FreeFormEntity::SetStepType (const Standard_CString typenam)
|
||||
{ thetype.Clear(); thetype.AssignCat (typenam); }
|
||||
|
||||
|
@@ -98,7 +98,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_FreeFormEntity,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_FreeFormEntity,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,3 +19,5 @@
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_GeneralModule.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_GeneralModule,Interface_GeneralModule)
|
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_GeneralModule,Interface_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_GeneralModule,Interface_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_GlobalNodeOfWriterLib,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTI_INLINE(StepData_GlobalNodeOfWriterLib,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_NodeOfWriterLib,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(StepData_NodeOfWriterLib,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,6 +18,8 @@
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_PDescr.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_PDescr,MMgt_TShared)
|
||||
|
||||
#define KindInteger 1
|
||||
#define KindBoolean 2
|
||||
#define KindLogical 3
|
||||
|
@@ -213,7 +213,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_PDescr,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_PDescr,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <StepData_Simple.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_Plex,StepData_Described)
|
||||
|
||||
static StepData_Field bid;
|
||||
|
||||
StepData_Plex::StepData_Plex (const Handle(StepData_ECDescr)& descr)
|
||||
|
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_Plex,StepData_Described)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_Plex,StepData_Described)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <StepData_UndefinedEntity.hxx>
|
||||
|
||||
#include <stdio.h>
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_Protocol,Interface_Protocol)
|
||||
|
||||
// Le Protocol de base reconnait UnknownEntity
|
||||
//static TCollection_AsciiString thename("(DEFAULT)");
|
||||
static Standard_CString thename = "(DEFAULT)";
|
||||
|
@@ -138,7 +138,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_Protocol,Interface_Protocol)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_Protocol,Interface_Protocol)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <StepData_StepWriter.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_ReadWriteModule,Interface_ReaderModule)
|
||||
|
||||
Standard_Integer StepData_ReadWriteModule::CaseNum
|
||||
(const Handle(Interface_FileReaderData)& data,
|
||||
const Standard_Integer num) const
|
||||
|
@@ -110,7 +110,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_ReadWriteModule,Interface_ReaderModule)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_ReadWriteModule,Interface_ReaderModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_SelectArrReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectArrReal,StepData_SelectNamed)
|
||||
|
||||
// Definitions : cf Field
|
||||
#define myKindArrReal 8
|
||||
|
||||
|
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_SelectArrReal,StepData_SelectNamed)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectArrReal,StepData_SelectNamed)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_SelectInt.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectInt,StepData_SelectMember)
|
||||
|
||||
StepData_SelectInt::StepData_SelectInt () { thekind = 0; theval = 0; }
|
||||
|
||||
Standard_Integer StepData_SelectInt::Kind () const { return thekind; }
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_SelectInt,StepData_SelectMember)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectInt,StepData_SelectMember)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_SelectMember.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectMember,MMgt_TShared)
|
||||
|
||||
// Definitions reprises de Field :
|
||||
#define KindInteger 1
|
||||
#define KindBoolean 2
|
||||
|
@@ -119,7 +119,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_SelectMember,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectMember,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -16,6 +16,8 @@
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_SelectNamed.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectNamed,StepData_SelectMember)
|
||||
|
||||
// Definitions reprises de Field :
|
||||
#define KindInteger 1
|
||||
#define KindBoolean 2
|
||||
|
@@ -77,7 +77,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_SelectNamed,StepData_SelectMember)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectNamed,StepData_SelectMember)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepData_SelectReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectReal,StepData_SelectMember)
|
||||
|
||||
// Definitions : cf Field
|
||||
#define KindReal 5
|
||||
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_SelectReal,StepData_SelectMember)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_SelectReal,StepData_SelectMember)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <StepData_FieldListN.hxx>
|
||||
#include <StepData_Simple.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_Simple,StepData_Described)
|
||||
|
||||
StepData_Simple::StepData_Simple (const Handle(StepData_ESDescr)& descr)
|
||||
: StepData_Described (descr) , thefields (descr->NbFields()) { }
|
||||
|
||||
|
@@ -99,7 +99,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_Simple,StepData_Described)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_Simple,StepData_Described)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -31,6 +31,8 @@
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
#include <stdio.h>
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_StepModel,Interface_InterfaceModel)
|
||||
|
||||
// Entete de fichier : liste d entites
|
||||
StepData_StepModel::StepData_StepModel () { }
|
||||
|
||||
|
@@ -107,7 +107,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_StepModel,Interface_InterfaceModel)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_StepModel,Interface_InterfaceModel)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -48,6 +48,8 @@
|
||||
#include <TColStd_SequenceOfInteger.hxx>
|
||||
|
||||
#include <stdio.h>
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_StepReaderData,Interface_FileReaderData)
|
||||
|
||||
// Le Header est constitue d entites analogues dans leur principe a celles
|
||||
// du Data, a ceci pres qu elles sont sans identifieur, et ne peuvent ni
|
||||
// referencer, ni etre referencees (que ce soit avec Header ou avec Data)
|
||||
|
@@ -318,7 +318,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_StepReaderData,Interface_FileReaderData)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_StepReaderData,Interface_FileReaderData)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(StepData_UndefinedEntity,MMgt_TShared)
|
||||
|
||||
StepData_UndefinedEntity::StepData_UndefinedEntity ()
|
||||
{ thecont = new Interface_UndefinedContent; thesub = Standard_False; }
|
||||
|
||||
|
@@ -93,7 +93,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepData_UndefinedEntity,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(StepData_UndefinedEntity,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user