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:
@@ -48,6 +48,8 @@
|
||||
#include FT_OUTLINE_H
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_BRepFont,Font_FTFont)
|
||||
|
||||
namespace
|
||||
{
|
||||
// pre-defined font rendering options
|
||||
|
@@ -211,7 +211,7 @@ protected: //! @name Shared temporary variables for glyph construction
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_BRepFont, Font_FTFont)
|
||||
DEFINE_STANDARD_RTTIEXT(Font_BRepFont,Font_FTFont)
|
||||
|
||||
};
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_FTFont,Standard_Transient)
|
||||
|
||||
// =======================================================================
|
||||
// function : Font_FTFont
|
||||
// purpose :
|
||||
|
@@ -181,7 +181,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_FTFont, Standard_Transient) // Type definition
|
||||
DEFINE_STANDARD_RTTIEXT(Font_FTFont,Standard_Transient) // Type definition
|
||||
|
||||
};
|
||||
|
||||
|
@@ -16,6 +16,8 @@
|
||||
#include <Font_FTLibrary.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_FTLibrary,Standard_Transient)
|
||||
|
||||
// =======================================================================
|
||||
// function : Font_FTLibrary
|
||||
// purpose :
|
||||
|
@@ -59,7 +59,7 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_FTLibrary, Standard_Transient) // Type definition
|
||||
DEFINE_STANDARD_RTTIEXT(Font_FTLibrary,Standard_Transient) // Type definition
|
||||
|
||||
};
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_FontMgr,MMgt_TShared)
|
||||
|
||||
struct Font_FontMgr_FontAliasMapNode
|
||||
{
|
||||
const char * EnumName;
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_FontMgr,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Font_FontMgr,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Font_SystemFont,MMgt_TShared)
|
||||
|
||||
Font_SystemFont::Font_SystemFont():
|
||||
MyFontName(),
|
||||
MyFontAspect(Font_FA_Undefined),
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(Font_SystemFont,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Font_SystemFont,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user