Xml writer. More...
Xml writer.
Public Member Methods | |
virtual | ~XmlWriter () |
Destructor. More... | |
XmlWriter (Stream &stream) | |
Constructor. More... | |
XmlWriter (TextWriter &writer) | |
Constructor. More... | |
void | WriteOpenMarkup (PCChar8 markup, bool nonEmpty=true, bool newLine=true) |
Writes an open markup. More... | |
void | WriteCloseMarkup (PCChar8 markup, bool newLine=true) |
Writes a close markup. More... | |
void | WriteValue (PCChar8 markup, PCChar8 value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, const IStringConvertible &value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, Int32 value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, UInt32 value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, Int64 value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, UInt64 value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, bool value) |
Writes a value. More... | |
void | WriteValue (PCChar8 markup, Float64 value) |
Writes a value. More... | |
TextWriter & | GetTextWriter () |
Gets the text writer. More... | |
|
inlinevirtual |
Destructor.
XmlWriter | ( | TextWriter & | writer | ) |
Constructor.
writer | [in,out] The writer. |
TextWriter& GetTextWriter | ( | ) |
Gets the text writer.
void WriteCloseMarkup | ( | PCChar8 | markup, |
bool | newLine = true |
||
) |
Writes a close markup.
markup | The markup. |
newLine | (optional) New line after markup written. |
void WriteOpenMarkup | ( | PCChar8 | markup, |
bool | nonEmpty = true , |
||
bool | newLine = true |
||
) |
Writes an open markup.
markup | The markup. |
nonEmpty | (optional) if false writes a markup like <marckup>. |
newLine | (optional) New line after markup written. |
Writes a value.
markup | The markup. |
value | The value. |
void WriteValue | ( | PCChar8 | markup, |
const IStringConvertible & | value | ||
) |
Writes a value.
markup | The markup. |
value | The value. |
Writes a value.
markup | The markup. |
value | The value. |
Writes a value.
markup | The markup. |
value | The value. |
Writes a value.
markup | The markup. |
value | The value. |
Writes a value.
markup | The markup. |
value | The value. |
void WriteValue | ( | PCChar8 | markup, |
bool | value | ||
) |
Writes a value.
markup | The markup. |
value | The value. |