base class for all xml readers. XMLReaders are used to process data from xml files. [詳細]
#include <openrave.h>
Public 型 | |
enum | ProcessElement { PE_Pass =0, PE_Support =1, PE_Ignore =2 } |
Public メソッド | |
BaseXMLReader () | |
virtual | ~BaseXMLReader () |
virtual XMLReadablePtr | GetReadable () |
virtual ProcessElement | startElement (const std::string &name, const AttributesList &atts)=0 |
virtual bool | endElement (const std::string &name)=0 |
virtual void | characters (const std::string &ch)=0 |
Public 変数 | |
std::string | _filename |
XML filename/resource used for this class (can be empty) | |
base class for all xml readers. XMLReaders are used to process data from xml files.
Custom readers can be registered through RaveRegisterXMLReader.
openrave.h の 719 行で定義されています。
PE_Pass |
current tag was not supported, so pass onto another class |
PE_Support |
current tag will be processed by this class |
PE_Ignore |
current tag and all its children should be ignored |
openrave.h の 722 行で定義されています。
|
inline |
openrave.h の 728 行で定義されています。
|
inlinevirtual |
openrave.h の 730 行で定義されています。
|
pure virtual |
gets called for all data in between tags.
ch | a string to the data |
OpenRAVE::ConfigurationSpecification::Reader, OpenRAVE::DummyXMLReader, OpenRAVE::WorkspaceTrajectoryParameters, OpenRAVE::PlannerBase::PlannerParameters, OpenRAVE::SimpleSensorSystem::SimpleXMLReader, OpenRAVE::xmlreaders::HierarchicalXMLReader, OpenRAVE::xmlreaders::GeometryInfoReader, OpenRAVE::xmlreaders::TrajectoryReader, と cppexamples::CustomController::PIDXMLReaderで実装されています。
|
pure 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 |
OpenRAVE::ConfigurationSpecification::Reader, OpenRAVE::DummyXMLReader, OpenRAVE::BasicRRTParameters, OpenRAVE::RRTParameters, OpenRAVE::WorkspaceTrajectoryParameters, OpenRAVE::ConstraintTrajectoryTimingParameters, OpenRAVE::TrajectoryTimingParameters, OpenRAVE::GraspParameters, OpenRAVE::PlannerBase::PlannerParameters, OpenRAVE::GraspSetParameters, OpenRAVE::SimpleSensorSystem::SimpleXMLReader, OpenRAVE::RAStarParameters, OpenRAVE::xmlreaders::HierarchicalXMLReader, OpenRAVE::xmlreaders::GeometryInfoReader, OpenRAVE::ExplorationParameters, OpenRAVE::xmlreaders::TrajectoryReader, と cppexamples::CustomController::PIDXMLReaderで実装されています。
|
inlinevirtual |
a readable interface that stores the information processsed for the current tag This pointer is used to the InterfaceBase class registered readers
OpenRAVE::SimpleSensorSystem::SimpleXMLReader, OpenRAVE::xmlreaders::HierarchicalXMLReader, と cppexamples::CustomController::PIDXMLReaderで再定義されています。
openrave.h の 735 行で定義されています。
|
pure 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 |
OpenRAVE::ConfigurationSpecification::Reader, OpenRAVE::DummyXMLReader, OpenRAVE::BasicRRTParameters, OpenRAVE::RRTParameters, OpenRAVE::WorkspaceTrajectoryParameters, OpenRAVE::ConstraintTrajectoryTimingParameters, OpenRAVE::TrajectoryTimingParameters, OpenRAVE::GraspParameters, OpenRAVE::PlannerBase::PlannerParameters, OpenRAVE::GraspSetParameters, OpenRAVE::SimpleSensorSystem::SimpleXMLReader, OpenRAVE::RAStarParameters, OpenRAVE::xmlreaders::HierarchicalXMLReader, OpenRAVE::xmlreaders::GeometryInfoReader, OpenRAVE::xmlreaders::TrajectoryReader, OpenRAVE::ExplorationParameters, と cppexamples::CustomController::PIDXMLReaderで実装されています。
std::string OpenRAVE::BaseXMLReader::_filename |
XML filename/resource used for this class (can be empty)
openrave.h の 755 行で定義されています。