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

@@ -33,6 +33,8 @@
#include <TopoDS_HShape.hxx>
#include <TopoDS_Shape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_CaseData,MMgt_TShared)
//#include <GeomTools.hxx>
// definitions
static Handle(Dico_DictionaryOfInteger)& defchecks()

View File

@@ -286,7 +286,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_CaseData,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MoniTool_CaseData,MMgt_TShared)
protected:

View File

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

View File

@@ -70,7 +70,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_Element,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MoniTool_Element,MMgt_TShared)
protected:

View File

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

View File

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

View File

@@ -21,6 +21,8 @@
#include <TCollection_AsciiString.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_Option,MMgt_TShared)
MoniTool_Option::MoniTool_Option
(const Handle(Standard_Type)& atype, const Standard_CString aname)
: thename (aname) , thetype (atype)

View File

@@ -145,7 +145,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_Option,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MoniTool_Option,MMgt_TShared)
protected:

View File

@@ -22,6 +22,8 @@
#include <TCollection_AsciiString.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_Profile,MMgt_TShared)
static Standard_Boolean IsCurrent (const Standard_CString name)
{ return (name[0] == '.' && name[1] == '\0'); }

View File

@@ -206,7 +206,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_Profile,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MoniTool_Profile,MMgt_TShared)
protected:

View File

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

View File

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

View File

@@ -19,6 +19,8 @@
#include <TopoDS_HShape.hxx>
#include <TopoDS_Shape.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_SignShape,MoniTool_SignText)
MoniTool_SignShape::MoniTool_SignShape () { }
Standard_CString MoniTool_SignShape::Name () const

View File

@@ -49,7 +49,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_SignShape,MoniTool_SignText)
DEFINE_STANDARD_RTTIEXT(MoniTool_SignShape,MoniTool_SignText)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_SignText,MMgt_TShared)
TCollection_AsciiString MoniTool_SignText::TextAlone
(const Handle(Standard_Transient)& ent) const
{

View File

@@ -59,7 +59,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_SignText,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MoniTool_SignText,MMgt_TShared)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_Timer,MMgt_TShared)
//=======================================================================
//function : Dump
//purpose :

View File

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

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TColStd_MapTransientHasher.hxx>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_TransientElem,MoniTool_Element)
MoniTool_TransientElem::MoniTool_TransientElem (const Handle(Standard_Transient)& akey)
: theval (akey)
{ SetHashCode ( TColStd_MapTransientHasher::HashCode (akey, IntegerLast() ) ); }

View File

@@ -69,7 +69,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_TransientElem,MoniTool_Element)
DEFINE_STANDARD_RTTIEXT(MoniTool_TransientElem,MoniTool_Element)
protected:

View File

@@ -27,6 +27,8 @@
#include <TCollection_HAsciiString.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(MoniTool_TypedValue,MMgt_TShared)
// Not Used :
//static char defmess[30];
static Handle(Dico_DictionaryOfTransient) libtv()

View File

@@ -320,7 +320,7 @@ public:
DEFINE_STANDARD_RTTI(MoniTool_TypedValue,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(MoniTool_TypedValue,MMgt_TShared)
protected: