BeUtf16Lexer Class Reference

This class is used to parse big-endian UTF16 input strings. More...

#include <lexer.h>

Inheritance diagram for BeUtf16Lexer:

Utf16Lexer Lexer List of all members.

Public Member Functions

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

Protected Member Functions

virtual unsigned int GetInt16 ()
 Get the next 16 bit integer value from the input.

Detailed Description

This class is used to parse big-endian UTF16 input strings.

Author:
Matthew Welch


Constructor & Destructor Documentation

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

Destructor is declared virtual, as it always should be.


Member Function Documentation

virtual unsigned int BeUtf16Lexer::GetInt16 (  )  [protected, virtual]

Get the next 16 bit integer value from the input.

Implements Utf16Lexer.


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