All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
G3D::TextInput::TokenException Class Reference

#include <TextInput.h>

Public Member Functions

virtual ~TokenException ()
- Public Member Functions inherited from G3D::ParseError
 ParseError ()
virtual ~ParseError ()
 ParseError (const std::string &f, int l, int c, const std::string &m)
 ParseError (const std::string &f, int64 b, const std::string &m)
std::string formatFileInfo () const

Public Attributes

std::string sourceFile
- Public Attributes inherited from G3D::ParseError
std::string filename
int64 byte
int line
int character
std::string message

Protected Member Functions

 TokenException (const std::string &src, int ln, int ch)

Additional Inherited Members

- Public Types inherited from G3D::ParseError
enum  { UNKNOWN = -1 }

Constructor & Destructor Documentation

virtual G3D::TextInput::TokenException::~TokenException ( )
509 {}
G3D::TextInput::TokenException::TokenException ( const std::string &  src,
int  ln,
int  ch 
1247  : ParseError(src, ln, ch, format("%s(%d) : ", src.c_str(), ln)),
1248  sourceFile(src) {
1249 }
std::string sourceFile
Definition: TextInput.h:507
Definition: ParseError.h:46
std::string __cdecl format(const char *fmt...) G3D_CHECK_PRINTF_ARGS

Member Data Documentation

std::string G3D::TextInput::TokenException::sourceFile

Name of file being parsed when exception occurred.

Use filename

The documentation for this class was generated from the following files: