QtBase
v6.3.1
|
#include <xmloutput.h>
Classes | |
struct | xml_output |
Public Types | |
enum | ConverstionType { NoConversion , EscapeConversion , XMLConversion } |
enum | XMLFormat { NoNewLine , NewLine } |
enum | XMLState { Bare , Tag , Attribute } |
enum | XMLType { tNothing , tRaw , tDeclaration , tTag , tTagValue , tValueTag , tCloseTag , tAttribute , tAttributeTag , tData , tImport , tComment , tCDATA } |
Public Member Functions | |
XmlOutput (QTextStream &file, ConverstionType type=XMLConversion) | |
~XmlOutput () | |
void | setIndentString (const QString &indentString) |
QString | indentString () |
void | setIndentLevel (int level) |
int | indentLevel () |
void | setState (XMLState state) |
void | setFormat (XMLFormat newFormat) |
XMLState | state () |
XmlOutput & | operator<< (const QString &o) |
XmlOutput & | operator<< (const xml_output &o) |
Definition at line 37 of file xmloutput.h.
Enumerator | |
---|---|
NoConversion | |
EscapeConversion | |
XMLConversion |
Definition at line 40 of file xmloutput.h.
enum XmlOutput::XMLFormat |
Enumerator | |
---|---|
NoNewLine | |
NewLine |
Definition at line 45 of file xmloutput.h.
enum XmlOutput::XMLState |
Enumerator | |
---|---|
Bare | |
Tag | |
Attribute |
Definition at line 49 of file xmloutput.h.
enum XmlOutput::XMLType |
Enumerator | |
---|---|
tNothing | |
tRaw | |
tDeclaration | |
tTag | |
tTagValue | |
tValueTag | |
tCloseTag | |
tAttribute | |
tAttributeTag | |
tData | |
tImport | |
tComment | |
tCDATA |
Definition at line 54 of file xmloutput.h.
QT_BEGIN_NAMESPACE XmlOutput::XmlOutput | ( | QTextStream & | file, |
ConverstionType | type = XMLConversion |
||
) |
XmlOutput::~XmlOutput | ( | ) |
Definition at line 40 of file xmloutput.cpp.
int XmlOutput::indentLevel | ( | ) |
Definition at line 61 of file xmloutput.cpp.
QString XmlOutput::indentString | ( | ) |
Definition at line 153 of file xmloutput.cpp.
XmlOutput & XmlOutput::operator<< | ( | const xml_output & | o | ) |
void XmlOutput::setIndentLevel | ( | int | level | ) |
Definition at line 56 of file xmloutput.cpp.
Definition at line 46 of file xmloutput.cpp.
XmlOutput::XMLState XmlOutput::state | ( | ) |