Public Member Functions |
virtual void | writeClosingTag (const wchar_t *name)=0 |
| Writes the closing tag for an element. Like "</foo>".
|
virtual void | writeComment (const wchar_t *comment)=0 |
| Writes a comment into the xml file.
|
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 |
virtual void | writeElement (const wchar_t *name, bool empty, core::array< core::stringw > &names, core::array< core::stringw > &values)=0 |
| Writes an xml element with any number of attributes.
|
virtual void | writeLineBreak ()=0 |
| Writes a line break.
|
virtual void | writeText (const wchar_t *text)=0 |
| Writes a text into the file.
|
virtual void | writeXMLHeader ()=0 |
| Writes an xml 1.0 header.
|
virtual | ~IXMLWriter () |
| Destructor.
|
bool | drop () const |
| Drops the object. Decrements the reference counter by one.
|
const c8 * | getDebugName () const |
| Returns the debug name of the object.
|
s32 | getReferenceCount () const |
| Get the reference count.
|
void | grab () const |
| Grabs the object. Increments the reference counter by one.
|
| IReferenceCounted () |
| Constructor.
|
virtual | ~IReferenceCounted () |
| Destructor.
|
Interface providing methods for making it easier to write XML files.
This XML Writer writes xml files using in the platform dependent
wchar_t format and sets the xml-encoding correspondingly.
Definition at line 20 of file IXMLWriter.h.
virtual void irr::io::IXMLWriter::writeText |
( |
const wchar_t * |
text | ) |
|
|
pure virtual |
Writes a text into the file.
All occurrences of special characters such as
& (&), < (<), > (>), and " (") are automaticly replaced.