Scippy

SCIP

Solving Constraint Integer Programs

scip::ObjMessagehdlr Class Reference

Detailed Description

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 40 of file objmessagehdlr.h.

#include <objmessagehdlr.h>

Public Member Functions

 ObjMessagehdlr (SCIP_Bool bufferedoutput)
 
virtual ~ObjMessagehdlr ()
 
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_
 

Constructor & Destructor Documentation

scip::ObjMessagehdlr::ObjMessagehdlr ( SCIP_Bool  bufferedoutput)
inline

default constructor

Parameters
bufferedoutputshould the output be buffered up to the next newline?

Definition at line 47 of file objmessagehdlr.h.

virtual scip::ObjMessagehdlr::~ObjMessagehdlr ( )
inlinevirtual

destructor

Definition at line 55 of file objmessagehdlr.h.

Member Function Documentation

virtual scip::ObjMessagehdlr::SCIP_DECL_MESSAGEWARNING ( scip_warning  )
inlinevirtual

warning message print method of message handler

See also
SCIP_DECL_MESSAGEWARNING(x) in type_message.h

Definition at line 63 of file objmessagehdlr.h.

virtual scip::ObjMessagehdlr::SCIP_DECL_MESSAGEDIALOG ( scip_dialog  )
inlinevirtual

dialog message print method of message handler

See also
SCIP_DECL_MESSAGEDIALOG(x) in type_message.h

Definition at line 72 of file objmessagehdlr.h.

virtual scip::ObjMessagehdlr::SCIP_DECL_MESSAGEINFO ( scip_info  )
inlinevirtual

info message print method of message handler

See also
SCIP_DECL_MESSAGEINFO(x) in type_message.h

Definition at line 81 of file objmessagehdlr.h.

virtual scip::ObjMessagehdlr::SCIP_DECL_MESSAGEHDLRFREE ( scip_free  )
inlinevirtual

destructor of message handler to free message handler data

See also
SCIP_DECL_MESSAGEHDLRFREE(x) in type_message.h

Definition at line 90 of file objmessagehdlr.h.

References SCIP_Bool, SCIP_OKAY, SCIPcreateObjMessagehdlr(), and SCIPgetObjMessagehdlr().

Field Documentation

const SCIP_Bool scip::ObjMessagehdlr::scip_bufferedoutput_

should the output be buffered up to the next newline?

Definition at line 44 of file objmessagehdlr.h.

Referenced by SCIPcreateObjMessagehdlr().