Go to the documentation of this file.
21 #include "ParserEventGeneratorKit.h"
28 # define LIBOFX_API __declspec(dllexport)
49 void show_line_number()
51 extern SGMLApplication::OpenEntityPtr
entity_ptr;
52 extern SGMLApplication::Position
position;
57 SGMLApplication::Location *location =
new SGMLApplication::Location(
entity_ptr,
position);
58 if (location->lineNumber < LONG_MAX)
59 std::cerr <<
"(Above message occurred on Line " << location->lineNumber <<
", Column " << location->columnNumber <<
")" << std::endl;
76 std::cerr <<
"LibOFX DEBUG: " << message <<
"\n";
83 std::cerr <<
"LibOFX DEBUG1: " << message <<
"\n";
90 std::cerr <<
"LibOFX DEBUG2: " << message <<
"\n";
97 std::cerr <<
"LibOFX DEBUG3: " << message <<
"\n";
104 std::cerr <<
"LibOFX DEBUG4: " << message <<
"\n";
111 std::cerr <<
"LibOFX DEBUG5: " << message <<
"\n";
118 std::cerr <<
"LibOFX STATUS: " << message <<
"\n";
125 std::cerr <<
"LibOFX INFO: " << message <<
"\n";
132 std::cerr <<
"LibOFX WARNING: " << message <<
"\n";
139 std::cerr <<
"LibOFX ERROR: " << message <<
"\n";
146 std::cerr <<
"LibOFX PARSER: " << message <<
"\n";
151 std::cerr <<
"LibOFX UNKNOWN ERROR CLASS, This is a bug in LibOFX\n";
LIBOFX_API int ofx_DEBUG1_msg
LIBOFX_API int ofx_STATUS_msg
LIBOFX_API int ofx_DEBUG5_msg
Various simple functions for type conversion & al.
LIBOFX_API int ofx_WARNING_msg
LIBOFX_API int ofx_ERROR_msg
LIBOFX_API int ofx_DEBUG4_msg
int message_out(OfxMsgType error_type, const std::string message)
Message output function.
LIBOFX_API int ofx_DEBUG_msg
LIBOFX_API int ofx_INFO_msg
LIBOFX_API int ofx_PARSER_msg
SGMLApplication::Position position
LIBOFX_API int ofx_DEBUG3_msg
LIBOFX_API int ofx_show_position
Message IO functionality.
SGMLApplication::OpenEntityPtr entity_ptr
LIBOFX_API int ofx_DEBUG2_msg