base class for writing to XML files. [詳細]
#include <openrave.h>
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.h の 784 行で定義されています。
|
inlinevirtual |
openrave.h の 787 行で定義されています。
|
pure virtual |
returns a writer for child elements
OpenRAVE::xmlreaders::StreamXMLWriterで実装されています。
|
pure virtual |
return the format for the data writing, should be all lower capitals.
Samples formats are 'openrave', 'collada'
OpenRAVE::xmlreaders::StreamXMLWriterで実装されています。
|
pure virtual |
saves character data to the child. Special characters like '<' are automatically converted to fit inside XML.
openrave_exception | throws if this element cannot have character data or the character data was not written |
OpenRAVE::xmlreaders::StreamXMLWriterで実装されています。