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, double &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) |
LONG_MAX | cras::DEFINE_INTEGRAL_CONVERT (long long, int, LONG_LONG_MIN, LONG_LONG_MAX) DEFINE_INTEGRAL_CONVERT(unsigned short |
cras::DEFINE_INTEGRAL_CONVERT (short, int, SHRT_MIN, SHRT_MAX) DEFINE_INTEGRAL_CONVERT(long | |
LONG_MAX USHRT_MAX | cras::DEFINE_INTEGRAL_CONVERT (unsigned long, int, 0, ULONG_MAX) DEFINE_INTEGRAL_CONVERT(unsigned long long |
void | XmlRpc::PrintTo (const XmlRpcValue &value, ::std::ostream *os) |
Variables | |
cras::int | |
cras::LONG_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.