CL_XMLWriter Class Reference
[clanCore XML]

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

#include <xml_writer.h>

List of all members.

Public Member Functions

Construction

 CL_XMLWriter ()
 CL_XMLWriter (const CL_XMLWriter &copy)
 Constructs a XMLWriter.
 CL_XMLWriter (CL_IODevice &output)
 Constructs a XMLWriter.
virtual ~CL_XMLWriter ()
Attributes

bool get_insert_whitespace () const
 Returns the insert whitespace flag.
void set_insert_whitespace (bool enable)
 Inserts whitespace between tags if enabled.
Operations

void write (const CL_XMLToken &token)
 Write token to file.

Detailed Description

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


Constructor & Destructor Documentation

CL_XMLWriter::CL_XMLWriter (  ) 
CL_XMLWriter::CL_XMLWriter ( const CL_XMLWriter copy  ) 

Constructs a XMLWriter.

Parameters:
copy = XMLWriter
CL_XMLWriter::CL_XMLWriter ( CL_IODevice output  ) 

Constructs a XMLWriter.

Parameters:
output = IODevice
virtual CL_XMLWriter::~CL_XMLWriter (  )  [virtual]

Member Function Documentation

bool CL_XMLWriter::get_insert_whitespace (  )  const

Returns the insert whitespace flag.

void CL_XMLWriter::set_insert_whitespace ( bool  enable  ) 

Inserts whitespace between tags if enabled.

void CL_XMLWriter::write ( const CL_XMLToken token  ) 

Write token to file.


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