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:
@@ -29,6 +29,8 @@
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_ClosedEdgeDivide,ShapeUpgrade_EdgeDivide)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_ClosedEdgeDivide
|
||||
//purpose :
|
||||
|
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_ClosedEdgeDivide,ShapeUpgrade_EdgeDivide)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ClosedEdgeDivide,ShapeUpgrade_EdgeDivide)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -40,6 +40,8 @@
|
||||
#include <TopoDS_Iterator.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_ClosedFaceDivide,ShapeUpgrade_FaceDivide)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_ClosedFaceDivide
|
||||
//purpose :
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_ClosedFaceDivide,ShapeUpgrade_FaceDivide)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ClosedFaceDivide,ShapeUpgrade_FaceDivide)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -34,6 +34,8 @@
|
||||
#include <TColgp_Array1OfPnt2d.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve2dToBezier,ShapeUpgrade_SplitCurve2d)
|
||||
|
||||
ShapeUpgrade_ConvertCurve2dToBezier::ShapeUpgrade_ConvertCurve2dToBezier()
|
||||
{
|
||||
mySegments = new TColGeom2d_HSequenceOfCurve;
|
||||
|
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_ConvertCurve2dToBezier,ShapeUpgrade_SplitCurve2d)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve2dToBezier,ShapeUpgrade_SplitCurve2d)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include <TColgp_Array1OfPnt.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve3dToBezier,ShapeUpgrade_SplitCurve3d)
|
||||
|
||||
ShapeUpgrade_ConvertCurve3dToBezier::ShapeUpgrade_ConvertCurve3dToBezier()
|
||||
{
|
||||
mySegments = new TColGeom_HSequenceOfCurve;
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_ConvertCurve3dToBezier,ShapeUpgrade_SplitCurve3d)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve3dToBezier,ShapeUpgrade_SplitCurve3d)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -44,6 +44,8 @@
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_ConvertSurfaceToBezierBasis,ShapeUpgrade_SplitSurface)
|
||||
|
||||
ShapeUpgrade_ConvertSurfaceToBezierBasis::ShapeUpgrade_ConvertSurfaceToBezierBasis()
|
||||
{
|
||||
myPlaneMode = Standard_True;
|
||||
|
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_ConvertSurfaceToBezierBasis,ShapeUpgrade_SplitSurface)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertSurfaceToBezierBasis,ShapeUpgrade_SplitSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_EdgeDivide,ShapeUpgrade_Tool)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_EdgeDivide
|
||||
//purpose :
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_EdgeDivide,ShapeUpgrade_Tool)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_EdgeDivide,ShapeUpgrade_Tool)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -40,6 +40,8 @@
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_FaceDivide,ShapeUpgrade_Tool)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_FaceDivide
|
||||
//purpose :
|
||||
|
@@ -111,7 +111,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_FaceDivide,ShapeUpgrade_Tool)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_FaceDivide,ShapeUpgrade_Tool)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_FaceDivideArea,ShapeUpgrade_FaceDivide)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_FaceDivideArea
|
||||
//purpose :
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_FaceDivideArea,ShapeUpgrade_FaceDivide)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_FaceDivideArea,ShapeUpgrade_FaceDivide)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -44,6 +44,8 @@
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_FixSmallBezierCurves,ShapeUpgrade_FixSmallCurves)
|
||||
|
||||
ShapeUpgrade_FixSmallBezierCurves::ShapeUpgrade_FixSmallBezierCurves()
|
||||
{
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_FixSmallBezierCurves,ShapeUpgrade_FixSmallCurves)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_FixSmallBezierCurves,ShapeUpgrade_FixSmallCurves)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_FixSmallCurves,ShapeUpgrade_Tool)
|
||||
|
||||
//#include <TColGeom_HArray1OfCurve.hxx>
|
||||
//#include <TColStd_HSequenceOfReal.hxx>
|
||||
#//include <TColGeom2d_HArray1OfCurve.hxx>
|
||||
|
@@ -66,7 +66,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_FixSmallCurves,ShapeUpgrade_Tool)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_FixSmallCurves,ShapeUpgrade_Tool)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <TopTools_SequenceOfShape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_RemoveInternalWires,ShapeUpgrade_Tool)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_RemoveInternalWires
|
||||
//purpose :
|
||||
|
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_RemoveInternalWires,ShapeUpgrade_Tool)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_RemoveInternalWires,ShapeUpgrade_Tool)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -42,6 +42,8 @@
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
#include <TopTools_DataMapOfShapeShape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_RemoveLocations,MMgt_TShared)
|
||||
|
||||
//#include <ShapeUpgrade_DataMapOfShapeListOfTransient.hxx>
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_RemoveLocations
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_RemoveLocations,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_RemoveLocations,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
#include <TColStd_ListIteratorOfListOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitCurve
|
||||
//purpose :
|
||||
|
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -32,6 +32,8 @@
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
#include <TColStd_ListIteratorOfListOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve2d,ShapeUpgrade_SplitCurve)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitCurve2d
|
||||
//purpose :
|
||||
|
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve2d,ShapeUpgrade_SplitCurve)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve2d,ShapeUpgrade_SplitCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <TColGeom2d_HArray1OfCurve.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve2dContinuity,ShapeUpgrade_SplitCurve2d)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitCurve2dContinuity
|
||||
//purpose :
|
||||
|
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve2dContinuity,ShapeUpgrade_SplitCurve2d)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve2dContinuity,ShapeUpgrade_SplitCurve2d)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -32,6 +32,8 @@
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
#include <TColStd_ListIteratorOfListOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve3d,ShapeUpgrade_SplitCurve)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitCurve3d
|
||||
//purpose :
|
||||
|
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve3d,ShapeUpgrade_SplitCurve)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve3d,ShapeUpgrade_SplitCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -29,6 +29,8 @@
|
||||
#include <TColGeom_HArray1OfCurve.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve3dContinuity,ShapeUpgrade_SplitCurve3d)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitCurve3dContinuity
|
||||
//purpose :
|
||||
|
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve3dContinuity,ShapeUpgrade_SplitCurve3d)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve3dContinuity,ShapeUpgrade_SplitCurve3d)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -38,6 +38,8 @@
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitSurface
|
||||
//purpose :
|
||||
|
@@ -95,7 +95,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitSurface,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceAngle,ShapeUpgrade_SplitSurface)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitSurfaceAngle
|
||||
//purpose :
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitSurfaceAngle,ShapeUpgrade_SplitSurface)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceAngle,ShapeUpgrade_SplitSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -17,6 +17,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceArea,ShapeUpgrade_SplitSurface)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_SplitSurfaceArea
|
||||
//purpose :
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitSurfaceArea,ShapeUpgrade_SplitSurface)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceArea,ShapeUpgrade_SplitSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HSequenceOfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceContinuity,ShapeUpgrade_SplitSurface)
|
||||
|
||||
//======================================================================
|
||||
//function : ShapeUpgrade_SplitSurface
|
||||
//purpose :
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitSurfaceContinuity,ShapeUpgrade_SplitSurface)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceContinuity,ShapeUpgrade_SplitSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <ShapeUpgrade_Tool.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_Tool,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_Tool
|
||||
//purpose :
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_Tool,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_Tool,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -87,6 +87,8 @@
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include <BRepClass_FaceClassifier.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_UnifySameDomain,MMgt_TShared)
|
||||
|
||||
struct SubSequenceOfEdges
|
||||
{
|
||||
TopTools_SequenceOfShape SeqsEdges;
|
||||
|
@@ -79,7 +79,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_UnifySameDomain,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_UnifySameDomain,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -63,6 +63,8 @@
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <TopTools_SequenceOfShape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_WireDivide,ShapeUpgrade_Tool)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_WireDivide
|
||||
//purpose :
|
||||
|
@@ -135,7 +135,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(ShapeUpgrade_WireDivide,ShapeUpgrade_Tool)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_WireDivide,ShapeUpgrade_Tool)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user