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:
@@ -44,8 +44,6 @@
|
||||
|
||||
#include FT_OUTLINE_H
|
||||
|
||||
IMPLEMENT_STANDARD_HANDLE (Font_BRepFont, Font_FTFont)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_BRepFont, Font_FTFont)
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@@ -219,7 +219,7 @@ protected: //! @name Shared temporary variables for glyph construction
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_BRepFont)
|
||||
DEFINE_STANDARD_RTTI(Font_BRepFont, Font_FTFont)
|
||||
|
||||
};
|
||||
|
||||
|
@@ -18,8 +18,6 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_HANDLE (Font_FTFont, Standard_Transient)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_FTFont, Standard_Transient)
|
||||
|
||||
// =======================================================================
|
||||
// function : Font_FTFont
|
||||
|
@@ -213,7 +213,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_FTFont) // Type definition
|
||||
DEFINE_STANDARD_RTTI(Font_FTFont, Standard_Transient) // Type definition
|
||||
|
||||
};
|
||||
|
||||
|
@@ -15,8 +15,6 @@
|
||||
|
||||
#include <Font_FTLibrary.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_HANDLE (Font_FTLibrary, Standard_Transient)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_FTLibrary, Standard_Transient)
|
||||
|
||||
// =======================================================================
|
||||
// function : Font_FTLibrary
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#ifndef _Font_FTLibrary_H__
|
||||
#define _Font_FTLibrary_H__
|
||||
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
// inclusion template for FreeType
|
||||
@@ -59,7 +59,7 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_FTLibrary) // Type definition
|
||||
DEFINE_STANDARD_RTTI(Font_FTLibrary, Standard_Transient) // Type definition
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user