summaryrefslogtreecommitdiff
path: root/src/core/common/Variant.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-11 13:52:03 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-11 13:52:03 +0100
commite6a7bbd753cba97f7bda154341d93d3f1241d2c4 (patch)
tree88a44443b78e8d962e617365ed6443f8c6b0b979 /src/core/common/Variant.hpp
parent287bc06f77ff5e60884c1709844c5830ff7a70ce (diff)
Added getRttiType function to the Variant class
Diffstat (limited to 'src/core/common/Variant.hpp')
-rw-r--r--src/core/common/Variant.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/common/Variant.hpp b/src/core/common/Variant.hpp
index 98ee49b..da88449 100644
--- a/src/core/common/Variant.hpp
+++ b/src/core/common/Variant.hpp
@@ -859,8 +859,11 @@ 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::
+ * RttiTypes::Bool, RttiTypes::Double, RttiTypes::String, RttiTypes::Array
+ * or RttiTypes::Function or -- in case an object is stored inside the
+ * variant -- the RttiType of that object.
*/
+ const RttiType& getRttiType() const;
/**
* Returns the name of the given variant type as C-style string.