openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
Public 型 | Public メソッド | Public 変数 | すべてのメンバ一覧
クラス OpenRAVE::BaseXMLReaderabstract

base class for all xml readers. XMLReaders are used to process data from xml files. [詳細]

#include <openrave.h>

OpenRAVE::BaseXMLReaderに対する継承グラフ
Inheritance graph
[凡例]
OpenRAVE::BaseXMLReaderのコラボレーション図
Collaboration graph
[凡例]

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.

例:
customreader.cpp.

openrave.h719 行で定義されています。

列挙型

列挙型の値:
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.h722 行で定義されています。

コンストラクタとデストラクタ

OpenRAVE::BaseXMLReader::BaseXMLReader ( )
inline

openrave.h728 行で定義されています。

virtual OpenRAVE::BaseXMLReader::~BaseXMLReader ( )
inlinevirtual

openrave.h730 行で定義されています。

関数

virtual void OpenRAVE::BaseXMLReader::characters ( const std::string &  ch)
pure virtual
virtual bool OpenRAVE::BaseXMLReader::endElement ( const std::string &  name)
pure virtual
virtual XMLReadablePtr OpenRAVE::BaseXMLReader::GetReadable ( )
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.h735 行で定義されています。

virtual ProcessElement OpenRAVE::BaseXMLReader::startElement ( const std::string &  name,
const AttributesList atts 
)
pure virtual

変数

std::string OpenRAVE::BaseXMLReader::_filename

XML filename/resource used for this class (can be empty)

openrave.h755 行で定義されています。


このクラスの説明は次のファイルから生成されました: