Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::TextInput::WrongString Class Reference

String read from input did not match expected string. More...

#include <TextInput.h>

Inherits G3D::TextInput::TokenException.

List of all members.

Public Member Functions

 WrongString (const std::string &src, int ln, int ch, const std::string &e, const std::string &a)

Public Attributes

std::string actual
int character
std::string expected
int line
std::string message
std::string sourceFile


Detailed Description

String read from input did not match expected string.


Constructor & Destructor Documentation

G3D::TextInput::WrongString::WrongString ( const std::string &  src,
int  ln,
int  ch,
const std::string &  e,
const std::string &  a 
)


Member Data Documentation

Character number in the line of start of token which caused the exception.

1 is the character in the line.

Line number of start of token which caused the exception.

1 is the first line of the file. Note that you can use TextInput::Settings::startingLineNumberOffset to shift the effective line number that is reported.

std::string G3D::TextInput::TokenException::message [inherited]

Pre-formatted error message.

Name of file being parsed when exception occurred.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:48 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo