Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IXMLWriter.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 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:
23 
25  virtual ~IXMLWriter() {}
26 
28 
31  virtual void writeXMLHeader() = 0;
32 
35 
50  virtual void writeElement(const wchar_t* name, bool empty=false,
51  const wchar_t* attr1Name = 0, const wchar_t* attr1Value = 0,
52  const wchar_t* attr2Name = 0, const wchar_t* attr2Value = 0,
53  const wchar_t* attr3Name = 0, const wchar_t* attr3Value = 0,
54  const wchar_t* attr4Name = 0, const wchar_t* attr4Value = 0,
55  const wchar_t* attr5Name = 0, const wchar_t* attr5Value = 0) = 0;
56 
58  virtual void writeElement(const wchar_t* name, bool empty,
60 
62  virtual void writeComment(const wchar_t* comment) = 0;
63 
65  virtual void writeClosingTag(const wchar_t* name) = 0;
66 
68 
71  virtual void writeText(const wchar_t* text) = 0;
72 
74  virtual void writeLineBreak() = 0;
75  };
76 
77 } // end namespace io
78 } // end namespace irr
79 
80 #endif
81 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Fri Mar 21 2014 04:40:17 by Doxygen (1.8.1.2)