Utf8Lexer Class Reference

This class is used to parse UTF8 input strings. More...

#include <lexer.h>

Inheritance diagram for Utf8Lexer:

Lexer List of all members.

Public Member Functions

 Utf8Lexer (const std::string &input)
 Construct a lexer with the string of bytes to be parsed.
virtual ~Utf8Lexer ()
 Destructor is declared virtual, as it always should be.

Protected Member Functions

virtual unsigned int GetChar ()
 Gets the next unicode character from the input.

Detailed Description

This class is used to parse UTF8 input strings.

Author:
Matthew Welch


Constructor & Destructor Documentation

Utf8Lexer::Utf8Lexer ( const std::string &  input  )  [inline]

Construct a lexer with the string of bytes to be parsed.

Parameters:
input The string of input bytes to be parsed.

virtual Utf8Lexer::~Utf8Lexer (  )  [inline, virtual]

Destructor is declared virtual, as it always should be.


Member Function Documentation

virtual unsigned int Utf8Lexer::GetChar (  )  [protected, virtual]

Gets the next unicode character from the input.

Returns:
Unicode value as unsigned int.

Implements Lexer.


The documentation for this class was generated from the following file:
Generated on Wed Apr 18 15:50:12 2007 for JSON Parser by  doxygen 1.5.2