18#ifndef INCLUDED_XMLWRITER
19#define INCLUDED_XMLWRITER
93 template <
typename T>
void ElementAttribute(
const char* name,
const T& value,
bool newelement);
112 template <
typename constCharPtr>
void Text(constCharPtr text,
bool cdata);
115 void Close(
int type);
Definition: XMBData.h:136
Definition: XMLWriter.h:107
void Attribute(const char *name, T value)
Definition: XMLWriter.h:113
int m_Type
Definition: XMLWriter.h:123
~XMLWriter_Element()
Definition: XMLWriter.cpp:219
void Close(int type)
Definition: XMLWriter.cpp:225
XMLWriter_File * m_File
Definition: XMLWriter.h:121
CStr m_Name
Definition: XMLWriter.h:122
XMLWriter_Element(XMLWriter_File &file, const char *name)
Definition: XMLWriter.cpp:212
void Text(constCharPtr text, bool cdata)
void Setting(const char *name, T value)
Definition: XMLWriter.h:114
Definition: XMLWriter.h:72
CStr m_Data
Definition: XMLWriter.h:101
void ElementClose()
Definition: XMLWriter.cpp:162
XMLWriter_Element * m_LastElement
Definition: XMLWriter.h:103
void XMB(const XMBData &xmb)
Definition: XMLWriter.cpp:117
void ElementAttribute(const char *name, const T &value, bool newelement)
bool StoreVFS(const PIVFS &vfs, const VfsPath &pathname)
Definition: XMLWriter.cpp:94
XMLWriter_File()
Definition: XMLWriter.cpp:84
void ElementText(const char *text, bool cdata)
Definition: XMLWriter.cpp:197
void ElementEnd(const char *name, int type)
Definition: XMLWriter.cpp:167
void SetPrettyPrint(bool enabled)
Definition: XMLWriter.h:76
bool m_PrettyPrint
Definition: XMLWriter.h:99
const CStr8 & GetOutput()
Definition: XMLWriter.cpp:111
void Comment(const char *text)
Definition: XMLWriter.cpp:133
void ElementStart(XMLWriter_Element *element, const char *name)
Definition: XMLWriter.cpp:146
void ElementXMB(const XMBData &xmb, XMBElement el)
Definition: XMLWriter.cpp:122
CStr8 Indent()
Definition: XMLWriter.cpp:141
int m_Indent
Definition: XMLWriter.h:102
Definition: vfs_util.cpp:39
#define T(string_literal)
Definition: secure_crt.cpp:77
std::shared_ptr< IVFS > PIVFS
Definition: vfs.h:220