diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-10-24 13:25:04 +0000 |
---|---|---|
committer | andreas <andreas@daaaf23c-2e50-4459-9457-1e69db5a47bf> | 2014-10-24 13:25:04 +0000 |
commit | 4a9912f516bf096c6f8c6259b3fc6ba4b95b8d69 (patch) | |
tree | e4b578c76e27ade40de5d2cae2efbd2b17d18e59 /src/core/script/Variant.hpp | |
parent | c654793a3a513a9c8ffcd1aa9c3962b6a72e61bd (diff) |
finished implementation of HostFunction
git-svn-id: file:///var/local/svn/basicwriter@74 daaaf23c-2e50-4459-9457-1e69db5a47bf
Diffstat (limited to 'src/core/script/Variant.hpp')
-rw-r--r-- | src/core/script/Variant.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); }; |