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

#include <Any.h>

Public Member Functions

 KeyNotFound (const Data *data)
- 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 key
- Public Attributes inherited from G3D::ParseError
std::string filename
int64 byte
int line
int character
std::string message

Additional Inherited Members

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

Detailed Description

Thrown by operator[] when a key is not present in a const table.

Constructor & Destructor Documentation

G3D::Any::KeyNotFound::KeyNotFound ( const Data data)
371  {
372  if (data) {
373  filename = data->source.filename;
374  line = data->source.line;
375  character = data->source.character;
376  }
377  }
int line
Definition: ParseError.h:37
std::string filename
Definition: ParseError.h:27
int character
Definition: ParseError.h:42

Member Data Documentation

std::string G3D::Any::KeyNotFound::key

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