#include <scipParaObjMessageHdlr.h>
Public Member Functions | |
ScipParaObjMessageHdlr (UG::ParaComm *comm, FILE *file, SCIP_Bool quiet, SCIP_Bool bufferedoutput) | |
virtual | ~ScipParaObjMessageHdlr () |
FILE * | getlogfile () const |
virtual void | scip_error (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *msg) |
virtual void | scip_warning (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *msg) |
virtual void | scip_dialog (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *msg) |
virtual void | scip_info (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *msg) |
Private Member Functions | |
void | logMessage (FILE *file, const char *msg) |
Private Attributes | |
UG::ParaComm * | comm |
FILE * | logfile |
SCIP_Bool | quiet |
C++ wrapper object for file readers
Definition at line 47 of file scipParaObjMessageHdlr.h.
ScipParaObjMessageHdlr | ( | UG::ParaComm * | inComm, |
FILE * | inFile, | ||
SCIP_Bool | inQuiet, | ||
SCIP_Bool | inBufferedoutput | ||
) |
default constructor
constructor
Definition at line 45 of file scipParaObjMessageHdlr.cpp.
References ScipParaObjMessageHdlr::comm, ScipParaObjMessageHdlr::logfile, and ScipParaObjMessageHdlr::quiet.
|
virtual |
destructor
Definition at line 57 of file scipParaObjMessageHdlr.cpp.
FILE * getlogfile | ( | ) | const |
return log file
Definition at line 73 of file scipParaObjMessageHdlr.h.
References ScipParaObjMessageHdlr::logfile.
Referenced by SCIP_DECL_ERRORPRINTING().
|
private |
file | file stream to print message into |
msg | message to print |
Definition at line 63 of file scipParaObjMessageHdlr.cpp.
References ScipParaObjMessageHdlr::logfile, and ScipParaObjMessageHdlr::quiet.
Referenced by ScipParaObjMessageHdlr::scip_dialog(), ScipParaObjMessageHdlr::scip_error(), ScipParaObjMessageHdlr::scip_info(), and ScipParaObjMessageHdlr::scip_warning().
|
virtual |
dialog message print method of message handler
This method is invoked, if SCIP wants to display a dialog message to the screen or a file
messagehdlr | the message handler itself |
file | file stream to print into |
msg | string to output into the file |
Definition at line 113 of file scipParaObjMessageHdlr.cpp.
References ScipParaObjMessageHdlr::logMessage().
|
virtual |
error message print method of message handler
This method is invoked, if SCIP wants to display an error message to the screen or a file
messagehdlr | the message handler itself |
file | file stream to print into |
msg | string to output into the file |
Definition at line 86 of file scipParaObjMessageHdlr.cpp.
References ScipParaObjMessageHdlr::logMessage().
Referenced by SCIP_DECL_ERRORPRINTING().
|
virtual |
info message print method of message handler
This method is invoked, if SCIP wants to display an information message to the screen or a file
messagehdlr | the message handler itself |
file | file stream to print into |
msg | string to output into the file |
Definition at line 126 of file scipParaObjMessageHdlr.cpp.
References ScipParaObjMessageHdlr::logMessage().
|
virtual |
warning message print method of message handler
This method is invoked, if SCIP wants to display a warning message to the screen or a file
messagehdlr | the message handler itself |
file | file stream to print into |
msg | string to output into the file |
Definition at line 99 of file scipParaObjMessageHdlr.cpp.
References ScipParaObjMessageHdlr::logMessage().
|
private |
Definition at line 50 of file scipParaObjMessageHdlr.h.
Referenced by ScipParaObjMessageHdlr::ScipParaObjMessageHdlr().
|
private |
log file where to copy messages into
Definition at line 51 of file scipParaObjMessageHdlr.h.
Referenced by ScipParaObjMessageHdlr::getlogfile(), ScipParaObjMessageHdlr::logMessage(), and ScipParaObjMessageHdlr::ScipParaObjMessageHdlr().
|
private |
should screen messages be suppressed?
Definition at line 52 of file scipParaObjMessageHdlr.h.
Referenced by ScipParaObjMessageHdlr::logMessage(), and ScipParaObjMessageHdlr::ScipParaObjMessageHdlr().