1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024947: Redesign OCCT legacy type system -- automatic

Automatic upgrade with command "occt_upgdare . -rtti"
This commit is contained in:
abv
2015-07-11 11:06:11 +03:00
parent 69ff08ff28
commit ec357c5cbb
816 changed files with 1280 additions and 690 deletions

View File

@@ -102,8 +102,6 @@ namespace
};
#endif
IMPLEMENT_STANDARD_HANDLE (Image_AlienPixMap, Image_PixMap)
IMPLEMENT_STANDARD_RTTIEXT(Image_AlienPixMap, Image_PixMap)
// =======================================================================
// function : Image_AlienPixMap

View File

@@ -90,7 +90,7 @@ private:
public:
DEFINE_STANDARD_RTTI(Image_AlienPixMap) // Type definition
DEFINE_STANDARD_RTTI(Image_AlienPixMap, Image_PixMap) // Type definition
};

View File

@@ -20,8 +20,6 @@
#include <cstdlib>
IMPLEMENT_STANDARD_HANDLE (Image_Diff, Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(Image_Diff, Standard_Transient)
//! POD structure for packed RGB color value (3 bytes)
struct Image_ColorXXX24

View File

@@ -129,7 +129,7 @@ protected:
public:
DEFINE_STANDARD_RTTI(Image_Diff) // Type definition
DEFINE_STANDARD_RTTI(Image_Diff, Standard_Transient) // Type definition
};

View File

@@ -19,11 +19,8 @@
#include <algorithm>
IMPLEMENT_STANDARD_HANDLE (Image_PixMap, Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(Image_PixMap, Standard_Transient)
IMPLEMENT_STANDARD_HANDLE (Image_PixMapData, NCollection_Buffer)
IMPLEMENT_STANDARD_RTTIEXT(Image_PixMapData, NCollection_Buffer)
// =======================================================================
// function : Image_PixMap

View File

@@ -279,7 +279,7 @@ private:
public:
DEFINE_STANDARD_RTTI(Image_PixMap) // Type definition
DEFINE_STANDARD_RTTI(Image_PixMap, Standard_Transient) // Type definition
};

View File

@@ -127,7 +127,7 @@ public:
public:
DEFINE_STANDARD_RTTI(Image_PixMapData) // Type definition
DEFINE_STANDARD_RTTI(Image_PixMapData, NCollection_Buffer) // Type definition
};

View File

@@ -14,7 +14,7 @@
#ifndef _Image_PixMap_Handle_H__
#define _Image_PixMap_Handle_H__
#include <Standard_DefineHandle.hxx>
#include <Standard_Type.hxx>
#include <Standard_Transient.hxx>
class Image_PixMap;