boolstuff::BoolExprParser::Error Class Reference

Error descriptor. More...

#include <BoolExprParser.h>

List of all members.

Public Types

enum  Code { GARBAGE_AT_END, RUNAWAY_PARENTHESIS, STRING_EXPECTED }
 Possible error codes returned by the parser. More...

Public Member Functions

 Error (size_t i, Code c)
 Initializes an error object with the given index and error.

Public Attributes

size_t index
 Index (>=0) in the input string where the error was detected.
Code code
 Code that gives the type of the error.


Detailed Description

Error descriptor.


Member Enumeration Documentation

enum boolstuff::BoolExprParser::Error::Code

Possible error codes returned by the parser.

Enumerator:
GARBAGE_AT_END 
RUNAWAY_PARENTHESIS 
STRING_EXPECTED 


Constructor & Destructor Documentation

boolstuff::BoolExprParser::Error::Error ( size_t  i,
Code  c 
) [inline]

Initializes an error object with the given index and error.


Member Data Documentation

size_t boolstuff::BoolExprParser::Error::index

Index (>=0) in the input string where the error was detected.

Code boolstuff::BoolExprParser::Error::code

Code that gives the type of the error.


The documentation for this class was generated from the following file:
Generated on Wed May 9 20:07:15 2007 for BoolStuff by  doxygen 1.5.2