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:
@@ -18,3 +18,5 @@
|
||||
#include <Storage_BaseDriver.hxx>
|
||||
#include <Storage_CallBack.hxx>
|
||||
#include <Storage_Schema.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_CallBack,MMgt_TShared)
|
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_CallBack,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_CallBack,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Data,MMgt_TShared)
|
||||
|
||||
Storage_Data::Storage_Data()
|
||||
{
|
||||
myRootData = new Storage_RootData;
|
||||
|
@@ -228,7 +228,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_Data,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Data,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <Storage_DefaultCallBack.hxx>
|
||||
#include <Storage_Schema.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_DefaultCallBack,Storage_CallBack)
|
||||
|
||||
Storage_DefaultCallBack::Storage_DefaultCallBack()
|
||||
{
|
||||
}
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_DefaultCallBack,Storage_CallBack)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_DefaultCallBack,Storage_CallBack)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_HeaderData,MMgt_TShared)
|
||||
|
||||
Storage_HeaderData::Storage_HeaderData() : myNBObj(0), myErrorStatus(Storage_VSOk)
|
||||
{
|
||||
}
|
||||
|
@@ -101,7 +101,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_HeaderData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_HeaderData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -17,6 +17,8 @@
|
||||
#include <Storage_InternalData.hxx>
|
||||
#include <Storage_Schema.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_InternalData,MMgt_TShared)
|
||||
|
||||
Storage_InternalData::Storage_InternalData() : myObjId(1), myTypeId(1)
|
||||
{
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_InternalData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_InternalData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <Storage_Schema.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Root,MMgt_TShared)
|
||||
|
||||
Storage_Root::Storage_Root() : myRef(0)
|
||||
{
|
||||
}
|
||||
|
@@ -87,7 +87,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_Root,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Root,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Storage_Schema.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_RootData,MMgt_TShared)
|
||||
|
||||
Storage_RootData::Storage_RootData() : myErrorStatus(Storage_VSOk)
|
||||
{
|
||||
}
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_RootData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_RootData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -46,6 +46,8 @@
|
||||
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_Schema,MMgt_TShared)
|
||||
|
||||
#define DATATYPE_MIGRATION
|
||||
|
||||
#ifdef DATATYPE_MIGRATION
|
||||
|
@@ -223,7 +223,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_Schema,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_Schema,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <Storage_TypeData.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_TypeData,MMgt_TShared)
|
||||
|
||||
Storage_TypeData::Storage_TypeData() : myErrorStatus(Storage_VSOk)
|
||||
{
|
||||
}
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
friend class Storage_Schema;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_TypeData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_TypeData,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,6 +18,8 @@
|
||||
#include <Storage_TypedCallBack.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Storage_TypedCallBack,MMgt_TShared)
|
||||
|
||||
Storage_TypedCallBack::Storage_TypedCallBack() : myIndex(0)
|
||||
{
|
||||
}
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Storage_TypedCallBack,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Storage_TypedCallBack,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user