Class to read an XML file. More...
#include <yarp/robotinterface/XMLReader.h>
Classes | |
| class | Private |
Public Member Functions | |
| XMLReader () | |
| virtual | ~XMLReader () |
| XMLReaderResult | getRobotFromFile (const std::string &filename, const yarp::os::Searchable &config=yarp::os::Property()) |
| Parse the XML description of a robotinterface from a file. | |
| XMLReaderResult | getRobotFromString (const std::string &filename, const yarp::os::Searchable &config=yarp::os::Property()) |
| Parse the XML description of a robotinterface from a string. | |
| void | setVerbose (bool verbose) |
| void | setEnableDeprecated (bool enab) |
Class to read an XML file.
Definition at line 51 of file XMLReader.h.
| yarp::robotinterface::XMLReader::XMLReader | ( | ) |
Definition at line 58 of file XMLReader.cpp.
|
virtual |
Definition at line 63 of file XMLReader.cpp.
| yarp::robotinterface::XMLReaderResult yarp::robotinterface::XMLReader::getRobotFromFile | ( | const std::string & | filename, |
| const yarp::os::Searchable & | config = yarp::os::Property() |
||
| ) |
Parse the XML description of a robotinterface from a file.
| filename | path to the XML file to load. |
Definition at line 78 of file XMLReader.cpp.
| yarp::robotinterface::XMLReaderResult yarp::robotinterface::XMLReader::getRobotFromString | ( | const std::string & | filename, |
| const yarp::os::Searchable & | config = yarp::os::Property() |
||
| ) |
Parse the XML description of a robotinterface from a string.
| xmlString | string containing the XML code to parse. |
Definition at line 144 of file XMLReader.cpp.
| void yarp::robotinterface::XMLReader::setEnableDeprecated | ( | bool | enab | ) |
Definition at line 73 of file XMLReader.cpp.
| void yarp::robotinterface::XMLReader::setVerbose | ( | bool | verbose | ) |
Definition at line 68 of file XMLReader.cpp.