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:
@@ -25,6 +25,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDM_Application,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDocumentVersion
|
||||
//purpose :
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -18,6 +18,8 @@
|
||||
#include <Standard_PCharacter.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDM_COutMessageDriver,CDM_MessageDriver)
|
||||
|
||||
//=======================================================================
|
||||
//function : Write
|
||||
//purpose :
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDM_COutMessageDriver,CDM_MessageDriver)
|
||||
DEFINE_STANDARD_RTTIEXT(CDM_COutMessageDriver,CDM_MessageDriver)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -17,3 +17,5 @@
|
||||
|
||||
#include <CDM_MessageDriver.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(CDM_MessageDriver,Standard_Transient)
|
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDM_MessageDriver,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDM_MessageDriver,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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*/) {
|
||||
|
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDM_NullMessageDriver,CDM_MessageDriver)
|
||||
DEFINE_STANDARD_RTTIEXT(CDM_NullMessageDriver,CDM_MessageDriver)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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->()),
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
friend class CDM_Document;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(CDM_Reference,Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(CDM_Reference,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user