Go to the documentation of this file.
39 #include <boost/algorithm/string/join.hpp>
48 return static_cast<double>(v);
50 return static_cast<int>(v);
61 << (description.empty() ?
"elements" : description.c_str()));
72 ROS_WARN_STREAM(name <<
" is not a struct with keys " << boost::join(keys,
","));
76 std::vector<std::string> missing;
77 for (
const std::string& key : keys)
79 missing.push_back(key);
81 if (!
name.empty() && !missing.empty())
83 ROS_WARN_STREAM(name <<
" is not a struct with keys " << boost::join(keys,
",") <<
" (misses "
84 << boost::join(missing,
",") <<
")");
88 return missing.empty();
bool isStruct(const XmlRpc::XmlRpcValue &v, const std::vector< std::string > &keys={}, const std::string &name="")
#define ROS_WARN_STREAM(args)
double parseDouble(const XmlRpc::XmlRpcValue &v)
parse a double value from a scalar XmlRpc
const Type & getType() const
bool hasMember(const std::string &name) const
Main namespace for MoveIt.
bool isArray(const XmlRpc::XmlRpcValue &v, size_t size=0, const std::string &name="", const std::string &description="")
moveit_core
Author(s): Ioan Sucan
, Sachin Chitta , Acorn Pooley
autogenerated on Sat Dec 21 2024 03:23:42