GML_error Class Reference

[Index] [Hierarchy] [Headers]


Reason and position of an error in a GML file. More...

#include <GTL/gml_scanner.h>

Public Members


Detailed Description

When an error occurs while parsing the structure of a GML file GML_error is used to return the type and position of the error detected. Position is specified by line and column, but might be somewhat imprecise. However at least the line number should not differ too much from the real position.

See Also: graph::load


GML_error_value err_num[public]

Contains the error description as symbolic constant:

int line[public]

Contains the line, where the error was detected. This will usually be near the line where the error really is located.

int column[public]

Contains the column, where the error was detected.


Kdoc