1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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:
abv
2015-12-04 14:15:06 +03:00
parent f5f4ebd07b
commit 92efcf78a6
4556 changed files with 7149 additions and 2882 deletions

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_Color,IGESData_ColorEntity)
IGESGraph_Color::IGESGraph_Color () { }

View File

@@ -68,7 +68,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_Color,IGESData_ColorEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_Color,IGESData_ColorEntity)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_DefinitionLevel,IGESData_LevelListEntity)
IGESGraph_DefinitionLevel::IGESGraph_DefinitionLevel () { }

View File

@@ -61,7 +61,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_DefinitionLevel,IGESData_LevelListEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_DefinitionLevel,IGESData_LevelListEntity)
protected:

View File

@@ -19,6 +19,8 @@
#include <IGESGraph_DrawingSize.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_DrawingSize,IGESData_IGESEntity)
IGESGraph_DrawingSize::IGESGraph_DrawingSize () { }

View File

@@ -61,7 +61,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_DrawingSize,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_DrawingSize,IGESData_IGESEntity)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_DrawingUnits,IGESData_IGESEntity)
IGESGraph_DrawingUnits::IGESGraph_DrawingUnits () { }

View File

@@ -65,7 +65,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_DrawingUnits,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_DrawingUnits,IGESData_IGESEntity)
protected:

View File

@@ -52,6 +52,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_GeneralModule,IGESData_GeneralModule)
// Each Module is attached to a Protocol : it must interprete Case Numbers
// (arguments <CN> of various methods) in accordance to values returned by
// the method TypeNumber from this Protocol

View File

@@ -71,7 +71,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_GeneralModule,IGESData_GeneralModule)
DEFINE_STANDARD_RTTIEXT(IGESGraph_GeneralModule,IGESData_GeneralModule)
protected:

View File

@@ -19,6 +19,8 @@
#include <IGESGraph_HighLight.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_HighLight,IGESData_IGESEntity)
IGESGraph_HighLight::IGESGraph_HighLight () { }

View File

@@ -60,7 +60,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_HighLight,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_HighLight,IGESData_IGESEntity)
protected:

View File

@@ -19,6 +19,8 @@
#include <IGESGraph_IntercharacterSpacing.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_IntercharacterSpacing,IGESData_IGESEntity)
IGESGraph_IntercharacterSpacing::IGESGraph_IntercharacterSpacing () { }
void IGESGraph_IntercharacterSpacing::Init

View File

@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_IntercharacterSpacing,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_IntercharacterSpacing,IGESData_IGESEntity)
protected:

View File

@@ -22,6 +22,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_LineFontDefPattern,IGESData_LineFontEntity)
IGESGraph_LineFontDefPattern::IGESGraph_LineFontDefPattern () { }

View File

@@ -79,7 +79,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_LineFontDefPattern,IGESData_LineFontEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_LineFontDefPattern,IGESData_LineFontEntity)
protected:

View File

@@ -20,6 +20,8 @@
#include <IGESGraph_LineFontDefTemplate.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_LineFontDefTemplate,IGESData_LineFontEntity)
IGESGraph_LineFontDefTemplate::IGESGraph_LineFontDefTemplate () { }

View File

@@ -79,7 +79,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_LineFontDefTemplate,IGESData_LineFontEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_LineFontDefTemplate,IGESData_LineFontEntity)
protected:

View File

@@ -19,6 +19,8 @@
#include <IGESGraph_LineFontPredefined.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_LineFontPredefined,IGESData_IGESEntity)
IGESGraph_LineFontPredefined::IGESGraph_LineFontPredefined () { }

View File

@@ -56,7 +56,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_LineFontPredefined,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_LineFontPredefined,IGESData_IGESEntity)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_NominalSize,IGESData_IGESEntity)
IGESGraph_NominalSize::IGESGraph_NominalSize () { }

View File

@@ -70,7 +70,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_NominalSize,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_NominalSize,IGESData_IGESEntity)
protected:

View File

@@ -19,6 +19,8 @@
#include <IGESGraph_Pick.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_Pick,IGESData_IGESEntity)
IGESGraph_Pick::IGESGraph_Pick () { }

View File

@@ -60,7 +60,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_Pick,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_Pick,IGESData_IGESEntity)
protected:

View File

@@ -32,6 +32,8 @@
#include <Interface_Protocol.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_Protocol,IGESData_Protocol)
static int deja = 0;
static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06,
atype07,atype08,atype09,atype10,atype11,atype12,atype13,atype14;

View File

@@ -55,7 +55,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_Protocol,IGESData_Protocol)
DEFINE_STANDARD_RTTIEXT(IGESGraph_Protocol,IGESData_Protocol)
protected:

View File

@@ -49,6 +49,8 @@
#include <Standard_DomainError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_ReadWriteModule,IGESData_ReadWriteModule)
// Each Module is attached to a Protocol : it must interprete Case Numbers
// (arguments <CN> of various methods) in accordance to values returned by
// the method TypeNumber from this Protocol

View File

@@ -56,7 +56,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_ReadWriteModule,IGESData_ReadWriteModule)
DEFINE_STANDARD_RTTIEXT(IGESGraph_ReadWriteModule,IGESData_ReadWriteModule)
protected:

View File

@@ -47,6 +47,8 @@
#include <Message_Messenger.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_SpecificModule,IGESData_SpecificModule)
// Each Module is attached to a Protocol : it must interprete Case Numbers
// (arguments <CN> of various methods) in accordance to values returned by
// the method TypeNumber from this Protocol

View File

@@ -53,7 +53,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_SpecificModule,IGESData_SpecificModule)
DEFINE_STANDARD_RTTIEXT(IGESGraph_SpecificModule,IGESData_SpecificModule)
protected:

View File

@@ -23,6 +23,8 @@
#include <IGESGraph_TextFontDef.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_TextDisplayTemplate,IGESData_IGESEntity)
IGESGraph_TextDisplayTemplate::IGESGraph_TextDisplayTemplate () { }

View File

@@ -120,7 +120,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_TextDisplayTemplate,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_TextDisplayTemplate,IGESData_IGESEntity)
protected:

View File

@@ -23,6 +23,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_TextFontDef,IGESData_IGESEntity)
IGESGraph_TextFontDef::IGESGraph_TextFontDef () { }

View File

@@ -113,7 +113,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_TextFontDef,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_TextFontDef,IGESData_IGESEntity)
protected:

View File

@@ -22,6 +22,8 @@
#include <IGESGraph_UniformRectGrid.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_UniformRectGrid,IGESData_IGESEntity)
IGESGraph_UniformRectGrid::IGESGraph_UniformRectGrid () { }
void IGESGraph_UniformRectGrid::Init

View File

@@ -92,7 +92,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGraph_UniformRectGrid,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGraph_UniformRectGrid,IGESData_IGESEntity)
protected: