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.

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_file (const std::string &name, int warn=1)
OCTINTERP_API FILE * get_input_from_stdin (void)
std::string gnu_readline (const std::string &s, bool force_readline=false)
void initialize_command_input (void)
OCTINTERP_API int octave_read (char *buf, unsigned max_size)
bool octave_yes_or_no (const std::string &prompt)

Variables

std::string curr_fcn_file_full_name
std::string curr_fcn_file_name
std::string current_eval_string
std::string current_input_line
FILE * ff_instream
bool forced_interactive
bool get_input_from_eval_string
bool input_from_command_line_file
bool input_from_eval_string_pending
bool interactive
bool octave_completion_matches_called
int promptflag
bool reading_classdef_file
bool reading_fcn_file
bool reading_script_file
bool stdin_is_tty
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 111 of file input.h.


Function Documentation

octave_value do_keyboard ( const octave_value_list args = octave_value_list()  ) 
OCTINTERP_API FILE* get_input_from_file ( const std::string &  name,
int  warn = 1 
)
OCTINTERP_API FILE* get_input_from_stdin ( void   ) 
std::string gnu_readline ( const std::string &  s,
bool  force_readline = false 
)
void initialize_command_input ( void   ) 
OCTINTERP_API int octave_read ( char buf,
unsigned  max_size 
)

Definition at line 362 of file input.cc.

References get_user_input().

bool octave_yes_or_no ( const std::string &  prompt  ) 

Definition at line 893 of file input.cc.

References interactive_input(), and message().

Referenced by DEFUN(), and DEFUNX().


Variable Documentation

Definition at line 124 of file input.cc.

Referenced by execute_command_line_file().

std::string curr_fcn_file_name

Definition at line 121 of file input.cc.

Referenced by execute_command_line_file(), and tree_checker::gripe().

std::string current_eval_string

Definition at line 98 of file input.cc.

Referenced by get_user_input().

std::string current_input_line

Definition at line 142 of file input.cc.

Referenced by get_user_input(), and octave_gets().

FILE* ff_instream

Definition at line 130 of file input.cc.

Referenced by get_input_from_file(), and gnu_readline().

Definition at line 101 of file input.cc.

Referenced by get_debug_input(), get_user_input(), and octave_gets().

Definition at line 109 of file input.cc.

Referenced by execute_command_line_file(), get_debug_input(), and octave_gets().

Definition at line 105 of file input.cc.

Referenced by get_user_input().

Definition at line 145 of file input.cc.

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

Definition at line 139 of file input.cc.

Definition at line 118 of file input.cc.

Referenced by get_debug_input(), get_input_from_file(), gnu_readline(), and octave_gets().

Definition at line 115 of file input.cc.

Referenced by get_debug_input(), get_input_from_file(), gnu_readline(), and octave_gets().

Definition at line 112 of file input.cc.

Referenced by octave_main().

OCTINTERP_API bool Vdebugging
OCTINTERP_API bool Vdrawnow_requested

Definition at line 149 of file input.cc.

Referenced by DEFUN(), delete_graphics_object(), interactive_input(), and make_graphics_object().

Definition at line 92 of file input.cc.

Referenced by out_of_date_check(), and rehash_internal().

std::string VPS4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines