diff options
Diffstat (limited to 'src/core/common/Rtti.hpp')
-rw-r--r-- | src/core/common/Rtti.hpp | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/src/core/common/Rtti.hpp b/src/core/common/Rtti.hpp index 9d0cdab..f2d4c27 100644 --- a/src/core/common/Rtti.hpp +++ b/src/core/common/Rtti.hpp @@ -425,11 +425,40 @@ inline const RttiBase &typeOf(const T &obj) } namespace RttiTypes { - /** * Type of no particular type. */ extern const RttiBase None; + +/** + * Bool type for use by the Variant::rttiType method. + */ +extern const RttiBase Bool; + +/** + * Integer type for use by the Variant::rttiType method. + */ +extern const RttiBase Int; + +/** + * Double type for use by the Variant::rttiType method. + */ +extern const RttiBase Double; + +/** + * String type for use by the Variant::rttiType method. + */ +extern const RttiBase String; + +/** + * Array type for use by the Variant::rttiType method. + */ +extern const RttiBase Array; + +/** + * Function type for use by the Variant::rttiType method. + */ +extern const RttiBase Function; } } |