C++ wrapper for message handlers.
Definition in file objmessagehdlr.cpp.
Go to the source code of this file.
Functions | |
static | SCIP_DECL_ERRORPRINTING (messagehdlrErrorObj) |
static | SCIP_DECL_MESSAGEWARNING (messagehdlrWarningObj) |
static | SCIP_DECL_MESSAGEDIALOG (messagehdlrDialogObj) |
static | SCIP_DECL_MESSAGEINFO (messagehdlrInfoObj) |
static | SCIP_DECL_MESSAGEHDLRFREE (messagehdlrFree) |
SCIP_RETCODE | SCIPcreateObjMessagehdlr (SCIP_MESSAGEHDLR **messagehdlr, scip::ObjMessagehdlr *objmessagehdlr, SCIP_Bool deleteobject) |
scip::ObjMessagehdlr * | SCIPgetObjMessagehdlr (SCIP_MESSAGEHDLR *messagehdlr) |
void | SCIPsetStaticErrorPrintingMessagehdlr (SCIP_MESSAGEHDLR *messagehdlr) |
|
static |
error message print method of message handler
Definition at line 52 of file objmessagehdlr.cpp.
References scip::ObjMessagehdlr::scip_error().
|
static |
warning message print method of message handler
Definition at line 63 of file objmessagehdlr.cpp.
References SCIPmessagehdlrGetData().
|
static |
dialog message print method of message handler
Definition at line 77 of file objmessagehdlr.cpp.
References SCIPmessagehdlrGetData().
|
static |
info message print method of message handler
Definition at line 91 of file objmessagehdlr.cpp.
References SCIPmessagehdlrGetData().
|
static |
destructor of message handler to free message handler data
Definition at line 104 of file objmessagehdlr.cpp.
References SCIP_CALL, SCIP_OKAY, SCIPmessagehdlrGetData(), and SCIPmessagehdlrSetData().
SCIP_RETCODE SCIPcreateObjMessagehdlr | ( | SCIP_MESSAGEHDLR ** | messagehdlr, |
scip::ObjMessagehdlr * | objmessagehdlr, | ||
SCIP_Bool | deleteobject | ||
) |
creates the message handler for the given message handler object
messagehdlr | pointer to store the message handler |
objmessagehdlr | message handler object |
deleteobject | should the message handler object be deleted when message handler is freed? |
Definition at line 133 of file objmessagehdlr.cpp.
References FALSE, messagehdlrFree(), scip::ObjMessagehdlr::scip_bufferedoutput_, SCIP_CALL, SCIP_OKAY, and SCIPmessagehdlrCreate().
Referenced by scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE().
scip::ObjMessagehdlr* SCIPgetObjMessagehdlr | ( | SCIP_MESSAGEHDLR * | messagehdlr | ) |
returns the message handler object for the given message handler
messagehdlr | message handler |
Definition at line 166 of file objmessagehdlr.cpp.
References SCIPmessagehdlrGetData().
Referenced by scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE(), and SCIPsetStaticErrorPrintingMessagehdlr().
void SCIPsetStaticErrorPrintingMessagehdlr | ( | SCIP_MESSAGEHDLR * | messagehdlr | ) |
set static error output function to the corresponding function of message handler
messagehdlr | message handler |
Definition at line 179 of file objmessagehdlr.cpp.
References SCIPgetObjMessagehdlr(), and SCIPmessageSetErrorPrinting().
Referenced by scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE().