Scippy

GCG

Branch-and-Price & Column Generation for Everyone

objdialog.cpp File Reference

Detailed Description

C++ wrapper for dialogs.

Author
Kati Wolter
Martin Bergner

Definition in file objdialog.cpp.

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

Go to the source code of this file.

Data Structures

struct  SCIP_DialogData
 

Macros

#define dialogCopyObj   NULL
 

Functions

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

Macro Definition Documentation

◆ dialogCopyObj

#define dialogCopyObj   NULL

Definition at line 59 of file objdialog.cpp.

Function Documentation

◆ SCIP_DECL_DIALOGFREE()

static SCIP_DECL_DIALOGFREE ( dialogFreeObj  )
static

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

Definition at line 62 of file objdialog.cpp.

◆ SCIP_DECL_DIALOGDESC()

static SCIP_DECL_DIALOGDESC ( dialogDescObj  )
static

description output method of dialog

Definition at line 88 of file objdialog.cpp.

◆ SCIP_DECL_DIALOGEXEC()

static SCIP_DECL_DIALOGEXEC ( dialogExecObj  )
static

execution method of dialog

Definition at line 105 of file objdialog.cpp.

◆ SCIPincludeObjDialog()

SCIP_RETCODE SCIPincludeObjDialog ( SCIP *  scip,
SCIP_DIALOG *  parentdialog,
gcg::ObjDialog objdialog,
SCIP_Bool  deleteobject 
)

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

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

Definition at line 127 of file objdialog.cpp.

References dialogCopyObj, gcg::ObjDialog::scip_desc_, gcg::ObjDialog::scip_issubmenu_, and gcg::ObjDialog::scip_name_.

Referenced by GCGincludeDialogsGraph(), and GCGincludeGraphEntries().