Scippy

SCIP

Solving Constraint Integer Programs

objdialog.cpp File Reference

Detailed Description

C++ wrapper for dialogs.

Author
Kati Wolter

Definition in file objdialog.cpp.

#include <cassert>
#include "objdialog.h"

Go to the source code of this file.

Functions

static SCIP_DECL_DIALOGCOPY (dialogCopyObj)
 
static SCIP_DECL_DIALOGFREE (dialogFreeObj)
 
static SCIP_DECL_DIALOGDESC (dialogDescObj)
 
static SCIP_DECL_DIALOGEXEC (dialogExecObj)
 
SCIP_RETCODE SCIPincludeObjDialog (SCIP *scip, scip::ObjDialog *objdialog, SCIP_Bool deleteobject)
 

Function Documentation

◆ SCIP_DECL_DIALOGCOPY()

static SCIP_DECL_DIALOGCOPY ( dialogCopyObj  )
static

copy method for dialog plugins (called when SCIP copies plugins)

Definition at line 62 of file objdialog.cpp.

References SCIP_CALL, SCIP_OKAY, SCIPdialogGetData(), SCIPincludeObjDialog(), and TRUE.

◆ SCIP_DECL_DIALOGFREE()

static SCIP_DECL_DIALOGFREE ( dialogFreeObj  )
static

destructor of dialog to free user data (called when SCIP is exiting)

Definition at line 87 of file objdialog.cpp.

References SCIP_CALL, SCIP_OKAY, SCIPdialogGetData(), and SCIPdialogSetData().

◆ SCIP_DECL_DIALOGDESC()

static SCIP_DECL_DIALOGDESC ( dialogDescObj  )
static

description output method of dialog

Definition at line 113 of file objdialog.cpp.

References SCIP_CALL, SCIP_OKAY, and SCIPdialogGetData().

◆ SCIP_DECL_DIALOGEXEC()

static SCIP_DECL_DIALOGEXEC ( dialogExecObj  )
static

execution method of dialog

Definition at line 130 of file objdialog.cpp.

References SCIP_CALL, SCIP_OKAY, and SCIPdialogGetData().

◆ SCIPincludeObjDialog()

SCIP_RETCODE SCIPincludeObjDialog ( SCIP scip,
scip::ObjDialog objdialog,
SCIP_Bool  deleteobject 
)

creates the dialog for the given dialog object and includes it in SCIP

Parameters
scipSCIP data structure
objdialogdialog object
deleteobjectshould the dialog object be deleted when dialog is freed?

Definition at line 152 of file objdialog.cpp.

References SCIP_CALL, scip::ObjDialog::scip_desc_, scip::ObjDialog::scip_issubmenu_, scip::ObjDialog::scip_name_, SCIP_OKAY, SCIPaddDialogEntry(), SCIPdialogHasEntry(), SCIPgetRootDialog(), SCIPincludeDialog(), and SCIPreleaseDialog().

Referenced by SCIP_DECL_DIALOGCOPY(), and scip::ObjDialog::SCIP_DECL_DIALOGDESC().