|
#include <armarx/control/hardware_config/ConfigParser.h>
Public Member Functions | |
ConfigParser (MultiNodeRapidXMLReader nodes) | |
ConfigParser (RapidXmlReaderNode &hardwareConfigNode) | |
HardwareConfig & | getHardwareConfig () |
Get the parsed Config object hierarchy. More... | |
std::vector< std::string > & | getWarnings () |
Get warnings that occured during parsing These are additional messages that the parser generated and are meant to be useful find logic issues within the file. More... | |
void | parse () |
Parse the input nodes given in constructor. More... | |
Definition at line 19 of file ConfigParser.h.
ConfigParser | ( | MultiNodeRapidXMLReader | nodes | ) |
Definition at line 17 of file ConfigParser.cpp.
ConfigParser | ( | RapidXmlReaderNode & | hardwareConfigNode | ) |
Definition at line 21 of file ConfigParser.cpp.
HardwareConfig & getHardwareConfig | ( | ) |
Get the parsed Config object hierarchy.
If the ConfigParser::Parse did throw an exception the best appoximation is returned. If ConfigParser::Parse was not called before then the HardwareConfig object is empty.
Definition at line 95 of file ConfigParser.cpp.
std::vector< std::string > & getWarnings | ( | ) |
Get warnings that occured during parsing These are additional messages that the parser generated and are meant to be useful find logic issues within the file.
Definition at line 89 of file ConfigParser.cpp.
void parse | ( | ) |
Parse the input nodes given in constructor.
ParserError | if some kind of error occured |
Definition at line 27 of file ConfigParser.cpp.