mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40: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:
@@ -25,6 +25,8 @@
|
||||
#include <HLRTest_ShapeData.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_DrawableEdgeTool,Draw_Drawable3D)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRTest_DrawableEdgeTool
|
||||
//purpose :
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRTest_DrawableEdgeTool,Draw_Drawable3D)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_DrawableEdgeTool,Draw_Drawable3D)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -27,6 +27,8 @@
|
||||
#include <OSD_Chronometer.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_DrawablePolyEdgeTool,Draw_Drawable3D)
|
||||
|
||||
#define PntX1 ((Standard_Real*)Coordinates)[0]
|
||||
#define PntY1 ((Standard_Real*)Coordinates)[1]
|
||||
#define PntZ1 ((Standard_Real*)Coordinates)[2]
|
||||
|
@@ -65,7 +65,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRTest_DrawablePolyEdgeTool,Draw_Drawable3D)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_DrawablePolyEdgeTool,Draw_Drawable3D)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_OutLiner,Draw_Drawable3D)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRTest_OutLiner
|
||||
//purpose :
|
||||
|
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRTest_OutLiner,Draw_Drawable3D)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_OutLiner,Draw_Drawable3D)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_Stream.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_Projector,Draw_Drawable3D)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRTest_Projector
|
||||
//purpose :
|
||||
|
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRTest_Projector,Draw_Drawable3D)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_Projector,Draw_Drawable3D)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <HLRTest_ShapeData.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_ShapeData,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRTest_ShapeData
|
||||
//purpose :
|
||||
|
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRTest_ShapeData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_ShapeData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user