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:
@@ -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)
|
||||
|
@@ -80,7 +80,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ActorDispatch,Transfer_ActorOfTransientProcess)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_ActorDispatch,Transfer_ActorOfTransientProcess)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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 ()
|
||||
|
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ActorOfFinderProcess,Transfer_ActorOfProcessForFinder)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_ActorOfFinderProcess,Transfer_ActorOfProcessForFinder)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -97,7 +97,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ActorOfProcessForFinder,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForFinder,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ActorOfProcessForTransient,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(Transfer_ActorOfProcessForTransient,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ActorOfTransientProcess,Transfer_ActorOfProcessForTransient)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_ActorOfTransientProcess,Transfer_ActorOfProcessForTransient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <Transfer_TransferFailure.hxx>
|
||||
#include <Transfer_VoidBinder.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Transfer_Binder,MMgt_TShared)
|
||||
|
||||
//=======================================================================
|
||||
//function : Transfer_Binder
|
||||
//purpose :
|
||||
|
@@ -133,7 +133,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_Binder,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_Binder,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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) { }
|
||||
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_BinderOfTransientInteger,Transfer_SimpleBinderOfTransient)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_BinderOfTransientInteger,Transfer_SimpleBinderOfTransient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -65,7 +65,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_DispatchControl,Interface_CopyControl)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_DispatchControl,Interface_CopyControl)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -147,7 +147,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_Finder,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_Finder,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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) { }
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Transfer_MapContainer.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Transfer_MapContainer,MMgt_TShared)
|
||||
|
||||
Transfer_MapContainer::Transfer_MapContainer()
|
||||
{
|
||||
}
|
||||
|
@@ -44,7 +44,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_MapContainer,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_MapContainer,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -92,7 +92,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_MultipleBinder,Transfer_Binder)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_MultipleBinder,Transfer_Binder)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -401,7 +401,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ProcessForFinder,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForFinder,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -405,7 +405,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ProcessForTransient,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTI_INLINE(Transfer_ProcessForTransient,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -158,7 +158,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ResultFromModel,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromModel,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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 () { }
|
||||
|
@@ -113,7 +113,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_ResultFromTransient,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromTransient,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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 () { }
|
||||
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_SimpleBinderOfTransient,Transfer_Binder)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_SimpleBinderOfTransient,Transfer_Binder)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,6 +18,8 @@
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#include <Transfer_TransientListBinder.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Transfer_TransientListBinder,Transfer_Binder)
|
||||
|
||||
//#include <TColStd.hxx>
|
||||
//=======================================================================
|
||||
//function : Constructor
|
||||
|
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_TransientListBinder,Transfer_Binder)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_TransientListBinder,Transfer_Binder)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_TransientMapper,Transfer_Finder)
|
||||
DEFINE_STANDARD_RTTI_INLINE(Transfer_TransientMapper,Transfer_Finder)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <Transfer_Binder.hxx>
|
||||
#include <Transfer_TransientProcess.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Transfer_TransientProcess,Transfer_ProcessForTransient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Transfer_TransientProcess
|
||||
//purpose :
|
||||
|
@@ -116,7 +116,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_TransientProcess,Transfer_ProcessForTransient)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_TransientProcess,Transfer_ProcessForTransient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Transfer_VoidBinder,Transfer_Binder)
|
||||
DEFINE_STANDARD_RTTIEXT(Transfer_VoidBinder,Transfer_Binder)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user