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:
@@ -22,6 +22,8 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_AssociativityDef,IGESData_IGESEntity)
|
||||
|
||||
IGESDefs_AssociativityDef::IGESDefs_AssociativityDef () { }
|
||||
|
||||
|
||||
|
@@ -90,7 +90,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_AssociativityDef,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_AssociativityDef,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_AttributeDef,IGESData_IGESEntity)
|
||||
|
||||
// For each Attribute Value, according to Attribute Type :
|
||||
// 0 -> Void, 1 -> Integer, 2 -> Real, 3 -> String, 4 -> Entity 6 -> Logical
|
||||
IGESDefs_AttributeDef::IGESDefs_AttributeDef () { }
|
||||
|
@@ -117,7 +117,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_AttributeDef,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_AttributeDef,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -31,6 +31,8 @@
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_AttributeTable,IGESData_IGESEntity)
|
||||
|
||||
// ATTENTION ATTENTION : L Appellation "ROW" n est pas reconduite en l etat
|
||||
// Le Numero d Attribut est donne en 1er (donc, en colonne du HArray2 et non
|
||||
// en ligne), le numero de Colonne en 2e (donc, comme un numero de Ligne)
|
||||
|
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_AttributeTable,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_AttributeTable,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -38,6 +38,8 @@
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_GeneralModule,IGESData_GeneralModule)
|
||||
|
||||
// Each Module is attached to a Protocol : it must interprete Case Numbers
|
||||
// (arguments <CN> of various methods) in accordance to values returned by
|
||||
// the method TypeNumber from this Protocol
|
||||
|
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_GeneralModule,IGESData_GeneralModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_GeneralModule,IGESData_GeneralModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -30,6 +30,8 @@
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_GenericData,IGESData_IGESEntity)
|
||||
|
||||
IGESDefs_GenericData::IGESDefs_GenericData () { }
|
||||
|
||||
|
||||
|
@@ -102,7 +102,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_GenericData,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_GenericData,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -51,7 +51,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_HArray1OfHArray1OfTextDisplayTemplate,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(IGESDefs_HArray1OfHArray1OfTextDisplayTemplate,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_MacroDef,IGESData_IGESEntity)
|
||||
|
||||
IGESDefs_MacroDef::IGESDefs_MacroDef () { }
|
||||
|
||||
void IGESDefs_MacroDef::Init
|
||||
|
@@ -68,7 +68,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_MacroDef,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_MacroDef,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Interface_Protocol.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_Protocol,IGESData_Protocol)
|
||||
|
||||
static int deja = 0;
|
||||
static Handle(Standard_Type) atype1,atype2,atype3,atype4,atype5,atype6,atype7;
|
||||
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_Protocol,IGESData_Protocol)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_Protocol,IGESData_Protocol)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -35,6 +35,8 @@
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
|
||||
// Each Module is attached to a Protocol : it must interprete Case Numbers
|
||||
// (arguments <CN> of various methods) in accordance to values returned by
|
||||
// the method TypeNumber from this Protocol
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_ReadWriteModule,IGESData_ReadWriteModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_SpecificModule,IGESData_SpecificModule)
|
||||
|
||||
// Each Module is attached to a Protocol : it must interprete Case Numbers
|
||||
// (arguments <CN> of various methods) in accordance to values returned by
|
||||
// the method TypeNumber from this Protocol
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_SpecificModule,IGESData_SpecificModule)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_SpecificModule,IGESData_SpecificModule)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_TabularData,IGESData_IGESEntity)
|
||||
|
||||
IGESDefs_TabularData::IGESDefs_TabularData () { }
|
||||
|
||||
|
||||
|
@@ -93,7 +93,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_TabularData,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_TabularData,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_UnitsData,IGESData_IGESEntity)
|
||||
|
||||
IGESDefs_UnitsData::IGESDefs_UnitsData () { }
|
||||
|
||||
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(IGESDefs_UnitsData,IGESData_IGESEntity)
|
||||
DEFINE_STANDARD_RTTIEXT(IGESDefs_UnitsData,IGESData_IGESEntity)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user