A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/scip__exception_8hpp.php below:

SCIP Doxygen Documentation: examples/Queens/src/scip_exception.hpp File Reference

exception handling for SCIP

Definition in file scip_exception.hpp.

#include <exception>
#include <string>
#include <scip/scip.h>
#include <scip/misc.h>

Go to the source code of this file.

◆ SCIP_MSG_MAX ◆ SCIP_CALL_EXC #define SCIP_CALL_EXC (   x ) Value:

{ \

SCIP_RETCODE retcode; \

{ \

} \

}

exception handling class for SCIP

macro to call scip function with exception handling

this macro calls a SCIP function and throws an instance of SCIPException if anything went wrong

Definition at line 159 of file scip_exception.hpp.

◆ SCIPgetErrorString() char * SCIPgetErrorString ( SCIP_RETCODE  retcode, char *  buffer_str, int  buffersize  ) inline

translates a SCIP_RETCODE into an error string

Parameters
[in] retcode SCIP_RETCODE you want to translate [in] buffersize size of buffer [out] buffer_str buffer to character array to store translated message, this must be at least of size SCIP_MSG_MAX
Returns
buffer_str or NULL, if retcode could not be translated

Definition at line 40 of file scip_exception.hpp.

References NULL, SCIP_BRANCHERROR, SCIP_ERROR, SCIP_FILECREATEERROR, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_INVALIDRESULT, SCIP_KEYALREADYEXISTING, SCIP_LPERROR, SCIP_MAXDEPTHLEVEL, SCIP_NOFILE, SCIP_NOMEMORY, SCIP_NOPROBLEM, SCIP_NOTIMPLEMENTED, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMETERWRONGVAL, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIP_WRITEERROR, and SCIPsnprintf().

Referenced by SCIPException::SCIPException().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4