clan::XMLWriter Class Reference

The XML Writer writes a XML file based on XML tokens. More...

#include <xml_writer.h>

Public Member Functions

 XMLWriter ()
 
 XMLWriter (const XMLWriter &copy)
 Constructs a XMLWriter. More...
 
 XMLWriter (IODevice &output)
 Constructs a XMLWriter. More...
 
virtual ~XMLWriter ()
 
bool get_insert_whitespace () const
 Returns the insert whitespace flag. More...
 
void set_insert_whitespace (bool enable)
 Inserts whitespace between tags if enabled. More...
 
void write (const XMLToken &token)
 Write token to file. More...
 

Detailed Description

The XML Writer writes a XML file based on XML tokens.

Constructor & Destructor Documentation

clan::XMLWriter::XMLWriter ( )
clan::XMLWriter::XMLWriter ( const XMLWriter copy)

Constructs a XMLWriter.

Parameters
copy= XMLWriter
clan::XMLWriter::XMLWriter ( IODevice output)

Constructs a XMLWriter.

Parameters
output= IODevice
virtual clan::XMLWriter::~XMLWriter ( )
virtual

Member Function Documentation

bool clan::XMLWriter::get_insert_whitespace ( ) const

Returns the insert whitespace flag.

void clan::XMLWriter::set_insert_whitespace ( bool  enable)

Inserts whitespace between tags if enabled.

void clan::XMLWriter::write ( const XMLToken token)

Write token to file.


The documentation for this class was generated from the following file: