NW4F Sys
Loading...
Searching...
No Matches
ut_RuntimeTypeInfo.h File Reference

Go to the source code of this file.

Classes

struct  nw::ut::internal::RuntimeTypeInfo

Namespaces

namespace  nw
namespace  nw::ut
namespace  nw::ut::internal

Macros

#define NW_UT_RUNTIME_TYPEINFO_ROOT()
#define NW_UT_RUNTIME_TYPEINFO(base)
#define NW_UT_RUNTIME_TYPEINFO_ROOT_IMPL(clazz)
#define NW_UT_RUNTIME_TYPEINFO_IMPL(base, clazz)

Macro Definition Documentation

◆ NW_UT_RUNTIME_TYPEINFO_ROOT

#define NW_UT_RUNTIME_TYPEINFO_ROOT ( )
Value:
static const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfoStatic(); \
virtual const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfo() const \
{ \
return GetRuntimeTypeInfoStatic(); \
}
Definition ut_RuntimeTypeInfo.h:37

◆ NW_UT_RUNTIME_TYPEINFO

#define NW_UT_RUNTIME_TYPEINFO ( base)
Value:
static const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfoStatic(); \
virtual const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfo() const override \
{ \
return GetRuntimeTypeInfoStatic(); \
}

◆ NW_UT_RUNTIME_TYPEINFO_ROOT_IMPL

#define NW_UT_RUNTIME_TYPEINFO_ROOT_IMPL ( clazz)
Value:
const nw::ut::internal::RuntimeTypeInfo* clazz::GetRuntimeTypeInfoStatic() { \
static const nw::ut::internal::RuntimeTypeInfo s_TypeInfo(NULL); \
return &s_TypeInfo; \
}

◆ NW_UT_RUNTIME_TYPEINFO_IMPL

#define NW_UT_RUNTIME_TYPEINFO_IMPL ( base,
clazz )
Value:
const nw::ut::internal::RuntimeTypeInfo* clazz::GetRuntimeTypeInfoStatic() { \
static const nw::ut::internal::RuntimeTypeInfo s_TypeInfo(base::GetRuntimeTypeInfoStatic()); \
return &s_TypeInfo; \
}