uicore::XmlTokenizer Class Referenceabstract

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

#include <xml_tokenizer.h>

Public Member Functions

virtual bool eat_whitespace () const =0
 Returns true if eat whitespace flag is set. More...
 
XmlToken next ()
 Returns the next token available in input stream. More...
 
virtual void next (XmlToken *out_token)=0
 
virtual void set_eat_whitespace (bool enable=true)=0
 If enabled, will eat any whitespace between tags. More...
 

Static Public Member Functions

static std::shared_ptr< XmlTokenizercreate (const IODevicePtr &input)
 Constructs a XmlTokenizer. More...
 

Detailed Description

The XML Tokenizer breaks a XML file into XML tokens.

Member Function Documentation

static std::shared_ptr<XmlTokenizer> uicore::XmlTokenizer::create ( const IODevicePtr input)
static

Constructs a XmlTokenizer.

virtual bool uicore::XmlTokenizer::eat_whitespace ( ) const
pure virtual

Returns true if eat whitespace flag is set.

XmlToken uicore::XmlTokenizer::next ( )
inline

Returns the next token available in input stream.

References next().

Referenced by next().

virtual void uicore::XmlTokenizer::next ( XmlToken out_token)
pure virtual
virtual void uicore::XmlTokenizer::set_eat_whitespace ( bool  enable = true)
pure virtual

If enabled, will eat any whitespace between tags.


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