#include <stdr_xml_parser.h>
Static Public Member Functions | |
static void | parse (std::string file_name, Node *n) |
Private function that initiates the parsing of an xml file. | |
Private Member Functions | |
XmlParser (void) | |
Default constructor. | |
Static Private Member Functions | |
static void | parseLow (TiXmlNode *node, Node *n) |
Low-level recursive function for parsing the xml robot file. |
Definition at line 37 of file stdr_xml_parser.h.
stdr_parser::XmlParser::XmlParser | ( | void | ) | [private] |
void stdr_parser::XmlParser::parse | ( | std::string | file_name, |
Node * | base_node | ||
) | [static] |
Private function that initiates the parsing of an xml file.
Parses an xml file.
file_name | [std::string] The xml file name |
n | [Node*] The stdr xml tree node to update |
file_name | [std::string] The xml filename |
Definition at line 41 of file stdr_xml_parser.cpp.
void stdr_parser::XmlParser::parseLow | ( | TiXmlNode * | node, |
Node * | n | ||
) | [static, private] |
Low-level recursive function for parsing the xml robot file.
node | [TiXmlNode*] The xml node to start from |
n | [Node*] The stdr xml tree node to update |
< Type = document
< Type = element
< Type = text
Definition at line 69 of file stdr_xml_parser.cpp.