Grok 20.3.2
ojph_message.cpp File Reference
#include <cassert>
#include <cstdio>
#include <cstdarg>
#include <stdexcept>
#include "ojph_message.h"

Namespaces

namespace  grk
 ResWindow.
namespace  grk::t1
namespace  grk::t1::ojph

Functions

OJPH_EXPORT void grk::t1::ojph::configure_info (message_info *info)
 This overrides the default behaviour of handling info messages.
OJPH_EXPORT message_infogrk::t1::ojph::get_info ()
 Get the info message object, whose operator() member class is called for info messages – See the macros below.
OJPH_EXPORT void grk::t1::ojph::set_info_stream (FILE *s)
 Replaces the info output file from the default stdout to user defined output file.
OJPH_EXPORT void grk::t1::ojph::configure_warning (message_warning *warn)
 This overrides the default behaviour of handling warning messages.
OJPH_EXPORT message_warninggrk::t1::ojph::get_warning ()
 Get the warning message object, whose operator() member class is called for warning messages – See the macros below.
OJPH_EXPORT void grk::t1::ojph::set_warning_stream (FILE *s)
 Replaces the warning output file from the default stdout to user defined output file.
OJPH_EXPORT void grk::t1::ojph::configure_error (message_error *error)
 This overrides the default behaviour of handling error messages.
OJPH_EXPORT message_errorgrk::t1::ojph::get_error ()
 Get the error message object, whose operator() member class is called for error messages – See the macros below.
OJPH_EXPORT void grk::t1::ojph::set_error_stream (FILE *s)
 Replaces the error output file from the default stderr to user defined output file.
OJPH_EXPORT void grk::t1::ojph::set_message_level (OJPH_MSG_LEVEL level)
 Sets the minimum severity of the message to be reported.

Variables

FILE * grk::t1::ojph::info_stream = stdout
message_info grk::t1::ojph::info
message_infogrk::t1::ojph::local_info = &info
OJPH_MSG_LEVEL grk::t1::ojph::message_level = OJPH_MSG_ALL_MSG
FILE * grk::t1::ojph::warning_stream = stdout
message_warning grk::t1::ojph::warn
message_warninggrk::t1::ojph::local_warn = &warn
FILE * grk::t1::ojph::error_stream = stderr
message_error grk::t1::ojph::error
message_errorgrk::t1::ojph::local_error = &error