mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -25,6 +25,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_CircArraySubfigure,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_CircArraySubfigure::IGESDraw_CircArraySubfigure () { }
|
||||
|
||||
|
||||
|
@@ -106,7 +106,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_CircArraySubfigure,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_CircArraySubfigure,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ConnectPoint,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_ConnectPoint::IGESDraw_ConnectPoint () { }
|
||||
|
||||
|
||||
|
@@ -146,7 +146,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_ConnectPoint,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_ConnectPoint,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -31,6 +31,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_Drawing,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_Drawing::IGESDraw_Drawing () { }
|
||||
|
||||
|
||||
|
@@ -100,7 +100,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_Drawing,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_Drawing,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -31,6 +31,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_DrawingWithRotation,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_DrawingWithRotation::IGESDraw_DrawingWithRotation () { }
|
||||
|
||||
|
||||
|
@@ -104,7 +104,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_DrawingWithRotation,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_DrawingWithRotation,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -52,6 +52,8 @@
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_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
|
||||
|
@@ -86,7 +86,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_GeneralModule,IGESData_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_GeneralModule,IGESData_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_LabelDisplay,IGESData_LabelDisplayEntity)
|
||||
|
||||
IGESDraw_LabelDisplay::IGESDraw_LabelDisplay () { }
|
||||
|
||||
void IGESDraw_LabelDisplay::Init
|
||||
|
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_LabelDisplay,IGESData_LabelDisplayEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_LabelDisplay,IGESData_LabelDisplayEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -27,6 +27,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigure,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_NetworkSubfigure::IGESDraw_NetworkSubfigure () { }
|
||||
|
||||
void IGESDraw_NetworkSubfigure::Init
|
||||
|
@@ -104,7 +104,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_NetworkSubfigure,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigure,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigureDef,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_NetworkSubfigureDef::IGESDraw_NetworkSubfigureDef () { }
|
||||
|
||||
|
||||
|
@@ -119,7 +119,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_NetworkSubfigureDef,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigureDef,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_PerspectiveView,IGESData_ViewKindEntity)
|
||||
|
||||
IGESDraw_PerspectiveView::IGESDraw_PerspectiveView () { }
|
||||
|
||||
|
||||
|
@@ -138,7 +138,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_PerspectiveView,IGESData_ViewKindEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_PerspectiveView,IGESData_ViewKindEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_Planar,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_Planar::IGESDraw_Planar () { }
|
||||
|
||||
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_Planar,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_Planar,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -32,6 +32,8 @@
|
||||
#include <Interface_Protocol.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_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;
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_Protocol,IGESData_Protocol)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_Protocol,IGESData_Protocol)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -49,6 +49,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_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
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_RectArraySubfigure,IGESData_IGESEntity)
|
||||
|
||||
IGESDraw_RectArraySubfigure::IGESDraw_RectArraySubfigure () { }
|
||||
|
||||
|
||||
|
@@ -112,7 +112,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_RectArraySubfigure,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_RectArraySubfigure,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -24,6 +24,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_SegmentedViewsVisible,IGESData_ViewKindEntity)
|
||||
|
||||
IGESDraw_SegmentedViewsVisible::IGESDraw_SegmentedViewsVisible () { }
|
||||
|
||||
|
||||
|
@@ -134,7 +134,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_SegmentedViewsVisible,IGESData_ViewKindEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_SegmentedViewsVisible,IGESData_ViewKindEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -47,6 +47,8 @@
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_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
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_SpecificModule,IGESData_SpecificModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_SpecificModule,IGESData_SpecificModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_View,IGESData_ViewKindEntity)
|
||||
|
||||
IGESDraw_View::IGESDraw_View () { }
|
||||
|
||||
|
||||
|
@@ -122,7 +122,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_View,IGESData_ViewKindEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_View,IGESData_ViewKindEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ViewsVisible,IGESData_ViewKindEntity)
|
||||
|
||||
IGESDraw_ViewsVisible::IGESDraw_ViewsVisible () { }
|
||||
|
||||
|
||||
|
@@ -78,7 +78,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_ViewsVisible,IGESData_ViewKindEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_ViewsVisible,IGESData_ViewKindEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ViewsVisibleWithAttr,IGESData_ViewKindEntity)
|
||||
|
||||
IGESDraw_ViewsVisibleWithAttr::IGESDraw_ViewsVisibleWithAttr () { }
|
||||
|
||||
|
||||
|
@@ -124,7 +124,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDraw_ViewsVisibleWithAttr,IGESData_ViewKindEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDraw_ViewsVisibleWithAttr,IGESData_ViewKindEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user