Utilities for working with XmlRpcValues. More...
#include <array>#include <limits>#include <list>#include <map>#include <set>#include <string>#include <unordered_map>#include <unordered_set>#include <vector>#include <dynamic_reconfigure/BoolParameter.h>#include <dynamic_reconfigure/Config.h>#include <dynamic_reconfigure/DoubleParameter.h>#include <dynamic_reconfigure/IntParameter.h>#include <dynamic_reconfigure/StrParameter.h>#include <XmlRpcValue.h>#include <XmlRpcException.h>#include <cras_cpp_common/xmlrpc_value_traits.hpp>

Go to the source code of this file.
Namespaces | |
| cras | |
| XmlRpc | |
Macros | |
| #define | DEFINE_ARRAY_CONVERT(arrayType, insertFn) |
| #define | DEFINE_DOUBLE_CONVERT(resultType, xmlType, minBound, maxBound) |
| #define | DEFINE_INTEGRAL_CONVERT(resultType, xmlType, minBound, maxBound) |
| #define | DEFINE_STRUCT_CONVERT(mapType) |
Functions | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::dynamic_reconfigure::Config &v, bool skipNonConvertible, ::std::list<::std::string > *errors) |
| template<typename T , size_t N> | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::array< T, N > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| template<typename T > | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::list< T > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| template<typename T > | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::map<::std::string, T > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| template<typename T > | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::set< T > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| template<typename T > | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::unordered_map<::std::string, T > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| template<typename T > | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::unordered_set< T > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| template<typename T > | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::std::vector< T > &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, ::XmlRpc::XmlRpcValue &v, bool=false, ::std::list<::std::string > *errors=nullptr) |
Convert XmlRpcValue x to value v. More... | |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, bool &v, bool=false, ::std::list<::std::string > *errors=nullptr) |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, int &v, bool=false, ::std::list<::std::string > *errors=nullptr) |
| bool | cras::convert (const ::XmlRpc::XmlRpcValue &x, std::string &v, bool=false, ::std::list<::std::string > *errors=nullptr) |
| cras::DEFINE_INTEGRAL_CONVERT (char, int, std::numeric_limits< char >::min(), std::numeric_limits< char >::max()) DEFINE_INTEGRAL_CONVERT(short | |
| SHRT_MAX | cras::DEFINE_INTEGRAL_CONVERT (long, int, LONG_MIN, LONG_MAX) DEFINE_INTEGRAL_CONVERT(long long |
| SHRT_MAX LONG_LONG_MAX | cras::DEFINE_INTEGRAL_CONVERT (unsigned short, int, 0, USHRT_MAX) DEFINE_INTEGRAL_CONVERT(unsigned long |
| void | XmlRpc::PrintTo (const XmlRpcValue &value, ::std::ostream *os) |
Variables | |
| cras::int | |
| SHRT_MAX | cras::LONG_LONG_MIN |
| cras::SHRT_MIN | |
Utilities for working with XmlRpcValues.
Definition in file xmlrpc_value_utils.hpp.
| #define DEFINE_ARRAY_CONVERT | ( | arrayType, | |
| insertFn | |||
| ) |
Definition at line 232 of file xmlrpc_value_utils.hpp.
| #define DEFINE_DOUBLE_CONVERT | ( | resultType, | |
| xmlType, | |||
| minBound, | |||
| maxBound | |||
| ) |
Definition at line 156 of file xmlrpc_value_utils.hpp.
| #define DEFINE_INTEGRAL_CONVERT | ( | resultType, | |
| xmlType, | |||
| minBound, | |||
| maxBound | |||
| ) |
Definition at line 104 of file xmlrpc_value_utils.hpp.
| #define DEFINE_STRUCT_CONVERT | ( | mapType | ) |
Definition at line 286 of file xmlrpc_value_utils.hpp.