#include <stdr_yaml_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 | |
YamlParser (void) | |
Default constructor. | |
Static Private Member Functions | |
static void | parseLow (const YAML::Node &node, Node *n) |
Low-level recursive function for parsing the yaml file. |
Definition at line 38 of file stdr_yaml_parser.h.
stdr_parser::YamlParser::YamlParser | ( | void | ) | [private] |
void stdr_parser::YamlParser::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 40 of file stdr_yaml_parser.cpp.
void stdr_parser::YamlParser::parseLow | ( | const YAML::Node & | node, |
Node * | n | ||
) | [static, private] |
Low-level recursive function for parsing the yaml file.
node | [YAML::Node&] The yaml node to start from |
n | [Node*] The stdr tree node to update |
Definition at line 71 of file stdr_yaml_parser.cpp.