Functions
GripperSetpointFactory::Private Namespace Reference

Functions

const std::string getAttribute (TiXmlHandle handle, const std::string &attribute, bool required=true)
 Parses an XML element for a specific attribute.

Function Documentation

const std::string GripperSetpointFactory::Private::getAttribute ( TiXmlHandle  handle,
const std::string &  attribute,
bool  required = true 
)

Parses an XML element for a specific attribute.

Parameters:
handleThe TinyXmlHandle for an XML element.
attributeThe name of the attribute.
Returns:
The string value of the requested attribute, if present.
Exceptions:
std::runtime_errorif attribute not found.

Definition at line 157 of file GripperSetpointFactory.cpp.



robot_instance
Author(s):
autogenerated on Sat Jun 8 2019 20:43:12