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:
@@ -38,6 +38,8 @@
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
#include <UTL.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_Application,CDM_Application)
|
||||
|
||||
#define theMetaDataDriver CDF_Session::CurrentSession()->MetaDataDriver()
|
||||
|
||||
|
||||
|
@@ -139,7 +139,7 @@ public:
|
||||
friend class CDF_Session;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_Application,CDM_Application)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_Application,CDM_Application)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_Directory,Standard_Transient)
|
||||
|
||||
CDF_Directory::CDF_Directory () {}
|
||||
|
||||
void CDF_Directory::Add(const Handle(CDM_Document)& aDocument) {
|
||||
|
@@ -67,7 +67,7 @@ public:
|
||||
friend class CDF_DirectoryIterator;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_Directory,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_Directory,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
#include <UTL.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_FWOSDriver,CDF_MetaDataDriver)
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <tchar.h>
|
||||
#endif // _MSC_VER
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_FWOSDriver,CDF_MetaDataDriver)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_FWOSDriver,CDF_MetaDataDriver)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_MetaDataDriver,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : CDF_MetaDataDriver
|
||||
//purpose :
|
||||
|
@@ -111,7 +111,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_MetaDataDriver,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_MetaDataDriver,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,3 +18,5 @@
|
||||
#include <CDF_MetaDataDriver.hxx>
|
||||
#include <CDF_MetaDataDriverFactory.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_MetaDataDriverFactory,Standard_Transient)
|
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_MetaDataDriverFactory,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_MetaDataDriverFactory,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -32,6 +32,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_Session,Standard_Transient)
|
||||
|
||||
static Handle(CDF_Session) CS;
|
||||
|
||||
//=======================================================================
|
||||
|
@@ -67,7 +67,7 @@ public:
|
||||
friend class CDF_Application;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_Session,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_Session,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDF_StoreList,Standard_Transient)
|
||||
|
||||
static void CAUGHT(TCollection_ExtendedString& status,const TCollection_ExtendedString& what) {
|
||||
Handle(Standard_Failure) F = Standard_Failure::Caught();
|
||||
status += what;
|
||||
|
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDF_StoreList,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDF_StoreList,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user