21 #include "ParserEventGeneratorKit.h"
43 void show_line_number()
45 extern SGMLApplication::OpenEntityPtr
entity_ptr;
46 extern SGMLApplication::Position
position;
51 SGMLApplication::Location *location =
new SGMLApplication::Location(entity_ptr, position);
52 cerr <<
"(Above message occurred on Line " << location->lineNumber <<
", Column " << location->columnNumber <<
")" << endl;
69 cerr <<
"LibOFX DEBUG: " << message <<
"\n";
76 cerr <<
"LibOFX DEBUG1: " << message <<
"\n";
83 cerr <<
"LibOFX DEBUG2: " << message <<
"\n";
90 cerr <<
"LibOFX DEBUG3: " << message <<
"\n";
97 cerr <<
"LibOFX DEBUG4: " << message <<
"\n";
104 cerr <<
"LibOFX DEBUG5: " << message <<
"\n";
111 cerr <<
"LibOFX STATUS: " << message <<
"\n";
118 cerr <<
"LibOFX INFO: " << message <<
"\n";
125 cerr <<
"LibOFX WARNING: " << message <<
"\n";
132 cerr <<
"LibOFX ERROR: " << message <<
"\n";
139 cerr <<
"LibOFX PARSER: " << message <<
"\n";
144 cerr <<
"LibOFX UNKNOWN ERROR CLASS, This is a bug in LibOFX\n";
SGMLApplication::Position position
int message_out(OfxMsgType error_type, const string message)
Message output function.
SGMLApplication::OpenEntityPtr entity_ptr
Various simple functions for type conversion & al.
Message IO functionality.