48 TParamEntry(
const char* frmt_,
void* val_) : frmt(frmt_), val(val_) {}
54 const std::string& str,
const std::string& varName,
55 const char* function_name_context =
"")
const;
60 const std::map<std::string, TParamEntry>& params,
61 const char* function_name_context =
"");
69 const std::map<std::string, TParamEntry>& params,
70 const char* function_name_context =
"");
76 const std::map<std::string, TParamEntry>& params,
77 const char* function_name_context =
"");
79 template <
class NODE_LIST>
81 NODE_LIST& lst_nodes,
const std::map<std::string, TParamEntry>& params,
82 const char* function_name_context =
"")
84 for (
typename NODE_LIST::iterator it = lst_nodes.begin();
85 it != lst_nodes.end(); ++it)
97 const std::string&
s,
bool allow_missing_angle =
false,
98 double default_angle_radians = 0.0);
106 const char* function_name_context =
"");
This file contains rapidxml parser and DOM implementation.
void parse_xmlnode_shape(const rapidxml::xml_node< char > &xml_node, mrpt::math::TPolygon2D &out_poly, const char *function_name_context="")
bool parse_xmlnode_as_param(const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > ¶ms, const char *function_name_context="")
void parse_xmlnodelist_children_as_param(NODE_LIST &lst_nodes, const std::map< std::string, TParamEntry > ¶ms, const char *function_name_context="")
void parse_xmlnode_attribs(const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > ¶ms, const char *function_name_context="")
void parse_xmlnode_children_as_param(const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > ¶ms, const char *function_name_context="")
TParamEntry(const char *frmt_, void *val_)
vec3 parseXYPHI(const std::string &s, bool allow_missing_angle=false, double default_angle_radians=0.0)