YARP
Yet Another Robot Platform
yarp::robotinterface::RobotInterfaceDTD Class Reference

#include <yarp/robotinterface/impl/RobotInterfaceDTD.h>

Public Types

enum  DocType {
  DocTypeUnknown = 0 ,
  DocTypeRobot ,
  DocTypeDevices ,
  DocTypeParams ,
  DocTypeActions
}
 

Public Member Functions

 RobotInterfaceDTD ()=default
 
bool parse (TiXmlUnknown *unknownNode, const std::string &curr_filename)
 
bool valid () const
 
void setDefault ()
 

Public Attributes

DocType type {DocTypeUnknown}
 
std::string identifier
 
std::string uri
 
unsigned int majorVersion {0}
 
unsigned int minorVersion {0}
 

Static Public Attributes

static const std::string baseUri
 
static const std::string ext
 

Detailed Description

Definition at line 33 of file RobotInterfaceDTD.h.

Member Enumeration Documentation

◆ DocType

Enumerator
DocTypeUnknown 
DocTypeRobot 
DocTypeDevices 
DocTypeParams 
DocTypeActions 

Definition at line 36 of file RobotInterfaceDTD.h.

Constructor & Destructor Documentation

◆ RobotInterfaceDTD()

yarp::robotinterface::RobotInterfaceDTD::RobotInterfaceDTD ( )
default

Member Function Documentation

◆ parse()

bool yarp::robotinterface::RobotInterfaceDTD::parse ( TiXmlUnknown *  unknownNode,
const std::string &  curr_filename 
)

Definition at line 85 of file RobotInterfaceDTD.cpp.

◆ setDefault()

void yarp::robotinterface::RobotInterfaceDTD::setDefault ( )

Definition at line 76 of file RobotInterfaceDTD.cpp.

◆ valid()

bool yarp::robotinterface::RobotInterfaceDTD::valid ( ) const

Definition at line 71 of file RobotInterfaceDTD.cpp.

Member Data Documentation

◆ baseUri

const std::string yarp::robotinterface::RobotInterfaceDTD::baseUri
static

Definition at line 59 of file RobotInterfaceDTD.h.

◆ ext

const std::string yarp::robotinterface::RobotInterfaceDTD::ext
static

Definition at line 60 of file RobotInterfaceDTD.h.

◆ identifier

std::string yarp::robotinterface::RobotInterfaceDTD::identifier

Definition at line 54 of file RobotInterfaceDTD.h.

◆ majorVersion

unsigned int yarp::robotinterface::RobotInterfaceDTD::majorVersion {0}

Definition at line 56 of file RobotInterfaceDTD.h.

◆ minorVersion

unsigned int yarp::robotinterface::RobotInterfaceDTD::minorVersion {0}

Definition at line 57 of file RobotInterfaceDTD.h.

◆ type

DocType yarp::robotinterface::RobotInterfaceDTD::type {DocTypeUnknown}

Definition at line 53 of file RobotInterfaceDTD.h.

◆ uri

std::string yarp::robotinterface::RobotInterfaceDTD::uri

Definition at line 55 of file RobotInterfaceDTD.h.


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