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 54 of file XMLReader.cpp.
|
virtual |
Definition at line 59 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 74 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 140 of file XMLReader.cpp.
void yarp::robotinterface::XMLReader::setEnableDeprecated | ( | bool | enab | ) |
Definition at line 69 of file XMLReader.cpp.
void yarp::robotinterface::XMLReader::setVerbose | ( | bool | verbose | ) |
Definition at line 64 of file XMLReader.cpp.