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

@@ -25,6 +25,8 @@
#include <Standard_Type.hxx>
#include <TCollection_ExtendedString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_Application,Standard_Transient)
//=======================================================================
//function : SetDocumentVersion
//purpose :

View File

@@ -65,7 +65,7 @@ friend class CDM_Reference;
friend class CDM_MetaData;
DEFINE_STANDARD_RTTI(CDM_Application,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(CDM_Application,Standard_Transient)
protected:

View File

@@ -18,6 +18,8 @@
#include <Standard_PCharacter.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_COutMessageDriver,CDM_MessageDriver)
//=======================================================================
//function : Write
//purpose :

View File

@@ -38,7 +38,7 @@ public:
DEFINE_STANDARD_RTTI(CDM_COutMessageDriver,CDM_MessageDriver)
DEFINE_STANDARD_RTTIEXT(CDM_COutMessageDriver,CDM_MessageDriver)
protected:

View File

@@ -37,6 +37,8 @@
#include <TCollection_ExtendedString.hxx>
#include <UTL.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_Document,Standard_Transient)
static CDM_PresentationDirectory& getPresentations() {
static CDM_PresentationDirectory thePresentations;
return thePresentations;

View File

@@ -371,7 +371,7 @@ friend class CDM_ReferenceIterator;
friend class CDM_Application;
DEFINE_STANDARD_RTTI(CDM_Document,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(CDM_Document,Standard_Transient)
protected:

View File

@@ -17,3 +17,5 @@
#include <CDM_MessageDriver.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_MessageDriver,Standard_Transient)

View File

@@ -39,7 +39,7 @@ public:
DEFINE_STANDARD_RTTI(CDM_MessageDriver,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(CDM_MessageDriver,Standard_Transient)
protected:

View File

@@ -24,6 +24,8 @@
#include <Standard_Type.hxx>
#include <TCollection_ExtendedString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_MetaData,Standard_Transient)
static CDM_MetaDataLookUpTable& getLookUpTable(){
static CDM_MetaDataLookUpTable theLookUpTable;
return theLookUpTable;

View File

@@ -96,7 +96,7 @@ friend
Standard_EXPORT void CDM_Application::SetDocumentVersion (const Handle(CDM_Document)& aDocument, const Handle(CDM_MetaData)& aMetaData) const;
DEFINE_STANDARD_RTTI(CDM_MetaData,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(CDM_MetaData,Standard_Transient)
protected:

View File

@@ -19,6 +19,8 @@
#include <Standard_Type.hxx>
#include <TCollection_ExtendedString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_NullMessageDriver,CDM_MessageDriver)
CDM_NullMessageDriver::CDM_NullMessageDriver() {}
void CDM_NullMessageDriver::Write(const Standard_ExtString /*aString*/) {

View File

@@ -41,7 +41,7 @@ public:
DEFINE_STANDARD_RTTI(CDM_NullMessageDriver,CDM_MessageDriver)
DEFINE_STANDARD_RTTIEXT(CDM_NullMessageDriver,CDM_MessageDriver)
protected:

View File

@@ -21,6 +21,8 @@
#include <CDM_Reference.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(CDM_Reference,Standard_Transient)
CDM_Reference::CDM_Reference(const Handle(CDM_Document)& aFromDocument, const Handle(CDM_Document)& aToDocument, const Standard_Integer aReferenceIdentifier, const Standard_Integer aToDocumentVersion):
myToDocument(aToDocument),
myFromDocument(aFromDocument.operator->()),

View File

@@ -53,7 +53,7 @@ public:
friend class CDM_Document;
DEFINE_STANDARD_RTTI(CDM_Reference,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(CDM_Reference,Standard_Transient)
protected: