23 : m_out(&m_backend), m_indentLevel(0),
24 m_curLineIndented(false), m_compress(false)
53 char const *
const * attributes)
62 char const *
const * attributes)
89 m_out <<
"<?xml version=\"" << version <<
"\" encoding=\"" << encoding <<
"\"?>";
116 char const *
const * attributes,
bool close)
118 m_out <<
"<" << elementName;
121 for (
char const *
const * walker = attributes;
122 walker[0]; walker += 2)
124 char const *
const key = walker[0];
125 char const *
const value = walker[1];
142 char const *
const * attributes)
148 char const *
const * attributes)
155 m_out <<
"</" << elementName <<
">";
QCString convertToXML(const char *s)
void setIndentLevel(int level)
void close(char const *elementName)
void closePure(char const *elementName)
void openPureHelper(char const *elementName, char const *const *attributes, bool close)
void declaration(char const *version, char const *encoding)
void setCompressionEnabled(bool enabled)
void openClosePure(char const *elementName, char const *const *attributes=0)
void open(char const *elementName, char const *const *attributes=0)
int writeBlock(const char *data, uint len)
void openCloseContent(char const *elementName, char const *content)
A bunch of utility functions.
The QFile class is an I/O device that operates on files.
void openPure(char const *elementName, char const *const *attributes=0)
void openClose(char const *elementName, char const *const *attributes=0)
void insert(QhpXmlWriter const &source)