1#ifndef NW_UT_RUNTIMETYPEINFO_H_
2#define NW_UT_RUNTIMETYPEINFO_H_
6namespace nw {
namespace ut {
8#define NW_UT_RUNTIME_TYPEINFO_ROOT()
9 static const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfoStatic();
10 virtual const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfo() const
12 return GetRuntimeTypeInfoStatic();
15#define NW_UT_RUNTIME_TYPEINFO(base)
16 static const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfoStatic();
17 virtual const nw::ut::internal::RuntimeTypeInfo* GetRuntimeTypeInfo() const override
19 return GetRuntimeTypeInfoStatic();
22#define NW_UT_RUNTIME_TYPEINFO_ROOT_IMPL(clazz)
23 const nw::ut::internal::RuntimeTypeInfo* clazz::GetRuntimeTypeInfoStatic() {
24 static const nw::ut::internal::RuntimeTypeInfo s_TypeInfo(NULL);
28#define NW_UT_RUNTIME_TYPEINFO_IMPL(base, clazz)
29 const nw::ut::internal::RuntimeTypeInfo* clazz::GetRuntimeTypeInfoStatic() {
30 static const nw::ut::internal::RuntimeTypeInfo s_TypeInfo(base::GetRuntimeTypeInfoStatic());
50 if (self == s_TypeInfo)
Definition ut_LinkList.h:12
Definition ut_CriticalSection.h:6
Definition math_Constant.cpp:5
Definition ut_RuntimeTypeInfo.h:37
RuntimeTypeInfo(const RuntimeTypeInfo *parent)
Definition ut_RuntimeTypeInfo.h:40
bool IsDerivedFrom(const RuntimeTypeInfo *s_TypeInfo) const
Definition ut_RuntimeTypeInfo.h:45
const RuntimeTypeInfo * m_ParentTypeInfo
Definition ut_RuntimeTypeInfo.h:38