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

@@ -21,6 +21,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_Area.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Area,TDF_Attribute)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -70,7 +70,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Area,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Area,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_Centroid.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Centroid,TDF_Attribute)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -73,7 +73,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Centroid,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Centroid,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_Color.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Color,TDF_Attribute)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -76,7 +76,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Color,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Color,TDF_Attribute)
protected:

View File

@@ -31,6 +31,8 @@
#include <XCAFDoc_GraphNode.hxx>
#include <XCAFDoc_ShapeTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_ColorTool,TDF_Attribute)
#define AUTONAMING // automatically set names for labels
//=======================================================================

View File

@@ -187,7 +187,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_ColorTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_ColorTool,TDF_Attribute)
protected:

View File

@@ -31,6 +31,8 @@
#include <XCAFDimTolObjects_DatumObject.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Datum,TDF_Attribute)
enum ChildLab
{
ChildLab_Name = 1,

View File

@@ -69,7 +69,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Datum,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Datum,TDF_Attribute)
protected:

View File

@@ -20,6 +20,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_DimTol.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_DimTol,TDF_Attribute)
//=======================================================================
//function : XCAFDoc_DimTol
//purpose :

View File

@@ -66,7 +66,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_DimTol,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_DimTol,TDF_Attribute)
protected:

View File

@@ -34,6 +34,8 @@
#include <XCAFDoc_GraphNode.hxx>
#include <XCAFDoc_ShapeTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_DimTolTool,TDF_Attribute)
//=======================================================================
//function : XCAFDoc_DimTolTool
//purpose :

View File

@@ -197,7 +197,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_DimTolTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_DimTolTool,TDF_Attribute)
protected:

View File

@@ -29,6 +29,8 @@
#include <TopoDS.hxx>
#include <XCAFDimTolObjects_DimensionObject.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Dimension,TDF_Attribute)
enum ChildLab
{
ChildLab_Type = 1,

View File

@@ -54,7 +54,7 @@ public:
Standard_EXPORT Handle(XCAFDimTolObjects_DimensionObject) GetObject() const;
DEFINE_STANDARD_RTTI(XCAFDoc_Dimension,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Dimension,TDF_Attribute)
};

View File

@@ -31,6 +31,8 @@
#include <XCAFDoc_MaterialTool.hxx>
#include <XCAFDoc_ShapeTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_DocumentTool,TDF_Attribute)
//=======================================================================
//function : GetID
//purpose :

View File

@@ -115,7 +115,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_DocumentTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_DocumentTool,TDF_Attribute)
protected:

View File

@@ -23,6 +23,8 @@
#include <TDataStd_Real.hxx>
#include <XCAFDimTolObjects_GeomToleranceObject.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_GeomTolerance,TDF_Attribute)
enum ChildLab
{
ChildLab_Type = 1,

View File

@@ -57,7 +57,7 @@ public:
Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE;
DEFINE_STANDARD_RTTI(XCAFDoc_GeomTolerance,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_GeomTolerance,TDF_Attribute)
};

View File

@@ -22,6 +22,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_GraphNode.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_GraphNode,TDF_Attribute)
// class methods working on the node:
// ===================================
//=======================================================================

View File

@@ -144,7 +144,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_GraphNode,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_GraphNode,TDF_Attribute)
protected:

View File

@@ -31,6 +31,8 @@
#include <XCAFDoc_LayerTool.hxx>
#include <XCAFDoc_ShapeTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_LayerTool,TDF_Attribute)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -194,7 +194,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_LayerTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_LayerTool,TDF_Attribute)
protected:

View File

@@ -22,6 +22,8 @@
#include <TopLoc_Location.hxx>
#include <XCAFDoc_Location.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Location,TDF_Attribute)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -66,7 +66,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Location,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Location,TDF_Attribute)
protected:

View File

@@ -20,6 +20,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_Material.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Material,TDF_Attribute)
//=======================================================================
//function : XCAFDoc_Material
//purpose :

View File

@@ -67,7 +67,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Material,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Material,TDF_Attribute)
protected:

View File

@@ -27,6 +27,8 @@
#include <XCAFDoc_MaterialTool.hxx>
#include <XCAFDoc_ShapeTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_MaterialTool,TDF_Attribute)
//=======================================================================
//function : XCAFDoc_MaterialTool
//purpose :

View File

@@ -95,7 +95,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_MaterialTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_MaterialTool,TDF_Attribute)
protected:

View File

@@ -21,6 +21,8 @@
#include <TopoDS_Shape.hxx>
#include <XCAFDoc_ShapeMapTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_ShapeMapTool,TDF_Attribute)
#define AUTONAMING // automatically set names for labels
// attribute methods //////////////////////////////////////////////////

View File

@@ -67,7 +67,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_ShapeMapTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_ShapeMapTool,TDF_Attribute)
protected:

View File

@@ -51,6 +51,8 @@
#include <XCAFDoc_ShapeMapTool.hxx>
#include <XCAFDoc_ShapeTool.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_ShapeTool,TDF_Attribute)
static Standard_Boolean theAutoNaming = Standard_True;
// attribute methods //////////////////////////////////////////////////

View File

@@ -418,7 +418,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_ShapeTool,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_ShapeTool,TDF_Attribute)
protected:

View File

@@ -21,6 +21,8 @@
#include <TDF_RelocationTable.hxx>
#include <XCAFDoc_Volume.hxx>
IMPLEMENT_STANDARD_RTTIEXT(XCAFDoc_Volume,TDF_Attribute)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -70,7 +70,7 @@ public:
DEFINE_STANDARD_RTTI(XCAFDoc_Volume,TDF_Attribute)
DEFINE_STANDARD_RTTIEXT(XCAFDoc_Volume,TDF_Attribute)
protected: