From 287bc06f77ff5e60884c1709844c5830ff7a70ce Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 11 Jan 2015 13:51:41 +0100 Subject: Added primitive Rtti Types --- src/core/common/Rtti.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/core/common/Rtti.cpp') diff --git a/src/core/common/Rtti.cpp b/src/core/common/Rtti.cpp index 7ee3c45..a8343ef 100644 --- a/src/core/common/Rtti.cpp +++ b/src/core/common/Rtti.cpp @@ -99,6 +99,16 @@ bool RttiType::composedOf(const RttiType &other) const /* Constant initialization */ -const RttiType RttiTypes::None; +namespace RttiTypes { +const RttiType None{"unknown"}; +const RttiType Nullptr{"nullptr"}; +const RttiType Bool{"bool"}; +const RttiType Int{"int"}; +const RttiType Double{"double"}; +const RttiType String{"string"}; +const RttiType Array{"array"}; +const RttiType Map{"map"}; +const RttiType Function{"function"}; +} } -- cgit v1.2.3