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

@@ -21,6 +21,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_Check,MMgt_TShared)
// Un Check est cree au depart sans liste de message : celle ci est creee
// seulement si au moins une erreur doit y etre enregitree (Fail-Warning)
//=======================================================================

View File

@@ -244,7 +244,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_Check,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_Check,MMgt_TShared)
protected:

View File

@@ -16,3 +16,5 @@
#include <Interface_InterfaceError.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_CopyControl,MMgt_TShared)

View File

@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_CopyControl,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_CopyControl,MMgt_TShared)
protected:

View File

@@ -18,6 +18,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_CopyMap,Interface_CopyControl)
// CopyMap : rien de plus qu une Map passive
Interface_CopyMap::Interface_CopyMap
(const Handle(Interface_InterfaceModel)& amodel)

View File

@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_CopyMap,Interface_CopyControl)
DEFINE_STANDARD_RTTIEXT(Interface_CopyMap,Interface_CopyControl)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_EntityCluster,MMgt_TShared)
// Un Cluster, ce sont 4 entites qui se suivent (dans le principe, nombre fixe,
// meme si pas 4). Elles sont remplies depuis 0. Il y a donc autant d Entites
// que de Handles non Nuls, plus le fait qu ils sont remplis dans l ordre

View File

@@ -96,7 +96,7 @@ public:
friend class Interface_EntityList;
DEFINE_STANDARD_RTTI(Interface_EntityCluster,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_EntityCluster,MMgt_TShared)
protected:

View File

@@ -27,6 +27,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_FileReaderData,MMgt_TShared)
// Stoque les Donnees issues d un Fichier (Conservees sous forme Litterale)
// Chaque norme peut s en servir comme base (listes de parametres litteraux,
// entites associees) et y ajoute ses donnees propres.

View File

@@ -180,7 +180,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_FileReaderData,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_FileReaderData,MMgt_TShared)
protected:

View File

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

View File

@@ -101,7 +101,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_GTool,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_GTool,MMgt_TShared)
protected:

View File

@@ -22,6 +22,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_GeneralModule,MMgt_TShared)
void Interface_GeneralModule::FillShared
(const Handle(Interface_InterfaceModel)& /*model*/,
const Standard_Integer casenum,

View File

@@ -184,7 +184,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_GeneralModule,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_GeneralModule,MMgt_TShared)
protected:

View File

@@ -60,7 +60,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_GlobalNodeOfGeneralLib,Standard_Transient)
DEFINE_STANDARD_RTTI_INLINE(Interface_GlobalNodeOfGeneralLib,Standard_Transient)
protected:

View File

@@ -60,7 +60,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_GlobalNodeOfReaderLib,Standard_Transient)
DEFINE_STANDARD_RTTI_INLINE(Interface_GlobalNodeOfReaderLib,Standard_Transient)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_DomainError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_HGraph,MMgt_TShared)
Interface_HGraph::Interface_HGraph (const Interface_Graph& agraph)
: thegraph(agraph) { }

View File

@@ -74,7 +74,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_HGraph,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_HGraph,MMgt_TShared)
protected:

View File

@@ -15,6 +15,8 @@
#include <Interface_IntVal.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_IntVal,MMgt_TShared)
Interface_IntVal::Interface_IntVal () { theval = 0; }
Standard_Integer Interface_IntVal::Value () const { return theval; }

View File

@@ -43,7 +43,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_IntVal,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_IntVal,MMgt_TShared)
protected:

View File

@@ -39,6 +39,8 @@
#include <TColStd_Array1OfTransient.hxx>
#include <TColStd_DataMapIteratorOfDataMapOfIntegerTransient.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_InterfaceModel,MMgt_TShared)
// Un Modele d`Interface est un ensemble ferme d`Entites d`interface : chacune
// est dans un seul modele a la fois; elle y a un numero (Number) qui permet de
// verifier qu`une entite est bien dans un seul modele, de definir des Map tres

View File

@@ -400,7 +400,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_InterfaceModel,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_InterfaceModel,MMgt_TShared)
protected:

View File

@@ -58,7 +58,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_NodeOfGeneralLib,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Interface_NodeOfGeneralLib,MMgt_TShared)
protected:

View File

@@ -58,7 +58,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_NodeOfReaderLib,MMgt_TShared)
DEFINE_STANDARD_RTTI_INLINE(Interface_NodeOfReaderLib,MMgt_TShared)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_RangeError.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_ParamList,MMgt_TShared)
//=======================================================================
//function : Interface_ParamList
//purpose :

View File

@@ -76,7 +76,7 @@ Interface_FileParameter& operator () (const Standard_Integer Index)
DEFINE_STANDARD_RTTI(Interface_ParamList,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_ParamList,MMgt_TShared)
protected:

View File

@@ -19,6 +19,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_ParamSet,MMgt_TShared)
Interface_ParamSet::Interface_ParamSet (const Standard_Integer nres, const Standard_Integer )//nst)
{
thelist = new Interface_ParamList;// (nst,nst+nres+2);

View File

@@ -88,7 +88,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_ParamSet,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_ParamSet,MMgt_TShared)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_Protocol,MMgt_TShared)
// Gestion du Protocol actif : tres simple, une variable statique
static Handle(Interface_Protocol)& theactive()
{

View File

@@ -117,7 +117,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_Protocol,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_Protocol,MMgt_TShared)
protected:

View File

@@ -19,6 +19,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_ReaderModule,MMgt_TShared)
Standard_Boolean Interface_ReaderModule::NewRead(const Standard_Integer,
const Handle(Interface_FileReaderData)&,
const Standard_Integer,

View File

@@ -72,7 +72,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_ReaderModule,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_ReaderModule,MMgt_TShared)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_ReportEntity,MMgt_TShared)
//=======================================================================
//function : Interface_ReportEntity
//purpose :

View File

@@ -107,7 +107,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_ReportEntity,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Interface_ReportEntity,MMgt_TShared)
protected:

View File

@@ -19,6 +19,8 @@
#include <TCollection_AsciiString.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_SignLabel,MoniTool_SignText)
Interface_SignLabel::Interface_SignLabel () { }
Standard_CString Interface_SignLabel::Name () const

View File

@@ -48,7 +48,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_SignLabel,MoniTool_SignText)
DEFINE_STANDARD_RTTIEXT(Interface_SignLabel,MoniTool_SignText)
protected:

View File

@@ -18,6 +18,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_SignType,MoniTool_SignText)
TCollection_AsciiString Interface_SignType::Text
(const Handle(Standard_Transient)& ent,
const Handle(Standard_Transient)& context) const

View File

@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_SignType,MoniTool_SignText)
DEFINE_STANDARD_RTTIEXT(Interface_SignType,MoniTool_SignText)
protected:

View File

@@ -25,6 +25,8 @@
#include <TCollection_HAsciiString.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(Interface_Static,Interface_TypedValue)
static char defmess[31];
// Fonctions Satisfies offertes en standard ...

View File

@@ -261,7 +261,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_Static,Interface_TypedValue)
DEFINE_STANDARD_RTTIEXT(Interface_Static,Interface_TypedValue)
protected:

View File

@@ -22,6 +22,8 @@
#include <TCollection_HAsciiString.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(Interface_TypedValue,MoniTool_TypedValue)
//static char defmess[30]; svv #2
// Fonctions Satisfies offertes en standard ...
// svv#2

View File

@@ -85,7 +85,7 @@ public:
DEFINE_STANDARD_RTTI(Interface_TypedValue,MoniTool_TypedValue)
DEFINE_STANDARD_RTTIEXT(Interface_TypedValue,MoniTool_TypedValue)
protected:

View File

@@ -23,6 +23,8 @@
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Interface_UndefinedContent,MMgt_TShared)
#define Content_TypeField 31
#define Content_LocalField 7
#define Content_LocalRef 1

View File

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