clan::XMLTokenizer Class Reference

The XML Tokenizer breaks a XML file into XML tokens. More...

#include <xml_tokenizer.h>

Public Member Functions

 XMLTokenizer ()
 
 XMLTokenizer (const XMLTokenizer &copy)
 Constructs a XMLTokenizer. More...
 
 XMLTokenizer (IODevice &input)
 Constructs a XMLTokenizer. More...
 
virtual ~XMLTokenizer ()
 
bool get_eat_whitespace () const
 Returns true if eat whitespace flag is set. More...
 
XMLToken next ()
 Returns the next token available in input stream. More...
 
void next (XMLToken *out_token)
 Next. More...
 
void set_eat_whitespace (bool enable)
 If enabled, will eat any whitespace between tags. More...
 

Detailed Description

The XML Tokenizer breaks a XML file into XML tokens.

Constructor & Destructor Documentation

clan::XMLTokenizer::XMLTokenizer ( )
clan::XMLTokenizer::XMLTokenizer ( const XMLTokenizer copy)

Constructs a XMLTokenizer.

Parameters
copy= XMLTokenizer
clan::XMLTokenizer::XMLTokenizer ( IODevice input)

Constructs a XMLTokenizer.

Parameters
input= IODevice
virtual clan::XMLTokenizer::~XMLTokenizer ( )
virtual

Member Function Documentation

bool clan::XMLTokenizer::get_eat_whitespace ( ) const

Returns true if eat whitespace flag is set.

XMLToken clan::XMLTokenizer::next ( )

Returns the next token available in input stream.

void clan::XMLTokenizer::next ( XMLToken out_token)

Next.

Parameters
out_token= XMLToken
void clan::XMLTokenizer::set_eat_whitespace ( bool  enable)

If enabled, will eat any whitespace between tags.


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