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:537
Definition: struct_scip.h:59
SCIP_EXPORT SCIP_Bool SCIPdialoghdlrIsBufferEmpty(SCIP_DIALOGHDLR *dialoghdlr)
Definition: dialog.c:448
SCIP_EXPORT void SCIPdialogGetPath(SCIP_DIALOG *dialog, const char sepchar, char *path)
Definition: dialog.c:1162
SCIP_EXPORT SCIP_RETCODE SCIPdialogDisplayMenuEntry(SCIP_DIALOG *dialog, SCIP *scip)
Definition: dialog.c:1097
SCIP_EXPORT SCIP_DIALOGDATA * SCIPdialogGetData(SCIP_DIALOG *dialog)
Definition: dialog.c:1244
SCIP_EXPORT SCIP_RETCODE SCIPdialoghdlrAddInputLine(SCIP_DIALOGHDLR *dialoghdlr, const char *inputline)
Definition: dialog.c:688
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:461
SCIP_EXPORT SCIP_DIALOG * SCIPdialoghdlrGetRoot(SCIP_DIALOGHDLR *dialoghdlr)
Definition: dialog.c:427
SCIP_EXPORT int SCIPdialogGetNSubdialogs(SCIP_DIALOG *dialog)
Definition: dialog.c:1234
SCIP_EXPORT SCIP_RETCODE SCIPdialoghdlrAddHistory(SCIP_DIALOGHDLR *dialoghdlr, SCIP_DIALOG *dialog, const char *command, SCIP_Bool escapecommand)
Definition: dialog.c:717
type definitions for SCIP's main datastructure
SCIP_EXPORT SCIP_RETCODE SCIPdialogDisplayCompletions(SCIP_DIALOG *dialog, SCIP *scip, const char *entryname)
Definition: dialog.c:1131
SCIP_EXPORT SCIP_RETCODE SCIPdialogWriteHistory(const char *filename)
Definition: dialog.c:1265
SCIP_EXPORT SCIP_DIALOG ** SCIPdialogGetSubdialogs(SCIP_DIALOG *dialog)
Definition: dialog.c:1224
SCIP_EXPORT const char * SCIPdialogGetDesc(SCIP_DIALOG *dialog)
Definition: dialog.c:1194
SCIP_EXPORT const char * SCIPdialogGetName(SCIP_DIALOG *dialog)
Definition: dialog.c:1184
Definition: struct_dialog.h:61
SCIP_EXPORT SCIP_Bool SCIPdialogHasEntry(SCIP_DIALOG *dialog, const char *entryname)
Definition: dialog.c:986
SCIP_EXPORT int SCIPdialogFindEntry(SCIP_DIALOG *dialog, const char *entryname, SCIP_DIALOG **subdialog)
Definition: dialog.c:1019
SCIP_EXPORT SCIP_DIALOG * SCIPdialogGetParent(SCIP_DIALOG *dialog)
Definition: dialog.c:1214
type definitions for user interface dialog
SCIP_EXPORT void SCIPdialogSetData(SCIP_DIALOG *dialog, SCIP_DIALOGDATA *dialogdata)
Definition: dialog.c:1254
SCIP_EXPORT SCIP_Bool SCIPdialogIsSubmenu(SCIP_DIALOG *dialog)
Definition: dialog.c:1204
common defines and data types used in all packages of SCIP
SCIP_EXPORT SCIP_RETCODE SCIPdialogDisplayMenu(SCIP_DIALOG *dialog, SCIP *scip)
Definition: dialog.c:1063
Definition: objbenders.h:33
SCIP_EXPORT void SCIPdialoghdlrClearBuffer(SCIP_DIALOGHDLR *dialoghdlr)
Definition: dialog.c:437