Detailed Description
C++ wrapper for dialogs.
Definition in file objdialog.cpp.
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 | GCGincludeObjDialog (GCG *gcg, SCIP_DIALOG *parentdialog, gcg::ObjDialog *objdialog, SCIP_Bool deleteobject) |
Macro Definition Documentation
◆ dialogCopyObj
| #define dialogCopyObj NULL |
Definition at line 60 of file objdialog.cpp.
Function Documentation
◆ SCIP_DECL_DIALOGFREE()
|
static |
destructor of dialog to free user data (called when SCIP is exiting)
Definition at line 63 of file objdialog.cpp.
References SCIP_DialogData::deleteobject, SCIP_DialogData::objdialog, SCIP_CALL, SCIP_OKAY, SCIPdialogGetData(), and SCIPdialogSetData().
◆ SCIP_DECL_DIALOGDESC()
|
static |
description output method of dialog
Definition at line 88 of file objdialog.cpp.
References SCIP_DialogData::objdialog, SCIP_CALL, SCIP_OKAY, and SCIPdialogGetData().
◆ SCIP_DECL_DIALOGEXEC()
|
static |
execution method of dialog
Definition at line 104 of file objdialog.cpp.
References SCIP_DialogData::objdialog, SCIP_CALL, SCIP_OKAY, and SCIPdialogGetData().
◆ GCGincludeObjDialog()
| SCIP_RETCODE GCGincludeObjDialog | ( | GCG * | gcg, |
| SCIP_DIALOG * | parentdialog, | ||
| gcg::ObjDialog * | objdialog, | ||
| SCIP_Bool | deleteobject | ||
| ) |
creates the dialog for the given dialog object and includes it in SCIP
- Parameters
-
gcg GCG data structure parentdialog parent dialog objdialog dialog object deleteobject should the dialog object be deleted when dialog is freed?
Definition at line 126 of file objdialog.cpp.
References SCIP_DialogData::deleteobject, dialogCopyObj, GCGgetOrigprob(), SCIP_DialogData::objdialog, SCIP_CALL, gcg::ObjDialog::scip_desc_, gcg::ObjDialog::scip_issubmenu_, gcg::ObjDialog::scip_name_, SCIP_OKAY, SCIPaddDialogEntry(), SCIPdialogHasEntry(), SCIPincludeDialog(), and SCIPreleaseDialog().
Referenced by GCGincludeDialogsGraph(), and GCGincludeGraphEntries().