diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-11 13:51:41 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-11 13:51:41 +0100 |
commit | 287bc06f77ff5e60884c1709844c5830ff7a70ce (patch) | |
tree | a232b7c099aac11d4590c16326aaee6107f0db20 /src/core/common/Rtti.cpp | |
parent | 7df5f30494b7da283164717dea9098c8d9dca77a (diff) |
Added primitive Rtti Types
Diffstat (limited to 'src/core/common/Rtti.cpp')
-rw-r--r-- | src/core/common/Rtti.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
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"}; +} } |