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

@@ -18,7 +18,7 @@
#ifndef NCollection_DefineHArray2_HeaderFile
#define NCollection_DefineHArray2_HeaderFile
#include <Standard_DefineHandle.hxx>
#include <Standard_Type.hxx>
#include <NCollection_DefineArray2.hxx>
#include <MMgt_TShared.hxx>
@@ -44,12 +44,12 @@ class HClassName : public _Array2Type_, public MMgt_TShared { \
HClassName (const _Array2Type_& theOther) : _Array2Type_(theOther) {} \
const _Array2Type_& Array2 () const { return *this; } \
_Array2Type_& ChangeArray2 () { return *this; } \
DEFINE_STANDARD_RTTI (HClassName) \
DEFINE_STANDARD_RTTI (HClassName, MMgt_TShared) \
}; \
DEFINE_STANDARD_HANDLE (HClassName, MMgt_TShared)
#define IMPLEMENT_HARRAY2(HClassName) \
IMPLEMENT_STANDARD_HANDLE (HClassName, MMgt_TShared) \
IMPLEMENT_STANDARD_RTTIEXT (HClassName, MMgt_TShared)
#define IMPLEMENT_HARRAY2(HClassName)
#endif