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:
@@ -1093,6 +1093,8 @@
|
||||
#include <StepVisual_ViewVolume.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
|
||||
|
||||
//#define DeclareAndCast(atype,result,start) \ NON car Name
|
||||
// Handle(atype) result = Handle(atype)::DownCast (start)
|
||||
// Removed from Rev2 to Rev4 : <StepVisual_AnnotationCurveOccurrence.hxx>
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(RWStepAP214_GeneralModule,StepData_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include <StepData_WriterLib.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
|
||||
|
||||
//#include <Interface_Macros.hxx>
|
||||
#define DeclareAndCast(atype,result,start) \
|
||||
Handle(atype) result = Handle(atype)::DownCast (start)
|
||||
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
|
||||
DEFINE_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user