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:
@@ -20,6 +20,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_BCirc,GccInt_Bisec)
|
||||
|
||||
GccInt_BCirc::
|
||||
GccInt_BCirc(const gp_Circ2d& Circ) {
|
||||
cir = gp_Circ2d(Circ);
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_BCirc,GccInt_Bisec)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_BCirc,GccInt_Bisec)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_BElips,GccInt_Bisec)
|
||||
|
||||
GccInt_BElips::
|
||||
GccInt_BElips(const gp_Elips2d& Ellipse) {
|
||||
eli = gp_Elips2d(Ellipse);
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_BElips,GccInt_Bisec)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_BElips,GccInt_Bisec)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_NotImplemented.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_BHyper,GccInt_Bisec)
|
||||
|
||||
GccInt_BHyper::
|
||||
GccInt_BHyper(const gp_Hypr2d& Hyper) {
|
||||
hyp = gp_Hypr2d(Hyper);
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_BHyper,GccInt_Bisec)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_BHyper,GccInt_Bisec)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_BLine,GccInt_Bisec)
|
||||
|
||||
GccInt_BLine::
|
||||
GccInt_BLine(const gp_Lin2d& Line) {
|
||||
lin = gp_Lin2d(Line);
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_BLine,GccInt_Bisec)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_BLine,GccInt_Bisec)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_BParab,GccInt_Bisec)
|
||||
|
||||
GccInt_BParab::
|
||||
GccInt_BParab(const gp_Parab2d& Parab) {
|
||||
par = gp_Parab2d(Parab);
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_BParab,GccInt_Bisec)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_BParab,GccInt_Bisec)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_BPoint,GccInt_Bisec)
|
||||
|
||||
GccInt_BPoint::
|
||||
GccInt_BPoint(const gp_Pnt2d& Point) {
|
||||
pnt = gp_Pnt2d(Point);
|
||||
|
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_BPoint,GccInt_Bisec)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_BPoint,GccInt_Bisec)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <Standard_NotImplemented.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GccInt_Bisec,MMgt_TShared)
|
||||
|
||||
gp_Circ2d GccInt_Bisec::
|
||||
Circle() const {
|
||||
Standard_NotImplemented::Raise();
|
||||
|
@@ -90,7 +90,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GccInt_Bisec,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GccInt_Bisec,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user