1
0
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:
abv
2015-12-04 14:15:06 +03:00
parent f5f4ebd07b
commit 92efcf78a6
4556 changed files with 7149 additions and 2882 deletions

View File

@@ -23,6 +23,8 @@
#include <gp_Trsf2d.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_AxisPlacement,Geom2d_Geometry)
typedef Geom2d_AxisPlacement AxisPlacement;
typedef gp_Dir2d Dir2d;
typedef gp_Pnt2d Pnt2d;

View File

@@ -104,7 +104,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_AxisPlacement,Geom2d_Geometry)
DEFINE_STANDARD_RTTIEXT(Geom2d_AxisPlacement,Geom2d_Geometry)
protected:

View File

@@ -49,6 +49,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_BSplineCurve,Geom2d_BoundedCurve)
//=======================================================================
//function : CheckCurveData
//purpose : Internal use only

View File

@@ -823,7 +823,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_BSplineCurve,Geom2d_BoundedCurve)
DEFINE_STANDARD_RTTIEXT(Geom2d_BSplineCurve,Geom2d_BoundedCurve)
protected:

View File

@@ -44,6 +44,8 @@
#include <TColStd_Array1OfInteger.hxx>
#include <TColStd_Array1OfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_BezierCurve,Geom2d_BoundedCurve)
//=======================================================================
//function : Rational
//purpose : check rationality of an array of weights

View File

@@ -323,7 +323,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_BezierCurve,Geom2d_BoundedCurve)
DEFINE_STANDARD_RTTIEXT(Geom2d_BezierCurve,Geom2d_BoundedCurve)
protected:

View File

@@ -18,3 +18,5 @@
#include <Geom2d_BoundedCurve.hxx>
#include <gp_Pnt2d.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_BoundedCurve,Geom2d_Curve)

View File

@@ -64,7 +64,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_BoundedCurve,Geom2d_Curve)
DEFINE_STANDARD_RTTIEXT(Geom2d_BoundedCurve,Geom2d_Curve)
protected:

View File

@@ -21,6 +21,8 @@
#include <gp_Trsf2d.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_CartesianPoint,Geom2d_Point)
typedef Geom2d_CartesianPoint CartesianPoint;
typedef gp_Ax2d Ax2d;
typedef gp_Vec2d Vec2d;

View File

@@ -79,7 +79,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_CartesianPoint,Geom2d_Point)
DEFINE_STANDARD_RTTIEXT(Geom2d_CartesianPoint,Geom2d_Point)
protected:

View File

@@ -29,6 +29,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Circle,Geom2d_Conic)
typedef Geom2d_Circle Circle;
typedef gp_Ax2d Ax2d;
typedef gp_Dir2d Dir2d;

View File

@@ -158,7 +158,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Circle,Geom2d_Conic)
DEFINE_STANDARD_RTTIEXT(Geom2d_Circle,Geom2d_Conic)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_DomainError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Conic,Geom2d_Curve)
typedef Geom2d_Conic Conic;
typedef gp_Ax2d Ax2d;

View File

@@ -127,7 +127,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Conic,Geom2d_Curve)
DEFINE_STANDARD_RTTIEXT(Geom2d_Conic,Geom2d_Curve)
protected:

View File

@@ -25,6 +25,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Curve,Geom2d_Geometry)
typedef Geom2d_Curve Curve;

View File

@@ -227,7 +227,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Curve,Geom2d_Geometry)
DEFINE_STANDARD_RTTIEXT(Geom2d_Curve,Geom2d_Geometry)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_ConstructionError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Direction,Geom2d_Vector)
typedef Geom2d_Direction Direction;
typedef gp_Ax2d Ax2d;
typedef gp_Pnt2d Pnt2d;

View File

@@ -99,7 +99,7 @@ Standard_Real operator ^ (const Handle(Geom2d_Vector)& Other) const
DEFINE_STANDARD_RTTI(Geom2d_Direction,Geom2d_Vector)
DEFINE_STANDARD_RTTIEXT(Geom2d_Direction,Geom2d_Vector)
protected:

View File

@@ -31,6 +31,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Ellipse,Geom2d_Conic)
typedef Geom2d_Ellipse Ellipse;
typedef gp_Ax2d Ax2d;
typedef gp_Dir2d Dir2d;

View File

@@ -244,7 +244,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Ellipse,Geom2d_Conic)
DEFINE_STANDARD_RTTIEXT(Geom2d_Ellipse,Geom2d_Conic)
protected:

View File

@@ -23,6 +23,8 @@
#include <Standard_ConstructionError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Geometry,MMgt_TShared)
typedef Geom2d_Geometry Geometry;
typedef gp_Ax2d Ax2d;
typedef gp_Pnt2d Pnt2d;

View File

@@ -113,7 +113,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Geometry,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Geom2d_Geometry,MMgt_TShared)
protected:

View File

@@ -33,6 +33,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Hyperbola,Geom2d_Conic)
typedef Geom2d_Hyperbola Hyperbola;
typedef gp_Ax2d Ax2d;
typedef gp_Dir2d Dir2d;

View File

@@ -297,7 +297,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Hyperbola,Geom2d_Conic)
DEFINE_STANDARD_RTTIEXT(Geom2d_Hyperbola,Geom2d_Conic)
protected:

View File

@@ -29,6 +29,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Line,Geom2d_Curve)
typedef Geom2d_Line Line;
typedef gp_Ax2d Ax2d;
typedef gp_Dir2d Dir2d;

View File

@@ -184,7 +184,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Line,Geom2d_Curve)
DEFINE_STANDARD_RTTIEXT(Geom2d_Line,Geom2d_Curve)
protected:

View File

@@ -288,7 +288,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_OffsetCurve,Geom2d_Curve)
DEFINE_STANDARD_RTTIEXT(Geom2d_OffsetCurve,Geom2d_Curve)
protected:

View File

@@ -31,6 +31,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Parabola,Geom2d_Conic)
typedef Geom2d_Parabola Parabola;
typedef gp_Ax2d Ax2d;
typedef gp_Dir2d Dir2d;

View File

@@ -208,7 +208,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Parabola,Geom2d_Conic)
DEFINE_STANDARD_RTTIEXT(Geom2d_Parabola,Geom2d_Conic)
protected:

View File

@@ -19,6 +19,8 @@
#include <gp_Pnt2d.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Point,Geom2d_Geometry)
typedef Geom2d_Point Point;
Standard_Real Geom2d_Point::Distance (const Handle(Geom2d_Point)& Other) const {

View File

@@ -59,7 +59,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Point,Geom2d_Geometry)
DEFINE_STANDARD_RTTIEXT(Geom2d_Point,Geom2d_Geometry)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Transformation,MMgt_TShared)
typedef Geom2d_Transformation Transformation;
typedef gp_Ax2d Ax2d;
typedef gp_Pnt2d Pnt2d;

View File

@@ -219,7 +219,7 @@ void operator *= (const Handle(Geom2d_Transformation)& Other)
DEFINE_STANDARD_RTTI(Geom2d_Transformation,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Geom2d_Transformation,MMgt_TShared)
protected:

View File

@@ -39,6 +39,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_TrimmedCurve,Geom2d_BoundedCurve)
typedef Geom2d_TrimmedCurve TrimmedCurve;
typedef gp_Ax2d Ax2d;
typedef gp_Pnt2d Pnt2d;

View File

@@ -259,7 +259,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_TrimmedCurve,Geom2d_BoundedCurve)
DEFINE_STANDARD_RTTIEXT(Geom2d_TrimmedCurve,Geom2d_BoundedCurve)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_DomainError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_Vector,Geom2d_Geometry)
typedef Geom2d_Vector Vector;
typedef gp_Ax2d Ax2d;
typedef gp_Pnt2d Pnt2d;

View File

@@ -83,7 +83,7 @@ public:
DEFINE_STANDARD_RTTI(Geom2d_Vector,Geom2d_Geometry)
DEFINE_STANDARD_RTTIEXT(Geom2d_Vector,Geom2d_Geometry)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_ConstructionError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Geom2d_VectorWithMagnitude,Geom2d_Vector)
typedef Geom2d_Vector Vector;
typedef Geom2d_VectorWithMagnitude VectorWithMagnitude;
typedef gp_Ax2d Ax2d;

View File

@@ -162,7 +162,7 @@ Handle(Geom2d_VectorWithMagnitude) operator - (const Handle(Geom2d_Vector)& Othe
DEFINE_STANDARD_RTTI(Geom2d_VectorWithMagnitude,Geom2d_Vector)
DEFINE_STANDARD_RTTIEXT(Geom2d_VectorWithMagnitude,Geom2d_Vector)
protected: