Default function for converting XmlRpcValue to an intermediate value of type ParamServerType. More...
#include <get_param_options.hpp>
Static Public Member Functions | |
static bool | toParam (const ::XmlRpc::XmlRpcValue &x, ParamServerType &v, bool skipNonConvertible=false, ::std::list<::std::string > *errors=nullptr) |
Function converting XmlRpcValue to an intermediate value of type ParamServerType. More... | |
Default function for converting XmlRpcValue to an intermediate value of type ParamServerType.
ParamServerType | Type of the intermediate value to which the XmlRpcValue param is converted. |
Definition at line 52 of file get_param_options.hpp.
|
inlinestatic |
Function converting XmlRpcValue to an intermediate value of type ParamServerType.
[in] | x | The XmlRpcValue read from parameter server. |
[out] | v | The converted value. It is not valid if this function returns false. |
[in] | skipNonConvertible | If true and the target value is a container, all non-convertible items will be skipped. If false, non-convertible values mean failure of the whole conversion. If all items of a container are skipped (and there were some), the conversion also fails. |
[out] | errors | If non-null, any error messages coming from the conversion can be appended to this list. |
Definition at line 66 of file get_param_options.hpp.