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-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,
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 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Mon May 6 2013 17:41:01 by Doxygen (1.8.3.1)