Itasca C++ Interface
|
This class provides FISH with input data. More...
#include <iinput.h>
Public Member Functions | |
virtual void | debug (IDebug *fishdebug, const IString &message)=0 |
virtual IString | checkIntrinsicPlugin ()=0 |
Checks if the system supports FISH intrinsic plugins. Non-null string indicates error message. | |
virtual void | poll ()=0 |
virtual itasca::IGUIInput * | getIGUIInput ()=0 |
Returns interface to graphics user interface input functionality. May return a null value. | |
virtual bool | isTestMode ()=0 |
Returns TRUE if command processing is in TEST mode. | |
virtual IString | getInput (const IString &prompt, bool interactive)=0 |
This class provides FISH with input data.
Stops FISH processing and waits, providing an IFishDebug interface to give the function implementation a chance to debug the FISH code. This interface can be used to query variables, step through the function, etc. This function is intended to be the main interface to a FISH debugger implemented by the program controlling FISH.
fishdebug | A pointer to the IFishDebug interface that will be used to control the debug session. |
message | A message indicating why FISH processing was stopped and control passed to the debugger. |
Returns a single line of input from the current source. Will automatically pop the stack and use the next source if the current one runs out.
prompt | The prompt to use on the command line if appropriate. |
interactive | TRUE if the FISH input source is considered "interactive", i.e. the next line from a data file is not appropriate. |
|
pure virtual |
Allows GUI to interrupt if necessary, will throw InterruptException(false) if indicated by the system. Quit command will throw an exception.