Open CASCADE Technology 7.9.0
|
#include <Standard.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Transient.hxx>
#include <Standard_OStream.hxx>
#include <typeinfo>
#include <typeindex>
#include <type_traits>
Data Structures | |
class | Standard_Type |
This class provides legacy interface (type descriptor) to run-time type information (RTTI) for OCCT classes inheriting from Standard_Transient. More... | |
Macros | |
#define | OCCT_CHECK_BASE_CLASS(Class, Base) |
#define | STANDARD_TYPE(theType) |
Helper macro to get instance of a type descriptor for a class in a legacy way. | |
#define | DEFINE_STANDARD_RTTI_INLINE(Class, Base) |
Helper macro to be included in definition of the classes inheriting Standard_Transient to enable use of OCCT RTTI. | |
#define | DEFINE_STANDARD_RTTIEXT(Class, Base) |
Helper macro to be included in definition of the classes inheriting Standard_Transient to enable use of OCCT RTTI. | |
#define | IMPLEMENT_STANDARD_RTTIEXT(Class, Base) |
Defines implementation of type descriptor and DynamicType() function. | |
Functions | |
Standard_OStream & | operator<< (Standard_OStream &theStream, const Handle< Standard_Type > &theType) |
Operator printing type descriptor to stream. | |
#define DEFINE_STANDARD_RTTI_INLINE | ( | Class, | |
Base ) |
Helper macro to be included in definition of the classes inheriting Standard_Transient to enable use of OCCT RTTI.
Inline version, does not require IMPLEMENT_STANDARD_RTTIEXT, but when used for big hierarchies of classes may cause considerable increase of size of binaries.
#define DEFINE_STANDARD_RTTIEXT | ( | Class, | |
Base ) |
Helper macro to be included in definition of the classes inheriting Standard_Transient to enable use of OCCT RTTI.
Out-of-line version, requires IMPLEMENT_STANDARD_RTTIEXT.
#define IMPLEMENT_STANDARD_RTTIEXT | ( | Class, | |
Base ) |
Defines implementation of type descriptor and DynamicType() function.
#define OCCT_CHECK_BASE_CLASS | ( | Class, | |
Base ) |
#define STANDARD_TYPE | ( | theType | ) |
Helper macro to get instance of a type descriptor for a class in a legacy way.
|
inline |
Operator printing type descriptor to stream.