From 4a9912f516bf096c6f8c6259b3fc6ba4b95b8d69 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 24 Oct 2014 13:25:04 +0000 Subject: finished implementation of HostFunction git-svn-id: file:///var/local/svn/basicwriter@74 daaaf23c-2e50-4459-9457-1e69db5a47bf --- src/core/script/Variant.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/script/Variant.hpp') diff --git a/src/core/script/Variant.hpp b/src/core/script/Variant.hpp index ee4a97a..923c8ca 100644 --- a/src/core/script/Variant.hpp +++ b/src/core/script/Variant.hpp @@ -49,7 +49,7 @@ enum class VariantType : int16_t { * Exception thrown whenever a variant is accessed via a getter function that * is not supported for the current variant type. */ -class VariantTypeException : std::exception { +class VariantTypeException : public std::exception { private: /** @@ -299,6 +299,8 @@ public: } } + static const char* getTypeName(VariantType type); + friend std::ostream& operator<< (std::ostream& os, const Variant &v); }; -- cgit v1.2.3