1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

@@ -24,6 +24,8 @@
#include <Transfer_TransferDispatch.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ActorDispatch,Transfer_ActorOfTransientProcess)
Transfer_ActorDispatch::Transfer_ActorDispatch
(const Handle(Interface_InterfaceModel)& amodel,
const Interface_GeneralLib& lib)

View File

@@ -80,7 +80,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ActorDispatch,Transfer_ActorOfTransientProcess)
DEFINE_STANDARD_RTTIEXT(Transfer_ActorDispatch,Transfer_ActorOfTransientProcess)
protected:

View File

@@ -22,6 +22,8 @@
#include <Transfer_SimpleBinderOfTransient.hxx>
#include <Transfer_TransientMapper.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ActorOfFinderProcess,Transfer_ActorOfProcessForFinder)
Transfer_ActorOfFinderProcess::Transfer_ActorOfFinderProcess () { themodetrans = 0; }
Standard_Integer& Transfer_ActorOfFinderProcess::ModeTrans ()

View File

@@ -56,7 +56,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ActorOfFinderProcess,Transfer_ActorOfProcessForFinder)
DEFINE_STANDARD_RTTIEXT(Transfer_ActorOfFinderProcess,Transfer_ActorOfProcessForFinder)
protected:

View File

@@ -97,7 +97,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ActorOfProcessForFinder,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForFinder,MMgt_TShared)
protected:

View File

@@ -96,7 +96,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ActorOfProcessForTransient,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForTransient,MMgt_TShared)
protected:

View File

@@ -20,6 +20,8 @@
#include <Transfer_SimpleBinderOfTransient.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ActorOfTransientProcess,Transfer_ActorOfProcessForTransient)
Transfer_ActorOfTransientProcess::Transfer_ActorOfTransientProcess () { }
Handle(Transfer_Binder) Transfer_ActorOfTransientProcess::Transfer

View File

@@ -48,7 +48,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ActorOfTransientProcess,Transfer_ActorOfProcessForTransient)
DEFINE_STANDARD_RTTIEXT(Transfer_ActorOfTransientProcess,Transfer_ActorOfProcessForTransient)
protected:

View File

@@ -21,6 +21,8 @@
#include <Transfer_TransferFailure.hxx>
#include <Transfer_VoidBinder.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Binder,MMgt_TShared)
//=======================================================================
//function : Transfer_Binder
//purpose :

View File

@@ -133,7 +133,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_Binder,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_Binder,MMgt_TShared)
protected:

View File

@@ -15,6 +15,8 @@
#include <Standard_Type.hxx>
#include <Transfer_BinderOfTransientInteger.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_BinderOfTransientInteger,Transfer_SimpleBinderOfTransient)
Transfer_BinderOfTransientInteger::Transfer_BinderOfTransientInteger ()
: theintval (0) { }

View File

@@ -52,7 +52,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_BinderOfTransientInteger,Transfer_SimpleBinderOfTransient)
DEFINE_STANDARD_RTTIEXT(Transfer_BinderOfTransientInteger,Transfer_SimpleBinderOfTransient)
protected:

View File

@@ -19,6 +19,8 @@
#include <Transfer_DispatchControl.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_DispatchControl,Interface_CopyControl)
Transfer_DispatchControl::Transfer_DispatchControl
(const Handle(Interface_InterfaceModel)& model,
const Handle(Transfer_TransientProcess)& TP)

View File

@@ -65,7 +65,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_DispatchControl,Interface_CopyControl)
DEFINE_STANDARD_RTTIEXT(Transfer_DispatchControl,Interface_CopyControl)
protected:

View File

@@ -21,6 +21,8 @@
#include <TCollection_HAsciiString.hxx>
#include <Transfer_Finder.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Finder,MMgt_TShared)
void Transfer_Finder::SetHashCode (const Standard_Integer code)
{ thecode = code; }

View File

@@ -147,7 +147,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_Finder,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_Finder,MMgt_TShared)
protected:

View File

@@ -23,6 +23,8 @@
#include <Transfer_FinderProcess.hxx>
#include <Transfer_TransientMapper.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_FinderProcess,Transfer_ProcessForFinder)
Transfer_FinderProcess::Transfer_FinderProcess (const Standard_Integer nb)
: Transfer_ProcessForFinder (nb) { }

View File

@@ -74,7 +74,7 @@ public:
//! Prints statistics on a given output, according mode
Standard_EXPORT void PrintStats (const Standard_Integer mode, const Handle(Message_Messenger)& S) const;
DEFINE_STANDARD_RTTI(Transfer_FinderProcess,Transfer_ProcessForFinder)
DEFINE_STANDARD_RTTIEXT(Transfer_FinderProcess,Transfer_ProcessForFinder)
private:
Handle(Interface_InterfaceModel) themodel;

View File

@@ -15,6 +15,8 @@
#include <Standard_Type.hxx>
#include <Transfer_MapContainer.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_MapContainer,MMgt_TShared)
Transfer_MapContainer::Transfer_MapContainer()
{
}

View File

@@ -44,7 +44,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_MapContainer,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_MapContainer,MMgt_TShared)
protected:

View File

@@ -18,6 +18,8 @@
#include <Transfer_MultipleBinder.hxx>
#include <Transfer_TransferFailure.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_MultipleBinder,Transfer_Binder)
// Resultat Multiple
// Possibilite de definir un Resultat Multiple : plusieurs objets resultant
// d un Transfert, sans pouvoir les distinguer

View File

@@ -92,7 +92,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_MultipleBinder,Transfer_Binder)
DEFINE_STANDARD_RTTIEXT(Transfer_MultipleBinder,Transfer_Binder)
protected:

View File

@@ -401,7 +401,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ProcessForFinder,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForFinder,MMgt_TShared)
protected:

View File

@@ -405,7 +405,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ProcessForTransient,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForTransient,MMgt_TShared)
protected:

View File

@@ -25,6 +25,8 @@
#include <Transfer_ResultFromTransient.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ResultFromModel,MMgt_TShared)
Transfer_ResultFromModel::Transfer_ResultFromModel ()
{ themnum = 0; themchk = Interface_CheckAny; }

View File

@@ -158,7 +158,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ResultFromModel,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromModel,MMgt_TShared)
protected:

View File

@@ -20,6 +20,8 @@
#include <Transfer_ResultFromTransient.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_ResultFromTransient,MMgt_TShared)
static Handle(Interface_Check) voidcheck = new Interface_Check;
Transfer_ResultFromTransient::Transfer_ResultFromTransient () { }

View File

@@ -113,7 +113,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_ResultFromTransient,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromTransient,MMgt_TShared)
protected:

View File

@@ -18,6 +18,8 @@
#include <Transfer_SimpleBinderOfTransient.hxx>
#include <Transfer_TransferFailure.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_SimpleBinderOfTransient,Transfer_Binder)
// "Handle(Standard_Transient)" : la classe de base pour le Resultat
Transfer_SimpleBinderOfTransient::Transfer_SimpleBinderOfTransient () { }

View File

@@ -74,7 +74,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_SimpleBinderOfTransient,Transfer_Binder)
DEFINE_STANDARD_RTTIEXT(Transfer_SimpleBinderOfTransient,Transfer_Binder)
protected:

View File

@@ -18,6 +18,8 @@
#include <Standard_TypeMismatch.hxx>
#include <Transfer_TransientListBinder.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_TransientListBinder,Transfer_Binder)
//#include <TColStd.hxx>
//=======================================================================
//function : Constructor

View File

@@ -69,7 +69,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_TransientListBinder,Transfer_Binder)
DEFINE_STANDARD_RTTIEXT(Transfer_TransientListBinder,Transfer_Binder)
protected:

View File

@@ -64,7 +64,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_TransientMapper,Transfer_Finder)
DEFINE_STANDARD_RTTI_INLINE(Transfer_TransientMapper,Transfer_Finder)
protected:

View File

@@ -26,6 +26,8 @@
#include <Transfer_Binder.hxx>
#include <Transfer_TransientProcess.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_TransientProcess,Transfer_ProcessForTransient)
//=======================================================================
//function : Transfer_TransientProcess
//purpose :

View File

@@ -116,7 +116,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_TransientProcess,Transfer_ProcessForTransient)
DEFINE_STANDARD_RTTIEXT(Transfer_TransientProcess,Transfer_ProcessForTransient)
protected:

View File

@@ -19,6 +19,8 @@
#include <Standard_Type.hxx>
#include <Transfer_VoidBinder.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Transfer_VoidBinder,Transfer_Binder)
Transfer_VoidBinder::Transfer_VoidBinder () { }
// Standard_Boolean Transfer_VoidBinder::IsMultiple () const

View File

@@ -53,7 +53,7 @@ public:
DEFINE_STANDARD_RTTI(Transfer_VoidBinder,Transfer_Binder)
DEFINE_STANDARD_RTTIEXT(Transfer_VoidBinder,Transfer_Binder)
protected: