Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
stdr_parser::XmlParser Class Reference

#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. More...
 

Private Member Functions

 XmlParser (void)
 Default constructor. More...
 

Static Private Member Functions

static void parseLow (TiXmlNode *node, Node *n)
 Low-level recursive function for parsing the xml robot file. More...
 

Detailed Description

Definition at line 37 of file stdr_xml_parser.h.

Constructor & Destructor Documentation

stdr_parser::XmlParser::XmlParser ( void  )
private

Default constructor.

Returns
void

Definition at line 31 of file stdr_xml_parser.cpp.

Member Function Documentation

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.

Parameters
file_name[std::string] The xml file name
n[Node*] The stdr xml tree node to update
Returns
void
Parameters
file_name[std::string] The xml filename
Returns
void

Definition at line 41 of file stdr_xml_parser.cpp.

void stdr_parser::XmlParser::parseLow ( TiXmlNode *  node,
Node n 
)
staticprivate

Low-level recursive function for parsing the xml robot file.

Parameters
node[TiXmlNode*] The xml node to start from
n[Node*] The stdr xml tree node to update
Returns
void

< Type = document

< Type = element

< Type = text

Definition at line 69 of file stdr_xml_parser.cpp.


The documentation for this class was generated from the following files:


stdr_parser
Author(s): Manos Tsardoulias, Chris Zalidis, Aris Thallas
autogenerated on Mon Jun 10 2019 15:14:54