create a xml parser for trajectories More...
#include <xmlreaders.h>
Public Member Functions | |
GeometryInfoReader (KinBody::GeometryInfoPtr geom=KinBody::GeometryInfoPtr(), const AttributesList &atts=AttributesList()) | |
virtual ProcessElement | startElement (const std::string &name, const AttributesList &atts) |
virtual bool | endElement (const std::string &name) |
virtual void | characters (const std::string &ch) |
KinBody::GeometryInfoPtr | GetGeometryInfo () const |
bool | IsOverwriteDiffuse () const |
bool | IsOverwriteAmbient () const |
bool | IsOverwriteTransparency () const |
![]() | |
BaseXMLReader () | |
virtual | ~BaseXMLReader () |
virtual XMLReadablePtr | GetReadable () |
Protected Attributes | |
KinBody::GeometryInfoPtr | _pgeom |
std::stringstream | _ss |
BaseXMLReaderPtr | _pcurreader |
bool | _bOverwriteDiffuse |
bool | _bOverwriteAmbient |
bool | _bOverwriteTransparency |
Additional Inherited Members | |
![]() | |
enum | ProcessElement { PE_Pass =0, PE_Support =1, PE_Ignore =2 } |
![]() | |
std::string | _filename |
XML filename/resource used for this class (can be empty) | |
create a xml parser for trajectories
Definition at line 87 of file xmlreaders.h.
OpenRAVE::xmlreaders::GeometryInfoReader::GeometryInfoReader | ( | KinBody::GeometryInfoPtr | geom = KinBody::GeometryInfoPtr() , |
const AttributesList & | atts = AttributesList() |
||
) |
env | the environment used to create the trajectory |
traj | can optionally pass a trajectory to initialize if need to read into an existing trajectory, but the pointer can be empty |
atts | attributes passed from <trajectory> tag |
|
virtual |
gets called for all data in between tags.
ch | a string to the data |
Implements OpenRAVE::BaseXMLReader.
|
virtual |
Gets called at the end of each "</type>" expression. In this case, name is "type"
name | of the tag, will be always lower case |
Implements OpenRAVE::BaseXMLReader.
|
inline |
Definition at line 98 of file xmlreaders.h.
|
inline |
Definition at line 105 of file xmlreaders.h.
|
inline |
Definition at line 102 of file xmlreaders.h.
|
inline |
Definition at line 108 of file xmlreaders.h.
|
virtual |
Gets called in the beginning of each "<type>" expression. In this case, name is "type"
name | of the tag, will be always lower case |
atts | string of attributes where the first std::string is the attribute name and second is the value |
Implements OpenRAVE::BaseXMLReader.
|
protected |
Definition at line 116 of file xmlreaders.h.
|
protected |
Definition at line 116 of file xmlreaders.h.
|
protected |
Definition at line 116 of file xmlreaders.h.
|
protected |
Definition at line 114 of file xmlreaders.h.
|
protected |
Definition at line 112 of file xmlreaders.h.
|
protected |
Definition at line 113 of file xmlreaders.h.