Detailed Description
type definitions for message output methods
This file defines the interface for message handlers implemented in C.
Definition in file type_message.h.
Go to the source code of this file.
Macros | |
#define | SCIP_DECL_MESSAGEOUTPUTFUNC(x) void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
#define | SCIP_DECL_ERRORPRINTING(x) void x (void* data, FILE* file, const char* msg) |
#define | SCIP_DECL_MESSAGEWARNING(x) void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
#define | SCIP_DECL_MESSAGEDIALOG(x) void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
#define | SCIP_DECL_MESSAGEINFO(x) void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
#define | SCIP_DECL_MESSAGEHDLRFREE(x) SCIP_RETCODE x (SCIP_MESSAGEHDLR* messagehdlr) |
Typedefs | |
typedef enum SCIP_VerbLevel | SCIP_VERBLEVEL |
typedef struct SCIP_Messagehdlr | SCIP_MESSAGEHDLR |
typedef struct SCIP_MessagehdlrData | SCIP_MESSAGEHDLRDATA |
Enumerations | |
enum | SCIP_VerbLevel { SCIP_VERBLEVEL_NONE = 0 , SCIP_VERBLEVEL_DIALOG = 1 , SCIP_VERBLEVEL_MINIMAL = 2 , SCIP_VERBLEVEL_NORMAL = 3 , SCIP_VERBLEVEL_HIGH = 4 , SCIP_VERBLEVEL_FULL = 5 } |
Macro Definition Documentation
◆ SCIP_DECL_MESSAGEOUTPUTFUNC
#define SCIP_DECL_MESSAGEOUTPUTFUNC | ( | x | ) | void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
generic messagehandler output function
Should be equal to SCIP_DECL_MESSAGEWARNING, SCIP_DECL_MESSAGEDIALOG, and SCIP_DECL_MESSAGEINFO
Definition at line 68 of file type_message.h.
◆ SCIP_DECL_ERRORPRINTING
error message print method
This method is invoked, if SCIP wants to display an error message to the screen or a file.
- Note
- This function is independent of any message handler.
input:
- data : data pointer
- file : file stream to print into
- msg : string to output into the file (or NULL to flush)
Definition at line 82 of file type_message.h.
◆ SCIP_DECL_MESSAGEWARNING
#define SCIP_DECL_MESSAGEWARNING | ( | x | ) | void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
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.
input:
- messagehdlr : the message handler itself
- file : file stream to print into
- msg : string to output into the file (or NULL to flush)
Definition at line 93 of file type_message.h.
◆ SCIP_DECL_MESSAGEDIALOG
#define SCIP_DECL_MESSAGEDIALOG | ( | x | ) | void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
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.
input:
- messagehdlr : the message handler itself
- file : file stream to print into
- msg : string to output into the file (or NULL to flush)
Definition at line 104 of file type_message.h.
◆ SCIP_DECL_MESSAGEINFO
#define SCIP_DECL_MESSAGEINFO | ( | x | ) | void x (SCIP_MESSAGEHDLR* messagehdlr, FILE* file, const char* msg) |
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.
input:
- messagehdlr : the message handler itself
- file : file stream to print into
- msg : string to output into the file (or NULL to flush)
Definition at line 115 of file type_message.h.
◆ SCIP_DECL_MESSAGEHDLRFREE
#define SCIP_DECL_MESSAGEHDLRFREE | ( | x | ) | SCIP_RETCODE x (SCIP_MESSAGEHDLR* messagehdlr) |
destructor of message handler to free message handler data
This method is invoked, if SCIP wants to free a message handler.
input:
- messagehdlr : the message handler itself
Definition at line 124 of file type_message.h.
Typedef Documentation
◆ SCIP_VERBLEVEL
typedef enum SCIP_VerbLevel SCIP_VERBLEVEL |
Definition at line 59 of file type_message.h.
◆ SCIP_MESSAGEHDLR
typedef struct SCIP_Messagehdlr SCIP_MESSAGEHDLR |
message handler
Definition at line 61 of file type_message.h.
◆ SCIP_MESSAGEHDLRDATA
typedef struct SCIP_MessagehdlrData SCIP_MESSAGEHDLRDATA |
message handler data
Definition at line 62 of file type_message.h.
Enumeration Type Documentation
◆ SCIP_VerbLevel
enum SCIP_VerbLevel |
verbosity levels of output
Definition at line 50 of file type_message.h.