diff options
Diffstat (limited to 'src/core/common/Variant.hpp')
-rw-r--r-- | src/core/common/Variant.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/common/Variant.hpp b/src/core/common/Variant.hpp index 9f6ec7a..98ee49b 100644 --- a/src/core/common/Variant.hpp +++ b/src/core/common/Variant.hpp @@ -48,7 +48,7 @@ namespace ousia { // Forward declarations class Function; -class RttiBase; +class RttiType; /** * Enum containing the possible types a variant may have. @@ -856,6 +856,13 @@ public: } /** + * Returns the current Rtti type descriptor of the Variant. + * + * @return the Rtti type descriptor. Either one of RttiTypes::Int, + * RttiTypes::Bool, RttiTypes::Double, RttiTypes:: + */ + + /** * Returns the name of the given variant type as C-style string. */ static const char *getTypeName(VariantType type); |