Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
IXMLWriter.h
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_XML_WRITER_H_INCLUDED__
6
#define __I_XML_WRITER_H_INCLUDED__
7
8
#include "IReferenceCounted.h"
9
#include "irrArray.h"
10
#include "irrString.h"
11
12
namespace
irr
13
{
14
namespace
io
15
{
16
18
20
class
IXMLWriter
:
public
virtual
IReferenceCounted
21
{
22
public
:
24
27
virtual
void
writeXMLHeader
() = 0;
28
31
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;
52
54
virtual
void
writeElement
(
const
wchar_t
* name,
bool
empty,
55
core::array<core::stringw>
&names,
core::array<core::stringw>
&values) = 0;
56
58
virtual
void
writeComment
(
const
wchar_t
* comment) = 0;
59
61
virtual
void
writeClosingTag
(
const
wchar_t
* name) = 0;
62
64
67
virtual
void
writeText
(
const
wchar_t
* text) = 0;
68
70
virtual
void
writeLineBreak
() = 0;
71
};
72
73
}
// end namespace io
74
}
// end namespace irr
75
76
#endif
77
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition
IReferenceCounted.h:50
irr::core::array
Self reallocating template array (like stl vector) with additional features.
Definition
irrArray.h:23
irr::io::IXMLWriter
Interface providing methods for making it easier to write XML files.
Definition
IXMLWriter.h:21
irr::io::IXMLWriter::writeElement
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
irr::io::IXMLWriter::writeText
virtual void writeText(const wchar_t *text)=0
Writes a text into the file.
irr::io::IXMLWriter::writeXMLHeader
virtual void writeXMLHeader()=0
Writes an xml 1.0 header.
irr::io::IXMLWriter::writeElement
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.
irr::io::IXMLWriter::writeClosingTag
virtual void writeClosingTag(const wchar_t *name)=0
Writes the closing tag for an element. Like "</foo>".
irr::io::IXMLWriter::writeLineBreak
virtual void writeLineBreak()=0
Writes a line break.
irr::io::IXMLWriter::writeComment
virtual void writeComment(const wchar_t *comment)=0
Writes a comment into the xml file.
irr::io
This namespace provides interfaces for input/output: Reading and writing files, accessing zip archive...
Definition
EAttributes.h:11
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition
Skylicht.h:33
Generated by
1.17.0