The XML Writer writes a XML file based on XML tokens. More...
#include <xml_writer.h>
Public Member Functions | |
virtual bool | insert_whitespace () const =0 |
Returns the insert whitespace flag. More... | |
virtual void | set_insert_whitespace (bool enable=true)=0 |
Inserts whitespace between tags if enabled. More... | |
virtual void | write (const XmlToken &token)=0 |
Write token to file. More... | |
Static Public Member Functions | |
static std::shared_ptr< XmlWriter > | create (const IODevicePtr &output) |
Constructs a XmlWriter. More... | |
The XML Writer writes a XML file based on XML tokens.
|
static |
Constructs a XmlWriter.
|
pure virtual |
Returns the insert whitespace flag.
|
pure virtual |
Inserts whitespace between tags if enabled.
|
pure virtual |
Write token to file.