Scippy

SCIP

Solving Constraint Integer Programs

objmessagehdlr.h File Reference

Detailed Description

C++ wrapper for message handlers.

Author
Tobias Achterberg

Definition in file objmessagehdlr.h.

#include "scip/scip.h"

Go to the source code of this file.

Data Structures

class  scip::ObjMessagehdlr
 C++ wrapper for message handlers. More...
 

Namespaces

 scip
 

Functions

SCIP_EXPORT SCIP_RETCODE SCIPcreateObjMessagehdlr (SCIP_MESSAGEHDLR **messagehdlr, scip::ObjMessagehdlr *objmessagehdlr, SCIP_Bool deleteobject)
 
SCIP_EXPORT scip::ObjMessagehdlrSCIPgetObjMessagehdlr (SCIP_MESSAGEHDLR *messagehdlr)
 
SCIP_EXPORT void SCIPsetStaticErrorPrintingMessagehdlr (SCIP_MESSAGEHDLR *messagehdlr)
 

Function Documentation

◆ SCIPcreateObjMessagehdlr()

SCIP_EXPORT SCIP_RETCODE SCIPcreateObjMessagehdlr ( SCIP_MESSAGEHDLR **  messagehdlr,
scip::ObjMessagehdlr objmessagehdlr,
SCIP_Bool  deleteobject 
)

creates the message handler for the given message handler object

Parameters
messagehdlrpointer to store the message handler
objmessagehdlrmessage handler object
deleteobjectshould the message handler object be deleted when message handler is freed?

Definition at line 133 of file objmessagehdlr.cpp.

References FALSE, messagehdlrFree(), NULL, scip::ObjMessagehdlr::scip_bufferedoutput_, SCIP_CALL, SCIP_OKAY, and SCIPmessagehdlrCreate().

Referenced by scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE().

◆ SCIPgetObjMessagehdlr()

SCIP_EXPORT scip::ObjMessagehdlr* SCIPgetObjMessagehdlr ( SCIP_MESSAGEHDLR messagehdlr)

returns the message handler object for the given message handler

Parameters
messagehdlrmessage handler

Definition at line 166 of file objmessagehdlr.cpp.

References NULL, and SCIPmessagehdlrGetData().

Referenced by scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE(), and SCIPsetStaticErrorPrintingMessagehdlr().

◆ SCIPsetStaticErrorPrintingMessagehdlr()

SCIP_EXPORT void SCIPsetStaticErrorPrintingMessagehdlr ( SCIP_MESSAGEHDLR messagehdlr)

set static error output function to the corresponding function of message handler

Parameters
messagehdlrmessage handler

Definition at line 179 of file objmessagehdlr.cpp.

References NULL, SCIPgetObjMessagehdlr(), and SCIPmessageSetErrorPrinting().

Referenced by scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE().