GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Enumerations | Functions | Variables
input.h File Reference
#include <cstdio>
#include <string>
#include "oct-time.h"
#include "oct-obj.h"
#include "pager.h"
Include dependency graph for input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  octave_base_reader
 
class  octave_eval_string_reader
 
class  octave_file_reader
 
class  octave_input_reader
 
class  octave_terminal_reader
 

Enumerations

enum  echo_state { ECHO_OFF = 0, ECHO_SCRIPTS = 1, ECHO_FUNCTIONS = 2, ECHO_CMD_LINE = 4 }
 

Functions

octave_value do_keyboard (const octave_value_list &args=octave_value_list())
 
OCTINTERP_API FILE * get_input_from_stdin (void)
 
void initialize_command_input (void)
 
bool octave_yes_or_no (const std::string &prompt)
 
void remove_input_event_hook_functions (void)
 
void set_default_prompts (void)
 

Variables

bool forced_interactive
 
bool interactive
 
bool octave_completion_matches_called
 
OCTINTERP_API bool Vdebugging
 
OCTINTERP_API bool Vdrawnow_requested
 
int Vecho_executing_commands
 
char Vfilemarker
 
octave_time Vlast_prompt_time
 
std::string VPS4
 

Enumeration Type Documentation

enum echo_state
Enumerator
ECHO_OFF 
ECHO_SCRIPTS 
ECHO_FUNCTIONS 
ECHO_CMD_LINE 

Definition at line 73 of file input.h.

Function Documentation

octave_value do_keyboard ( const octave_value_list args = octave_value_list())
OCTINTERP_API FILE* get_input_from_stdin ( void  )
void initialize_command_input ( void  )
bool octave_yes_or_no ( const std::string &  prompt)

Definition at line 798 of file input.cc.

References interactive_input(), and message().

Referenced by Frmdir(), and Fyes_or_no().

void remove_input_event_hook_functions ( void  )

Definition at line 133 of file input.cc.

References hook_function_list::clear().

Referenced by do_octave_atexit().

void set_default_prompts ( void  )

Definition at line 139 of file input.cc.

References octave_link::set_default_prompts(), VPS1, VPS2, and VPS4.

Referenced by octave_initialize_interpreter().

Variable Documentation

bool forced_interactive
bool interactive
bool octave_completion_matches_called

Definition at line 110 of file input.cc.

Referenced by Fcompletion_matches(), get_debug_input(), and main_loop().

OCTINTERP_API bool Vdebugging
OCTINTERP_API bool Vdrawnow_requested
int Vecho_executing_commands
char Vfilemarker
octave_time Vlast_prompt_time

Definition at line 97 of file input.cc.

Referenced by out_of_date_check(), and rehash_internal().

std::string VPS4