17 #include <unordered_map> 18 #include <unordered_set> 33 constexpr
const char*
to_cstring(const ::XmlRpc::XmlRpcValue::Type &value)
37 case ::XmlRpc::XmlRpcValue::TypeBoolean:
39 case ::XmlRpc::XmlRpcValue::TypeInt:
41 case ::XmlRpc::XmlRpcValue::TypeDouble:
43 case ::XmlRpc::XmlRpcValue::TypeString:
45 case ::XmlRpc::XmlRpcValue::TypeDateTime:
47 case ::XmlRpc::XmlRpcValue::TypeBase64:
49 case ::XmlRpc::XmlRpcValue::TypeArray:
51 case ::XmlRpc::XmlRpcValue::TypeStruct:
60 inline ::std::string
to_string(const ::XmlRpc::XmlRpcValue::Type &value)
69 template<
typename T,
class =
void>
225 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
233 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
241 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
249 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
257 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
265 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
273 typename ::std::enable_if<::cras::XmlRpcValueTraits<T>::xmlRpcType != ::XmlRpc::XmlRpcValue::TypeInvalid>::type>
inline ::std::string to_string(const ::Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > &value)
static constexprconst ::XmlRpc::XmlRpcValue::Type xmlRpcType
Corresponding XmlRpcValue type that can represent values of T. TypeInvalid for non-representable type...
Type traits for XmlRpcValue.
static constexpr const char * stringType
String representation of xmlRpcType.
std::vector< char > BinaryData
Utils for working with strings.
static constexpr const bool isCanonical
Whether T is a "canonical" type for XmlRpcValue, i.e. whether there is a conversion function defined ...
constexpr const char * to_cstring(const ::XmlRpc::XmlRpcValue::Type &value)
Return a string representation of the XmlRpcValue type.