mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -22,6 +22,8 @@
|
||||
#include <HLRAlgo_EdgesBlock.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_EdgesBlock,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRAlgo_EdgesBlock
|
||||
//purpose :
|
||||
|
@@ -86,7 +86,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_EdgesBlock,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_EdgesBlock,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <Precision.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,MMgt_TShared)
|
||||
|
||||
#define EMskGrALin1 ((Standard_Boolean) 8)
|
||||
#define EMskGrALin2 ((Standard_Boolean) 16)
|
||||
#define EMskGrALin3 ((Standard_Boolean) 32)
|
||||
|
@@ -73,7 +73,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_PolyAlgo,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <HLRAlgo_PolyData.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyData,MMgt_TShared)
|
||||
|
||||
#define EMskGrALin1 ((Standard_Boolean) 8)
|
||||
#define EMskGrALin2 ((Standard_Boolean) 16)
|
||||
#define EMskGrALin3 ((Standard_Boolean) 32)
|
||||
|
@@ -73,7 +73,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_PolyData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_Stream.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyInternalData,MMgt_TShared)
|
||||
|
||||
#define Tri1Node1 ((Standard_Integer*)Tri1Indices)[0]
|
||||
#define Tri1Node2 ((Standard_Integer*)Tri1Indices)[1]
|
||||
#define Tri1Node3 ((Standard_Integer*)Tri1Indices)[2]
|
||||
|
@@ -88,7 +88,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_PolyInternalData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyInternalData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -17,3 +17,5 @@
|
||||
|
||||
#include <HLRAlgo_PolyInternalNode.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyInternalNode,MMgt_TShared)
|
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_PolyInternalNode,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyInternalNode,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <HLRAlgo_PolyShellData.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyShellData,MMgt_TShared)
|
||||
|
||||
#define PntX1 ((Standard_Real*)Coordinates)[ 0]
|
||||
#define PntY1 ((Standard_Real*)Coordinates)[ 1]
|
||||
#define PntZ1 ((Standard_Real*)Coordinates)[ 2]
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_PolyShellData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_PolyShellData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
#include <HLRAlgo_WiresBlock.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_WiresBlock,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRAlgo_WiresBlock
|
||||
//purpose :
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(HLRAlgo_WiresBlock,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRAlgo_WiresBlock,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user