Detailed Description
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 56 of file objdialog.h.
C++ wrapper for dialogs. More...
#include <objdialog.h>
Public Member Functions | |
| ObjDialog (GCG *gcgstruct, const char *name, const char *desc, SCIP_Bool issubmenu) | |
| virtual | ~ObjDialog () |
| virtual | SCIP_DECL_DIALOGFREE (scip_free) |
| virtual | SCIP_DECL_DIALOGDESC (scip_desc) |
| virtual | SCIP_DECL_DIALOGEXEC (scip_exec)=0 |
| Public Member Functions inherited from scip::ObjCloneable | |
| 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 | |
| GCG * | gcg |
| char * | scip_name_ |
| char * | scip_desc_ |
| const SCIP_Bool | scip_issubmenu_ |
Constructor & Destructor Documentation
◆ ObjDialog()
|
inline |
default constructor
- Parameters
-
gcgstruct GCG data structure name name of the dialog desc description of the dialog issubmenu default for whether the dialog is a menu
Definition at line 74 of file objdialog.h.
References scip_desc_, scip_issubmenu_, and scip_name_.
Referenced by gcg::DialogGraph::DialogGraph(), gcg::DialogReadGraphs< T, G >::DialogReadGraphs(), gcg::DialogReadPartition::DialogReadPartition(), gcg::DialogWriteGraph::DialogWriteGraph(), and gcg::DialogWriteGraphs< T, G >::DialogWriteGraphs().
◆ ~ObjDialog()
|
inlinevirtual |
Member Function Documentation
◆ SCIP_DECL_DIALOGFREE()
|
inlinevirtual |
destructor of dialog to free user data (called when SCIP is exiting)
- See also
- SCIP_DECL_DIALOGFREE(x) in type_dialog.h
Definition at line 104 of file objdialog.h.
◆ SCIP_DECL_DIALOGDESC()
|
inlinevirtual |
description output method of dialog
- See also
- SCIP_DECL_DIALOGDESC(x) in type_dialog.h
Definition at line 113 of file objdialog.h.
References scip_desc_.
◆ SCIP_DECL_DIALOGEXEC()
|
pure virtual |
execution method of dialog
- See also
- SCIP_DECL_DIALOGEXEC(x) in type_dialog.h
Implemented in gcg::DialogGraph, gcg::DialogReadGraphs< T, G >, gcg::DialogReadPartition, gcg::DialogWriteGraph, and gcg::DialogWriteGraphs< T, G >.
Field Documentation
◆ gcg
| GCG* gcg::ObjDialog::gcg |
GCG data structure
Definition at line 62 of file objdialog.h.
◆ scip_name_
| char* gcg::ObjDialog::scip_name_ |
name of the dialog
Definition at line 65 of file objdialog.h.
Referenced by GCGincludeObjDialog(), ObjDialog(), and ~ObjDialog().
◆ scip_desc_
| char* gcg::ObjDialog::scip_desc_ |
description of the dialog
Definition at line 68 of file objdialog.h.
Referenced by GCGincludeObjDialog(), ObjDialog(), SCIP_DECL_DIALOGDESC(), and ~ObjDialog().
◆ scip_issubmenu_
| const SCIP_Bool gcg::ObjDialog::scip_issubmenu_ |
default for whether the dialog is a menu
Definition at line 71 of file objdialog.h.
Referenced by GCGincludeObjDialog(), and ObjDialog().