C++ wrapper for dialogs.
This class defines the interface for dialogs implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_exec().
Definition at line 53 of file objdialog.h.
C++ wrapper for dialogs. More...
#include <objdialog.h>
Public Member Functions | |
ObjDialog (SCIP *scip, const char *name, const char *desc, SCIP_Bool issubmenu) | |
ObjDialog (const ObjDialog &o) | |
ObjDialog (ObjDialog &&o) | |
virtual | ~ObjDialog () |
ObjDialog & | operator= (const ObjDialog &o)=delete |
ObjDialog & | operator= (ObjDialog &&o)=delete |
virtual | SCIP_DECL_DIALOGFREE (scip_free) |
virtual | SCIP_DECL_DIALOGDESC (scip_desc) |
virtual | SCIP_DECL_DIALOGEXEC (scip_exec)=0 |
![]() | |
virtual | ~ObjCloneable () |
ObjCloneable & | operator= (const ObjCloneable &o)=delete |
ObjCloneable & | operator= (ObjCloneable &&o)=delete |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
const SCIP_Bool | scip_issubmenu_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of the dialog |
desc | description of the dialog |
issubmenu | default for whether the dialog is a menu |
Definition at line 71 of file objdialog.h.
References scip_, SCIP_CALL_ABORT, scip_desc_, scip_name_, and SCIPduplicateMemoryArray.
copy constructor
Definition at line 88 of file objdialog.h.
|
inline |
move constructor
Definition at line 91 of file objdialog.h.
References i, scip_desc_, and scip_name_.
|
inlinevirtual |
destructor
Definition at line 98 of file objdialog.h.
References scip_, scip_desc_, scip_name_, and SCIPfreeMemoryArray.
assignment of polymorphic classes causes slicing and is therefore disabled.
assignment of polymorphic classes causes slicing and is therefore disabled.
destructor of dialog to free user data (called when SCIP is exiting)
Definition at line 116 of file objdialog.h.
References SCIP_OKAY.
description output method of dialog
Definition at line 125 of file objdialog.h.
References scip_desc_, SCIP_OKAY, and SCIPdialogMessage().
execution method of dialog
SCIP* scip::ObjDialog::scip_ |
SCIP data structure
Definition at line 59 of file objdialog.h.
Referenced by ObjDialog(), and ~ObjDialog().
char* scip::ObjDialog::scip_name_ |
name of the dialog
Definition at line 62 of file objdialog.h.
Referenced by ObjDialog(), ObjDialog(), SCIPincludeObjDialog(), and ~ObjDialog().
char* scip::ObjDialog::scip_desc_ |
description of the dialog
Definition at line 65 of file objdialog.h.
Referenced by ObjDialog(), ObjDialog(), SCIP_DECL_DIALOGDESC(), SCIPincludeObjDialog(), and ~ObjDialog().
default for whether the dialog is a menu
Definition at line 68 of file objdialog.h.
Referenced by SCIPincludeObjDialog().