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:
@@ -24,6 +24,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_BSplineCurve,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_BSplineCurve::IGESGeom_BSplineCurve () { }
|
||||
|
||||
|
||||
|
@@ -128,7 +128,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_BSplineCurve,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_BSplineCurve,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_BSplineSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_BSplineSurface::IGESGeom_BSplineSurface () { }
|
||||
|
||||
|
||||
|
@@ -157,7 +157,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_BSplineSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_BSplineSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Boundary,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_Boundary::IGESGeom_Boundary () { }
|
||||
|
||||
|
||||
|
@@ -107,7 +107,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Boundary,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Boundary,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_BoundedSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_BoundedSurface::IGESGeom_BoundedSurface () { }
|
||||
|
||||
|
||||
|
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_BoundedSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_BoundedSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -97,7 +97,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_CircularArc,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_CircularArc,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_CompositeCurve,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_CompositeCurve::IGESGeom_CompositeCurve () { }
|
||||
|
||||
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_CompositeCurve,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_CompositeCurve,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <IGESGeom_ConicArc.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_ConicArc,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_ConicArc::IGESGeom_ConicArc () { }
|
||||
|
||||
|
||||
|
@@ -131,7 +131,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_ConicArc,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_ConicArc,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_CopiousData,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_CopiousData,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <IGESGeom_CurveOnSurface.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_CurveOnSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_CurveOnSurface::IGESGeom_CurveOnSurface () { }
|
||||
|
||||
|
||||
|
@@ -80,7 +80,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_CurveOnSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_CurveOnSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <IGESGeom_Direction.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Direction,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_Direction::IGESGeom_Direction () { }
|
||||
|
||||
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Direction,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Direction,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Flash,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_Flash::IGESGeom_Flash () { }
|
||||
|
||||
|
||||
|
@@ -92,7 +92,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Flash,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Flash,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_GeneralModule,IGESData_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_GeneralModule,IGESData_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <IGESGeom_Line.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Line,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_Line::IGESGeom_Line () { }
|
||||
|
||||
|
||||
|
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Line,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Line,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <IGESGeom_OffsetCurve.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_OffsetCurve,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_OffsetCurve::IGESGeom_OffsetCurve () { }
|
||||
|
||||
|
||||
|
@@ -138,7 +138,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_OffsetCurve,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_OffsetCurve,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <IGESGeom_OffsetSurface.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_OffsetSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_OffsetSurface::IGESGeom_OffsetSurface () { }
|
||||
|
||||
|
||||
|
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_OffsetSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_OffsetSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <IGESGeom_Plane.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Plane,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_Plane::IGESGeom_Plane () { }
|
||||
|
||||
|
||||
|
@@ -87,7 +87,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Plane,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Plane,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <IGESGeom_Point.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Point,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_Point::IGESGeom_Point () { }
|
||||
|
||||
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Point,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Point,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_Protocol,IGESData_Protocol)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_Protocol,IGESData_Protocol)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <IGESGeom_RuledSurface.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_RuledSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_RuledSurface::IGESGeom_RuledSurface () { }
|
||||
|
||||
|
||||
|
@@ -82,7 +82,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_RuledSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_RuledSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_SpecificModule,IGESData_SpecificModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_SpecificModule,IGESData_SpecificModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SplineCurve,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_SplineCurve::IGESGeom_SplineCurve () { }
|
||||
|
||||
|
||||
|
@@ -124,7 +124,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_SplineCurve,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_SplineCurve,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SplineSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_SplineSurface::IGESGeom_SplineSurface () { }
|
||||
|
||||
|
||||
|
@@ -112,7 +112,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_SplineSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_SplineSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <IGESGeom_SurfaceOfRevolution.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SurfaceOfRevolution,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_SurfaceOfRevolution::IGESGeom_SurfaceOfRevolution () { }
|
||||
|
||||
|
||||
|
@@ -65,7 +65,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_SurfaceOfRevolution,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_SurfaceOfRevolution,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <IGESGeom_TabulatedCylinder.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_TabulatedCylinder::IGESGeom_TabulatedCylinder () { }
|
||||
|
||||
|
||||
|
@@ -67,7 +67,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TransformationMatrix,IGESData_TransfEntity)
|
||||
|
||||
IGESGeom_TransformationMatrix::IGESGeom_TransformationMatrix () { }
|
||||
|
||||
|
||||
|
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_TransformationMatrix,IGESData_TransfEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_TransformationMatrix,IGESData_TransfEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TrimmedSurface,IGESData_IGESEntity)
|
||||
|
||||
IGESGeom_TrimmedSurface::IGESGeom_TrimmedSurface () { }
|
||||
|
||||
|
||||
|
@@ -87,7 +87,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESGeom_TrimmedSurface,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESGeom_TrimmedSurface,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user