ClanLib  2.3.7
List of all members
CL_XMLWriter Class Reference

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

#include <xml_writer.h>

Public Member Functions

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

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: