Navigation

Operators and Keywords

Function List:

C++ API

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

OCTINTERP_API int octave_read (char *buf, unsigned max_size)
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)
bool octave_yes_or_no (const std::string &prompt)
octave_value do_keyboard (const octave_value_list &args=octave_value_list())

Variables

std::string current_eval_string
bool get_input_from_eval_string
bool input_from_eval_string_pending
bool input_from_command_line_file
bool stdin_is_tty
bool reading_fcn_file
std::string curr_fcn_file_name
std::string curr_fcn_file_full_name
bool reading_script_file
bool reading_classdef_file
FILE * ff_instream
bool interactive
bool forced_interactive
int promptflag
std::string current_input_line
bool octave_completion_matches_called
OCTINTERP_API bool Vdrawnow_requested
OCTINTERP_API bool Vdebugging
std::string VPS4
char Vfilemarker
int Vecho_executing_commands
octave_time Vlast_prompt_time

Enumeration Type Documentation

enum echo_state
Enumerator:
ECHO_OFF 
ECHO_SCRIPTS 
ECHO_FUNCTIONS 
ECHO_CMD_LINE 

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 
)
bool octave_yes_or_no ( const std::string &  prompt  ) 

Variable Documentation

std::string curr_fcn_file_name
std::string current_eval_string
std::string current_input_line
FILE* ff_instream
OCTINTERP_API bool Vdebugging
OCTINTERP_API bool Vdrawnow_requested
std::string VPS4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines