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

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

Private Member Functions

 YamlParser (void)
 Default constructor. More...
 

Static Private Member Functions

static void parseLow (const YAML::Node &node, Node *n)
 Low-level recursive function for parsing the yaml file. More...
 

Detailed Description

Definition at line 38 of file stdr_yaml_parser.h.

Constructor & Destructor Documentation

stdr_parser::YamlParser::YamlParser ( void  )
private

Default constructor.

Returns
void

Definition at line 30 of file stdr_yaml_parser.cpp.

Member Function Documentation

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.

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 40 of file stdr_yaml_parser.cpp.

void stdr_parser::YamlParser::parseLow ( const YAML::Node &  node,
Node n 
)
staticprivate

Low-level recursive function for parsing the yaml file.

Parameters
node[YAML::Node&] The yaml node to start from
n[Node*] The stdr tree node to update
Returns
void

Definition at line 71 of file stdr_yaml_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