5 #ifndef __I_XML_WRITER_H_INCLUDED__ 6 #define __I_XML_WRITER_H_INCLUDED__ 46 virtual void writeElement(
const wchar_t* name,
bool empty=
false,
47 const wchar_t* attr1Name = 0,
const wchar_t* attr1Value = 0,
48 const wchar_t* attr2Name = 0,
const wchar_t* attr2Value = 0,
49 const wchar_t* attr3Name = 0,
const wchar_t* attr3Value = 0,
50 const wchar_t* attr4Name = 0,
const wchar_t* attr4Value = 0,
51 const wchar_t* attr5Name = 0,
const wchar_t* attr5Value = 0) = 0;
54 virtual void writeElement(
const wchar_t* name,
bool empty,
67 virtual void writeText(
const wchar_t* text) = 0;
Interface providing methods for making it easier to write XML files.
virtual void writeClosingTag(const wchar_t *name)=0
Writes the closing tag for an element. Like "</foo>".
virtual void writeElement(const wchar_t *name, bool empty=false, const wchar_t *attr1Name=0, const wchar_t *attr1Value=0, const wchar_t *attr2Name=0, const wchar_t *attr2Value=0, const wchar_t *attr3Name=0, const wchar_t *attr3Value=0, const wchar_t *attr4Name=0, const wchar_t *attr4Value=0, const wchar_t *attr5Name=0, const wchar_t *attr5Value=0)=0
Everything in the Irrlicht Engine can be found in this namespace.
virtual void writeLineBreak()=0
Writes a line break.
virtual void writeXMLHeader()=0
Writes an xml 1.0 header.
virtual void writeComment(const wchar_t *comment)=0
Writes a comment into the xml file.
Self reallocating template array (like stl vector) with additional features.
Base class of most objects of the Irrlicht Engine.
virtual void writeText(const wchar_t *text)=0
Writes a text into the file.