1
0
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:
abv
2015-12-04 14:15:06 +03:00
parent f5f4ebd07b
commit 92efcf78a6
4556 changed files with 7149 additions and 2882 deletions

View File

@@ -22,6 +22,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_AsciiString,TDF_Attribute)
//=======================================================================
//function : TDataStd_AsciiString
//purpose :

View File

@@ -72,7 +72,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_AsciiString,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_AsciiString,TDF_Attribute)
protected:

View File

@@ -21,6 +21,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_BooleanArray,TDF_Attribute)
static Standard_Integer DegreeOf2(const Standard_Integer degree)
{
switch (degree)

View File

@@ -90,7 +90,7 @@ Standard_Boolean operator () (const Standard_Integer Index) const
DEFINE_STANDARD_RTTI(TDataStd_BooleanArray,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_BooleanArray,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_BooleanList,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -81,7 +81,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_BooleanList,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_BooleanList,TDF_Attribute)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_ByteArray,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -113,7 +113,7 @@ Standard_Byte operator () (const Standard_Integer Index) const
friend class TDataStd_DeltaOnModificationOfByteArray;
DEFINE_STANDARD_RTTI(TDataStd_ByteArray,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_ByteArray,TDF_Attribute)
protected:

View File

@@ -29,6 +29,8 @@
#include <TDF_RelocationTable.hxx>
#include <TDF_Tool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Comment,TDF_Attribute)
#define lid1 45
#define lid2 36

View File

@@ -80,7 +80,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Comment,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Comment,TDF_Attribute)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Current,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -76,7 +76,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Current,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Current,TDF_Attribute)
protected:

View File

@@ -25,6 +25,8 @@
#include <TDF_DeltaOnModification.hxx>
#include <TDF_Label.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfByteArray,TDF_DeltaOnModification)
#ifdef OCCT_DEBUG
#define MAXUP 1000
#endif

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_DeltaOnModificationOfByteArray,TDF_DeltaOnModification)
DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfByteArray,TDF_DeltaOnModification)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_DeltaOnModification.hxx>
#include <TDF_Label.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfExtStringArray,TDF_DeltaOnModification)
#ifdef OCCT_DEBUG
#define MAXUP 1000
#endif

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_DeltaOnModificationOfExtStringArray,TDF_DeltaOnModification)
DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfExtStringArray,TDF_DeltaOnModification)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_DeltaOnModification.hxx>
#include <TDF_Label.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntArray,TDF_DeltaOnModification)
#ifdef OCCT_DEBUG
#define MAXUP 1000
#endif

View File

@@ -45,7 +45,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_DeltaOnModificationOfIntArray,TDF_DeltaOnModification)
DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntArray,TDF_DeltaOnModification)
protected:

View File

@@ -23,6 +23,8 @@
#include <TDF_DeltaOnModification.hxx>
#include <TDF_Label.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntPackedMap,TDF_DeltaOnModification)
#ifdef OCCT_DEBUG
#define MAXUP 1000
#endif

View File

@@ -44,7 +44,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_DeltaOnModificationOfIntPackedMap,TDF_DeltaOnModification)
DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntPackedMap,TDF_DeltaOnModification)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_DeltaOnModification.hxx>
#include <TDF_Label.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfRealArray,TDF_DeltaOnModification)
#ifdef OCCT_DEBUG
#define MAXUP 1000
#endif

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_DeltaOnModificationOfRealArray,TDF_DeltaOnModification)
DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfRealArray,TDF_DeltaOnModification)
protected:

View File

@@ -26,6 +26,8 @@
#include <TDF_RelocationTable.hxx>
#include <TDF_TagSource.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Directory,TDF_Attribute)
//=======================================================================
//function : Find
//purpose :

View File

@@ -84,7 +84,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Directory,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Directory,TDF_Attribute)
protected:

View File

@@ -26,6 +26,8 @@
#include <TDF_ListIteratorOfAttributeList.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Expression,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -81,7 +81,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Expression,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Expression,TDF_Attribute)
protected:

View File

@@ -25,6 +25,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_ExtStringArray,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -116,7 +116,7 @@ const TCollection_ExtendedString& operator () (const Standard_Integer Index) con
friend class TDataStd_DeltaOnModificationOfExtStringArray;
DEFINE_STANDARD_RTTI(TDataStd_ExtStringArray,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_ExtStringArray,TDF_Attribute)
protected:

View File

@@ -23,6 +23,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_ExtStringList,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -89,7 +89,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_ExtStringList,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_ExtStringList,TDF_Attribute)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TDataStd_HDataMapOfStringByte.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringByte,MMgt_TShared)
//=======================================================================
//function : TDataStd_HDataMapOfStringByte
//purpose : Constructor of empty map

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_HDataMapOfStringByte,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringByte,MMgt_TShared)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TDataStd_HDataMapOfStringHArray1OfInteger.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringHArray1OfInteger,MMgt_TShared)
//=======================================================================
//function : TDataStd_HDataMapOfStringHArray1OfInteger
//purpose : Constructor of empty map

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_HDataMapOfStringHArray1OfInteger,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringHArray1OfInteger,MMgt_TShared)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TDataStd_HDataMapOfStringHArray1OfReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringHArray1OfReal,MMgt_TShared)
//=======================================================================
//function : TDataStd_HDataMapOfStringHArray1OfReal
//purpose : Constructor of empty map

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_HDataMapOfStringHArray1OfReal,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringHArray1OfReal,MMgt_TShared)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TDataStd_HDataMapOfStringInteger.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringInteger,MMgt_TShared)
//=======================================================================
//function : TDataStd_HDataMapOfStringInteger
//purpose : Constructor of empty map

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_HDataMapOfStringInteger,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringInteger,MMgt_TShared)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TDataStd_HDataMapOfStringReal.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringReal,MMgt_TShared)
//=======================================================================
//function : TDataStd_HDataMapOfStringReal
//purpose : Constructor of empty map

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_HDataMapOfStringReal,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringReal,MMgt_TShared)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TDataStd_HDataMapOfStringString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringString,MMgt_TShared)
//=======================================================================
//function : TDataStd_HDataMapOfStringString
//purpose : Constructor of empty map

View File

@@ -46,7 +46,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_HDataMapOfStringString,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TDataStd_HDataMapOfStringString,MMgt_TShared)
protected:

View File

@@ -26,6 +26,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_IntPackedMap,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -100,7 +100,7 @@ public:
friend class TDataStd_DeltaOnModificationOfIntPackedMap;
DEFINE_STANDARD_RTTI(TDataStd_IntPackedMap,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_IntPackedMap,TDF_Attribute)
protected:

View File

@@ -23,6 +23,8 @@
#include <TDF_Reference.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Integer,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -74,7 +74,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Integer,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Integer,TDF_Attribute)
protected:

View File

@@ -25,6 +25,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_IntegerArray,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -117,7 +117,7 @@ Standard_Integer operator () (const Standard_Integer Index) const
friend class TDataStd_DeltaOnModificationOfIntArray;
DEFINE_STANDARD_RTTI(TDataStd_IntegerArray,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_IntegerArray,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_IntegerList,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -88,7 +88,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_IntegerList,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_IntegerList,TDF_Attribute)
protected:

View File

@@ -28,6 +28,8 @@
#include <TDF_RelocationTable.hxx>
#include <TDF_Tool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Name,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -92,7 +92,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Name,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Name,TDF_Attribute)
protected:

View File

@@ -34,6 +34,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_NamedData,TDF_Attribute)
#ifdef _WIN32
#define EXCEPTION ...
#else

View File

@@ -208,7 +208,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_NamedData,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_NamedData,TDF_Attribute)
protected:

View File

@@ -26,6 +26,8 @@
#include <TDF_RelocationTable.hxx>
#include <TDF_TagSource.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_NoteBook,TDF_Attribute)
//=======================================================================
//function : Find
//purpose :

View File

@@ -83,7 +83,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_NoteBook,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_NoteBook,TDF_Attribute)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_Reference.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Real,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -83,7 +83,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Real,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Real,TDF_Attribute)
protected:

View File

@@ -25,6 +25,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_RealArray,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -118,7 +118,7 @@ Standard_Real operator () (const Standard_Integer Index) const
friend class TDataStd_DeltaOnModificationOfRealArray;
DEFINE_STANDARD_RTTI(TDataStd_RealArray,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_RealArray,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_RealList,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -89,7 +89,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_RealList,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_RealList,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_ReferenceArray,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -94,7 +94,7 @@ TDF_Label operator () (const Standard_Integer Index) const
DEFINE_STANDARD_RTTI(TDataStd_ReferenceArray,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_ReferenceArray,TDF_Attribute)
protected:

View File

@@ -23,6 +23,8 @@
#include <TDF_ListIteratorOfLabelList.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_ReferenceList,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -91,7 +91,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_ReferenceList,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_ReferenceList,TDF_Attribute)
protected:

View File

@@ -26,6 +26,8 @@
#include <TDF_ListIteratorOfAttributeList.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Relation,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -81,7 +81,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Relation,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Relation,TDF_Attribute)
protected:

View File

@@ -21,6 +21,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Tick,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Tick,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Tick,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_RelocationTable.hxx>
#include <Standard_DomainError.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_TreeNode,TDF_Attribute)
//=======================================================================
//function : Find
//purpose :

View File

@@ -218,7 +218,7 @@ public:
friend class TDataStd_ChildNodeIterator;
DEFINE_STANDARD_RTTI(TDataStd_TreeNode,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_TreeNode,TDF_Attribute)
protected:

View File

@@ -24,6 +24,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_UAttribute,TDF_Attribute)
//=======================================================================
//function : Set
//purpose :

View File

@@ -67,7 +67,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_UAttribute,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_UAttribute,TDF_Attribute)
protected:

View File

@@ -29,6 +29,8 @@
#include <TDF_Label.hxx>
#include <TDF_RelocationTable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TDataStd_Variable,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -140,7 +140,7 @@ public:
DEFINE_STANDARD_RTTI(TDataStd_Variable,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(TDataStd_Variable,TDF_Attribute)
protected: