19 #ifndef NAOQI_HELPERS_HPP
20 #define NAOQI_HELPERS_HPP
32 if (value.kind() == qi::TypeKind_Int) {
35 else if (value.kind() == qi::TypeKind_Float) {
38 else if (value.kind() == qi::TypeKind_String) {
42 throw std::runtime_error(
"Cannot get a valid type.");
static dataType::DataType getDataType(qi::AnyValue value)
Definition: naoqi_helpers.hpp:29
DataType
Definition: tools.hpp:52