LeUtf32Lexer Class Reference

This class is used to parse little-endian UTF32 input strings. More...

#include <lexer.h>

Inheritance diagram for LeUtf32Lexer:

Lexer List of all members.

Public Member Functions

 LeUtf32Lexer (const std::string &input)
 Construct a lexer with the string of bytes to be parsed.
virtual ~LeUtf32Lexer ()
 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 little-endian UTF32 input strings.

Author:
Matthew Welch


Constructor & Destructor Documentation

LeUtf32Lexer::LeUtf32Lexer ( 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 LeUtf32Lexer::~LeUtf32Lexer (  )  [inline, virtual]

Destructor is declared virtual, as it always should be.


Member Function Documentation

virtual unsigned int LeUtf32Lexer::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