1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +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

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

View File

@@ -128,7 +128,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_BSplineCurve,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_BSplineCurve,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -157,7 +157,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_BSplineSurface,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_BSplineSurface,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -107,7 +107,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_Boundary,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_Boundary,IGESData_IGESEntity)
protected:

View File

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

View File

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

View File

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

View File

@@ -97,7 +97,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_CircularArc,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_CircularArc,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -58,7 +58,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_CompositeCurve,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_CompositeCurve,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -131,7 +131,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_ConicArc,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_ConicArc,IGESData_IGESEntity)
protected:

View File

@@ -26,6 +26,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_CopiousData,IGESData_IGESEntity)
IGESGeom_CopiousData::IGESGeom_CopiousData ()
{
theDataType = 0; // to allow Setting Form Number before Init

View File

@@ -108,7 +108,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_CopiousData,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_CopiousData,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -80,7 +80,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_CurveOnSurface,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_CurveOnSurface,IGESData_IGESEntity)
protected:

View File

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

View File

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

View File

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

View File

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

View File

@@ -70,6 +70,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_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

@@ -72,7 +72,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_GeneralModule,IGESData_GeneralModule)
DEFINE_STANDARD_RTTIEXT(IGESGeom_GeneralModule,IGESData_GeneralModule)
protected:

View File

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

View File

@@ -75,7 +75,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_Line,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_Line,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -138,7 +138,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_OffsetCurve,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_OffsetCurve,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -71,7 +71,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_OffsetSurface,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_OffsetSurface,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -87,7 +87,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_Plane,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_Plane,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -62,7 +62,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_Point,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_Point,IGESData_IGESEntity)
protected:

View File

@@ -41,6 +41,8 @@
#include <Interface_Protocol.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_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,atype15,

View File

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

View File

@@ -67,6 +67,8 @@
#include <Standard_DomainError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_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(IGESGeom_ReadWriteModule,IGESData_ReadWriteModule)
DEFINE_STANDARD_RTTIEXT(IGESGeom_ReadWriteModule,IGESData_ReadWriteModule)
protected:

View File

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

View File

@@ -82,7 +82,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_RuledSurface,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_RuledSurface,IGESData_IGESEntity)
protected:

View File

@@ -65,6 +65,8 @@
#include <Message_Messenger.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_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

@@ -52,7 +52,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_SpecificModule,IGESData_SpecificModule)
DEFINE_STANDARD_RTTIEXT(IGESGeom_SpecificModule,IGESData_SpecificModule)
protected:

View File

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

View File

@@ -124,7 +124,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_SplineCurve,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_SplineCurve,IGESData_IGESEntity)
protected:

View File

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

View File

@@ -112,7 +112,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_SplineSurface,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_SplineSurface,IGESData_IGESEntity)
protected:

View File

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

View File

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

View File

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

View File

@@ -67,7 +67,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
protected:

View File

@@ -22,6 +22,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TransformationMatrix,IGESData_TransfEntity)
IGESGeom_TransformationMatrix::IGESGeom_TransformationMatrix () { }

View File

@@ -70,7 +70,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_TransformationMatrix,IGESData_TransfEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_TransformationMatrix,IGESData_TransfEntity)
protected:

View File

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

View File

@@ -87,7 +87,7 @@ public:
DEFINE_STANDARD_RTTI(IGESGeom_TrimmedSurface,IGESData_IGESEntity)
DEFINE_STANDARD_RTTIEXT(IGESGeom_TrimmedSurface,IGESData_IGESEntity)
protected: