openrave.org

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

base class for writing to XML files. [詳細]

#include <openrave.h>

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

Public メソッド

virtual ~BaseXMLWriter ()
 
virtual const std::string & GetFormat () const =0
 return the format for the data writing, should be all lower capitals.
 
virtual void SetCharData (const std::string &data)=0
 saves character data to the child. Special characters like '<' are automatically converted to fit inside XML.
 
virtual BaseXMLWriterPtr AddChild (const std::string &xmltag, const AttributesList &atts=AttributesList())=0
 returns a writer for child elements
 

説明

base class for writing to XML files.

OpenRAVE Interfaces accept a BaseXMLWriter instance and call its write methods to write the data.

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

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

virtual OpenRAVE::BaseXMLWriter::~BaseXMLWriter ( )
inlinevirtual

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

関数

virtual BaseXMLWriterPtr OpenRAVE::BaseXMLWriter::AddChild ( const std::string &  xmltag,
const AttributesList atts = AttributesList() 
)
pure virtual

returns a writer for child elements

OpenRAVE::xmlreaders::StreamXMLWriterで実装されています。

virtual const std::string& OpenRAVE::BaseXMLWriter::GetFormat ( ) const
pure virtual

return the format for the data writing, should be all lower capitals.

Samples formats are 'openrave', 'collada'

OpenRAVE::xmlreaders::StreamXMLWriterで実装されています。

virtual void OpenRAVE::BaseXMLWriter::SetCharData ( const std::string &  data)
pure virtual

saves character data to the child. Special characters like '<' are automatically converted to fit inside XML.

例外
openrave_exceptionthrows if this element cannot have character data or the character data was not written

OpenRAVE::xmlreaders::StreamXMLWriterで実装されています。


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