YARP
Yet Another Robot Platform
yarp::robotinterface::experimental::XMLReader Class Reference

#include <yarp/robotinterface/experimental/XMLReader.h>

Detailed Description

Definition at line 46 of file XMLReader.h.

Classes

class  Private
 

Public Member Functions

 XMLReader ()
 
virtual ~XMLReader ()
 
XMLReaderResult getRobotFromFile (const std::string &filename)
 Parse the XML description of a robotinterface from a file. More...
 
XMLReaderResult getRobotFromString (const std::string &xmlString)
 Parse the XML description of a robotinterface from a string. More...
 
void setVerbose (bool verbose)
 
void setEnableDeprecated (bool enab)
 

Constructor & Destructor Documentation

◆ XMLReader()

yarp::robotinterface::experimental::XMLReader::XMLReader ( )

Definition at line 57 of file XMLReader.cpp.

◆ ~XMLReader()

yarp::robotinterface::experimental::XMLReader::~XMLReader ( )
virtual

Definition at line 62 of file XMLReader.cpp.

Member Function Documentation

◆ getRobotFromFile()

yarp::robotinterface::experimental::XMLReaderResult yarp::robotinterface::experimental::XMLReader::getRobotFromFile ( const std::string &  filename)

Parse the XML description of a robotinterface from a file.

Parameters
filenamepath to the XML file to load.
Returns
result of parsing.

Definition at line 77 of file XMLReader.cpp.

◆ getRobotFromString()

yarp::robotinterface::experimental::XMLReaderResult yarp::robotinterface::experimental::XMLReader::getRobotFromString ( const std::string &  xmlString)

Parse the XML description of a robotinterface from a string.

Parameters
xmlStringstring containing the XML code to parse.
Returns
result of parsing.

Definition at line 140 of file XMLReader.cpp.

◆ setEnableDeprecated()

void yarp::robotinterface::experimental::XMLReader::setEnableDeprecated ( bool  enab)

Definition at line 72 of file XMLReader.cpp.

◆ setVerbose()

void yarp::robotinterface::experimental::XMLReader::setVerbose ( bool  verbose)

Definition at line 67 of file XMLReader.cpp.


The documentation for this class was generated from the following files: