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

static SCIP_DECL_DIALOGCOPY ( dialogCopyObj  )
static

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

Definition at line 53 of file objdialog.cpp.

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

static SCIP_DECL_DIALOGFREE ( dialogFreeObj  )
static

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

Definition at line 78 of file objdialog.cpp.

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

static SCIP_DECL_DIALOGDESC ( dialogDescObj  )
static

description output method of dialog

Definition at line 104 of file objdialog.cpp.

References SCIP_CALL, SCIP_OKAY, and SCIPdialogGetData().

static SCIP_DECL_DIALOGEXEC ( dialogExecObj  )
static

execution method of dialog

Definition at line 121 of file objdialog.cpp.

References SCIP_CALL, SCIP_OKAY, and SCIPdialogGetData().

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 143 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().