#include <gcu/formula.h>
Public Member Functions | |
parse_error (const std::string &__arg, int start, int length) | |
virtual const char * | what () const throw () |
const char * | what (int &start, int &length) const throw () |
void | add_offset (int offset) |
Definition at line 65 of file formula.h.
gcu::parse_error::parse_error | ( | const std::string & | __arg, | |
int | start, | |||
int | length | |||
) | [explicit] |
Takes a character string describing the error and two integers indicating where the error occured.
void gcu::parse_error::add_offset | ( | int | offset | ) | [inline] |
const char* gcu::parse_error::what | ( | int & | start, | |
int & | length | |||
) | const throw () |
Returns a C-style character string describing the general cause of the current error (the same string passed to the constructor).
virtual const char* gcu::parse_error::what | ( | ) | const throw () [virtual] |
Returns a C-style character string describing the general cause of the current error (the same string passed to the constructor).