GNU Octave  4.2.1
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 | Namespaces | Enumerations | Functions | Variables
input.h File Reference
#include "octave-config.h"
#include <cstdio>
#include <string>
#include "oct-refcount.h"
#include "oct-time.h"
#include "ovl.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
 

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 

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())
 
std::string find_indexed_expression (const std::string &text)
 
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

enum echo_state fflush
 
bool octave_completion_matches_called
 
OCTINTERP_API bool Vdebugging
 
OCTINTERP_API bool Vdrawnow_requested
 
int Vecho_executing_commands
 
char Vfilemarker
 
octave::sys::time Vlast_prompt_time
 
std::string VPS4
 
OCTINTERP_API bool Vtrack_line_num
 

Enumeration Type Documentation

enum echo_state
Enumerator
ECHO_OFF 
ECHO_SCRIPTS 
ECHO_FUNCTIONS 
ECHO_CMD_LINE 

Definition at line 77 of file input.h.

Function Documentation

octave_value do_keyboard ( const octave_value_list args = octave_value_list())
std::string find_indexed_expression ( const std::string text)

Definition at line 509 of file input.cc.

References octave::command_editor::get_line_buffer(), and string.

Referenced by generate_struct_completions().

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  )

Definition at line 130 of file input.cc.

References hook_function_list::clear().

void set_default_prompts ( void  )

Definition at line 136 of file input.cc.

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

Variable Documentation

enum echo_state fflush
bool octave_completion_matches_called

Definition at line 102 of file input.cc.

OCTINTERP_API bool Vdebugging
OCTINTERP_API bool Vdrawnow_requested
int Vecho_executing_commands
char Vfilemarker
octave::sys::time Vlast_prompt_time

Definition at line 96 of file input.cc.

Referenced by out_of_date_check(), and rehash_internal().

OCTINTERP_API bool Vtrack_line_num