C++ wrapper for message handlers.
This class defines the interface for message handlers implemented in C++. Note that all functions are pure virtual (these functions have to be implemented).
Definition at line 39 of file objmessagehdlr.h.
#include <objmessagehdlr.h>
Public Member Functions | |
ObjMessagehdlr (SCIP_Bool bufferedoutput) | |
virtual | ~ObjMessagehdlr () |
virtual void | scip_error (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *msg) |
virtual | SCIP_DECL_MESSAGEWARNING (scip_warning) |
virtual | SCIP_DECL_MESSAGEDIALOG (scip_dialog) |
virtual | SCIP_DECL_MESSAGEINFO (scip_info) |
virtual | SCIP_DECL_MESSAGEHDLRFREE (scip_free) |
Data Fields | |
const SCIP_Bool | scip_bufferedoutput_ |
|
inlineexplicit |
default constructor
bufferedoutput | should the output be buffered up to the next newline? |
Definition at line 46 of file objmessagehdlr.h.
|
inlinevirtual |
destructor
Definition at line 54 of file objmessagehdlr.h.
|
inlinevirtual |
error message print method of message handler
messagehdlr | the message handler itself |
file | file stream to print into (NULL for stderr) |
msg | string to output into the file (or NULL to flush) |
Definition at line 64 of file objmessagehdlr.h.
Referenced by SCIP_DECL_ERRORPRINTING().
|
inlinevirtual |
warning message print method of message handler
Definition at line 77 of file objmessagehdlr.h.
|
inlinevirtual |
dialog message print method of message handler
Definition at line 86 of file objmessagehdlr.h.
|
inlinevirtual |
info message print method of message handler
Definition at line 95 of file objmessagehdlr.h.
|
inlinevirtual |
destructor of message handler to free message handler data
Definition at line 104 of file objmessagehdlr.h.
References SCIP_Bool, SCIP_OKAY, SCIPcreateObjMessagehdlr(), SCIPgetObjMessagehdlr(), and SCIPsetStaticErrorPrintingMessagehdlr().
const SCIP_Bool scip::ObjMessagehdlr::scip_bufferedoutput_ |
should the output be buffered up to the next newline?
Definition at line 43 of file objmessagehdlr.h.
Referenced by SCIPcreateObjMessagehdlr().