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

@@ -28,6 +28,8 @@
#include <Law_Function.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_BoundWithSurf,GeomFill_Boundary)
//=======================================================================
//function : GeomFill_BoundWithSurf
//purpose :

View File

@@ -100,7 +100,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_BoundWithSurf,GeomFill_Boundary)
DEFINE_STANDARD_RTTIEXT(GeomFill_BoundWithSurf,GeomFill_Boundary)
protected:

View File

@@ -20,6 +20,8 @@
#include <gp_Vec.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Boundary,MMgt_TShared)
//=======================================================================
//function : GeomFill_Boundary
//purpose :

View File

@@ -73,7 +73,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_Boundary,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_Boundary,MMgt_TShared)
protected:

View File

@@ -26,6 +26,8 @@
#include <TColStd_Array1OfReal.hxx>
#include <TColStd_SequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_CircularBlendFunc,Approx_SweepFunction)
#if DRAW
#include <GeomAdaptor_HCurve.hxx>
#include <Geom_BSplineCurve.hxx>

View File

@@ -132,7 +132,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_CircularBlendFunc,Approx_SweepFunction)
DEFINE_STANDARD_RTTIEXT(GeomFill_CircularBlendFunc,Approx_SweepFunction)
protected:

View File

@@ -28,6 +28,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_ConstantBiNormal,GeomFill_TrihedronLaw)
//=======================================================================
//function : FDeriv
//purpose : computes (F/|F|)'

View File

@@ -90,7 +90,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_ConstantBiNormal,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_ConstantBiNormal,GeomFill_TrihedronLaw)
protected:

View File

@@ -24,6 +24,8 @@
#include <Law_Linear.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_CoonsAlgPatch,MMgt_TShared)
//=======================================================================
//function : GeomFill_CoonsAlgPatch
//purpose :

View File

@@ -80,7 +80,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_CoonsAlgPatch,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_CoonsAlgPatch,MMgt_TShared)
protected:

View File

@@ -45,6 +45,8 @@
#include <TColStd_SequenceOfReal.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_CorrectedFrenet,GeomFill_TrihedronLaw)
//Patch
#ifdef OCCT_DEBUG
static Standard_Boolean Affich=0;

View File

@@ -110,7 +110,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_CorrectedFrenet,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_CorrectedFrenet,GeomFill_TrihedronLaw)
protected:

View File

@@ -29,6 +29,8 @@
#include <Standard_Type.hxx>
#include <TColStd_SequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_CurveAndTrihedron,GeomFill_LocationLaw)
//==================================================================
//Function: Create
//Purpose :

View File

@@ -132,7 +132,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_CurveAndTrihedron,GeomFill_LocationLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_CurveAndTrihedron,GeomFill_LocationLaw)
protected:

View File

@@ -35,6 +35,8 @@
#include <Standard_Type.hxx>
#include <TColgp_Array2OfVec.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Darboux,GeomFill_TrihedronLaw)
//=======================================================================
//function : FDeriv
//purpose : computes (F/|F|)'

View File

@@ -84,7 +84,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_Darboux,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_Darboux,GeomFill_TrihedronLaw)
protected:

View File

@@ -20,6 +20,8 @@
#include <gp_Vec.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_DegeneratedBound,GeomFill_Boundary)
//=======================================================================
//function : GeomFill_DegeneratedBound
//purpose :

View File

@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_DegeneratedBound,GeomFill_Boundary)
DEFINE_STANDARD_RTTIEXT(GeomFill_DegeneratedBound,GeomFill_Boundary)
protected:

View File

@@ -27,6 +27,8 @@
#include <TColStd_Array1OfReal.hxx>
#include <TColStd_HSequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_DiscreteTrihedron,GeomFill_TrihedronLaw)
static const Standard_Real TolConf = Precision::Confusion();
//=======================================================================

View File

@@ -99,7 +99,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_DiscreteTrihedron,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_DiscreteTrihedron,GeomFill_TrihedronLaw)
protected:

View File

@@ -25,6 +25,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_DraftTrihedron,GeomFill_TrihedronLaw)
//=======================================================================
//function : DDeriv
//purpose : computes (F/|F|)''

View File

@@ -86,7 +86,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_DraftTrihedron,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_DraftTrihedron,GeomFill_TrihedronLaw)
protected:

View File

@@ -35,6 +35,8 @@
#include <TColStd_Array1OfReal.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_EvolvedSection,GeomFill_SectionLaw)
#ifdef DRAW
#include <DrawTrSurf.hxx>
#include <Geom_Curve.hxx>

View File

@@ -148,7 +148,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_EvolvedSection,GeomFill_SectionLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_EvolvedSection,GeomFill_SectionLaw)
protected:

View File

@@ -23,6 +23,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Fixed,GeomFill_TrihedronLaw)
GeomFill_Fixed::GeomFill_Fixed(const gp_Vec& Tangent,
const gp_Vec& Normal)
{

View File

@@ -82,7 +82,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_Fixed,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_Fixed,GeomFill_TrihedronLaw)
protected:

View File

@@ -32,6 +32,8 @@
#include <TColStd_HArray1OfBoolean.hxx>
#include <algorithm>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Frenet,GeomFill_TrihedronLaw)
static const Standard_Real NullTol = 1.e-10;
static const Standard_Real MaxSingular = 1.e-5;

View File

@@ -91,7 +91,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_Frenet,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_Frenet,GeomFill_TrihedronLaw)
protected:

View File

@@ -33,6 +33,8 @@
#include <Standard_Type.hxx>
#include <TColStd_SequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_GuideTrihedronAC,GeomFill_TrihedronWithGuide)
//=======================================================================
//function : GuideTrihedron
//purpose : Constructor

View File

@@ -94,7 +94,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_GuideTrihedronAC,GeomFill_TrihedronWithGuide)
DEFINE_STANDARD_RTTIEXT(GeomFill_GuideTrihedronAC,GeomFill_TrihedronWithGuide)
protected:

View File

@@ -38,6 +38,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_GuideTrihedronPlan,GeomFill_TrihedronWithGuide)
//#include <gp_Trsf2d.hxx>
//#include <Bnd_Box2d.hxx>
#if DRAW

View File

@@ -101,7 +101,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_GuideTrihedronPlan,GeomFill_TrihedronWithGuide)
DEFINE_STANDARD_RTTIEXT(GeomFill_GuideTrihedronPlan,GeomFill_TrihedronWithGuide)
protected:

View File

@@ -18,6 +18,8 @@
#include <GeomFill_Line.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Line,MMgt_TShared)
//=======================================================================
//function : GeomFill_Line
//purpose :

View File

@@ -45,7 +45,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_Line,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_Line,MMgt_TShared)
protected:

View File

@@ -43,6 +43,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_LocationDraft,GeomFill_LocationLaw)
//==================================================================
//Function: GeomFill_LocationDraft
//Purpose : constructor

View File

@@ -158,7 +158,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_LocationDraft,GeomFill_LocationLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_LocationDraft,GeomFill_LocationLaw)
protected:

View File

@@ -61,6 +61,8 @@
#include <TColStd_HArray1OfInteger.hxx>
#include <TColStd_HArray1OfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_LocationGuide,GeomFill_LocationLaw)
#if DRAW
static Standard_Integer Affich = 0;
#include <Approx_Curve3d.hxx>

View File

@@ -173,7 +173,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_LocationGuide,GeomFill_LocationLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_LocationGuide,GeomFill_LocationLaw)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_LocationLaw,MMgt_TShared)
Standard_Boolean GeomFill_LocationLaw::D1(const Standard_Real, gp_Mat&, gp_Vec&,gp_Mat&, gp_Vec&,TColgp_Array1OfPnt2d&,TColgp_Array1OfVec2d&)
{
Standard_NotImplemented::Raise("GeomFill_LocationLaw::D1");

View File

@@ -157,7 +157,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_LocationLaw,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_LocationLaw,MMgt_TShared)
protected:

View File

@@ -49,6 +49,8 @@
#include <TColStd_Array1OfReal.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_NSections,GeomFill_SectionLaw)
#ifdef OCCT_DEBUG
# ifdef DRAW
# include <DrawTrSurf.hxx>

View File

@@ -183,7 +183,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_NSections,GeomFill_SectionLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_NSections,GeomFill_SectionLaw)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,MMgt_TShared)
Standard_Boolean GeomFill_SectionLaw::D1(const Standard_Real,TColgp_Array1OfPnt&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal& )
{
Standard_NotImplemented::Raise("GeomFill_SectionLaw::D1");

View File

@@ -160,7 +160,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_SectionLaw,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_SectionLaw,MMgt_TShared)
protected:

View File

@@ -24,6 +24,8 @@
#include <Law_Function.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SimpleBound,GeomFill_Boundary)
//=======================================================================
//function : GeomFill_SimpleBound
//purpose :

View File

@@ -90,7 +90,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_SimpleBound,GeomFill_Boundary)
DEFINE_STANDARD_RTTIEXT(GeomFill_SimpleBound,GeomFill_Boundary)
protected:

View File

@@ -31,6 +31,8 @@
#include <Standard_Type.hxx>
#include <TColStd_SequenceOfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SweepFunction,Approx_SweepFunction)
//=======================================================================
//function : GeomFill_SweepFunction
//purpose :

View File

@@ -132,7 +132,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_SweepFunction,Approx_SweepFunction)
DEFINE_STANDARD_RTTIEXT(GeomFill_SweepFunction,Approx_SweepFunction)
protected:

View File

@@ -20,6 +20,8 @@
#include <Law_BSpline.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TgtField,MMgt_TShared)
//=======================================================================
//function : IsScalable
//purpose :

View File

@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_TgtField,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_TgtField,MMgt_TShared)
protected:

View File

@@ -21,6 +21,8 @@
#include <gp_Vec.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TgtOnCoons,GeomFill_TgtField)
//=======================================================================
//function : GeomFill_TgtOnCoons
//purpose :

View File

@@ -55,7 +55,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_TgtOnCoons,GeomFill_TgtField)
DEFINE_STANDARD_RTTIEXT(GeomFill_TgtOnCoons,GeomFill_TgtField)
protected:

View File

@@ -22,6 +22,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TrihedronLaw,MMgt_TShared)
void GeomFill_TrihedronLaw::SetCurve(const Handle(Adaptor3d_HCurve)& C)
{
myCurve = C;

View File

@@ -101,7 +101,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_TrihedronLaw,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(GeomFill_TrihedronLaw,MMgt_TShared)
protected:

View File

@@ -22,6 +22,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TrihedronWithGuide,GeomFill_TrihedronLaw)
Handle(Adaptor3d_HCurve) GeomFill_TrihedronWithGuide::Guide()const
{
return myGuide;

View File

@@ -50,7 +50,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_TrihedronWithGuide,GeomFill_TrihedronLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_TrihedronWithGuide,GeomFill_TrihedronLaw)
protected:

View File

@@ -34,6 +34,8 @@
#include <TColStd_Array1OfReal.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_UniformSection,GeomFill_SectionLaw)
#ifdef DRAW
#include <DrawTrSurf.hxx>
#include <Geom_Curve.hxx>

View File

@@ -148,7 +148,7 @@ public:
DEFINE_STANDARD_RTTI(GeomFill_UniformSection,GeomFill_SectionLaw)
DEFINE_STANDARD_RTTIEXT(GeomFill_UniformSection,GeomFill_SectionLaw)
protected: