pub_dialog.h
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
63 /** returns the next line in the handler's command buffer; if the buffer is empty, displays the given prompt or the
64 * current dialog's path and asks the user for further input; the user must not free or modify the returned string
75 /** returns the next word in the handler's command buffer; if the buffer is empty, displays the given prompt or the
76 * current dialog's path and asks the user for further input; the user must not free or modify the returned string
87 /** adds a single line of input to the dialog handler which is treated as if the user entered the command line */
94 /** adds a command to the command history of the dialog handler; if a dialog is given, the command is preceeded
95 * by the dialog's command path; if no command is given, only the path to the dialog is added to the command history
102 SCIP_Bool escapecommand /**< should special characters in command be prefixed by an escape char? */
112 /** returns TRUE iff a dialog entry matching exactly the given name is existing in the given dialog */
SCIP_EXPORT SCIP_RETCODE SCIPdialoghdlrGetWord(SCIP_DIALOGHDLR *dialoghdlr, SCIP_DIALOG *dialog, const char *prompt, char **inputword, SCIP_Bool *endoffile)
Definition: dialog.c:533
Definition: struct_scip.h:58
SCIP_EXPORT SCIP_Bool SCIPdialoghdlrIsBufferEmpty(SCIP_DIALOGHDLR *dialoghdlr)
Definition: dialog.c:444
SCIP_EXPORT void SCIPdialogGetPath(SCIP_DIALOG *dialog, const char sepchar, char *path)
Definition: dialog.c:1158
SCIP_EXPORT SCIP_RETCODE SCIPdialogDisplayMenuEntry(SCIP_DIALOG *dialog, SCIP *scip)
Definition: dialog.c:1093
SCIP_EXPORT SCIP_DIALOGDATA * SCIPdialogGetData(SCIP_DIALOG *dialog)
Definition: dialog.c:1240
SCIP_EXPORT SCIP_RETCODE SCIPdialoghdlrAddInputLine(SCIP_DIALOGHDLR *dialoghdlr, const char *inputline)
Definition: dialog.c:684
Definition: struct_dialog.h:36
type definitions for return codes for SCIP methods
SCIP_EXPORT SCIP_RETCODE SCIPdialoghdlrGetLine(SCIP_DIALOGHDLR *dialoghdlr, SCIP_DIALOG *dialog, const char *prompt, char **inputline, SCIP_Bool *endoffile)
Definition: dialog.c:457
SCIP_EXPORT SCIP_DIALOG * SCIPdialoghdlrGetRoot(SCIP_DIALOGHDLR *dialoghdlr)
Definition: dialog.c:423
SCIP_EXPORT int SCIPdialogGetNSubdialogs(SCIP_DIALOG *dialog)
Definition: dialog.c:1230
SCIP_EXPORT SCIP_RETCODE SCIPdialoghdlrAddHistory(SCIP_DIALOGHDLR *dialoghdlr, SCIP_DIALOG *dialog, const char *command, SCIP_Bool escapecommand)
Definition: dialog.c:713
type definitions for SCIP's main datastructure
SCIP_EXPORT SCIP_RETCODE SCIPdialogDisplayCompletions(SCIP_DIALOG *dialog, SCIP *scip, const char *entryname)
Definition: dialog.c:1127
SCIP_EXPORT SCIP_RETCODE SCIPdialogWriteHistory(const char *filename)
Definition: dialog.c:1261
SCIP_EXPORT SCIP_DIALOG ** SCIPdialogGetSubdialogs(SCIP_DIALOG *dialog)
Definition: dialog.c:1220
SCIP_EXPORT const char * SCIPdialogGetDesc(SCIP_DIALOG *dialog)
Definition: dialog.c:1190
SCIP_EXPORT const char * SCIPdialogGetName(SCIP_DIALOG *dialog)
Definition: dialog.c:1180
Definition: struct_dialog.h:61
SCIP_EXPORT SCIP_Bool SCIPdialogHasEntry(SCIP_DIALOG *dialog, const char *entryname)
Definition: dialog.c:982
SCIP_EXPORT int SCIPdialogFindEntry(SCIP_DIALOG *dialog, const char *entryname, SCIP_DIALOG **subdialog)
Definition: dialog.c:1015
SCIP_EXPORT SCIP_DIALOG * SCIPdialogGetParent(SCIP_DIALOG *dialog)
Definition: dialog.c:1210
type definitions for user interface dialog
SCIP_EXPORT void SCIPdialogSetData(SCIP_DIALOG *dialog, SCIP_DIALOGDATA *dialogdata)
Definition: dialog.c:1250
SCIP_EXPORT SCIP_Bool SCIPdialogIsSubmenu(SCIP_DIALOG *dialog)
Definition: dialog.c:1200
common defines and data types used in all packages of SCIP
SCIP_EXPORT SCIP_RETCODE SCIPdialogDisplayMenu(SCIP_DIALOG *dialog, SCIP *scip)
Definition: dialog.c:1059
Definition: objbenders.h:33
SCIP_EXPORT void SCIPdialoghdlrClearBuffer(SCIP_DIALOGHDLR *dialoghdlr)
Definition: dialog.c:433