25 #if ! defined (octave_input_h) 26 #define octave_input_h 1 28 #include "octave-config.h" 85 : m_count (1), m_pflag (0), m_lexer (lxr)
89 : m_count (1), m_pflag (
x.m_pflag), m_lexer (
x.m_lexer)
98 void reset (
void) { promptflag (1); }
115 virtual bool reading_fcn_file (
void)
const;
117 virtual bool reading_classdef_file (
void)
const;
119 virtual bool reading_script_file (
void)
const;
168 if (--m_rep->m_count == 0)
172 void reset (
void) {
return m_rep->reset (); }
184 return m_rep->get_input (eof);
189 return m_rep->input_source ();
194 return m_rep->input_from_terminal ();
199 return m_rep->input_from_file ();
204 return m_rep->input_from_eval_string ();
virtual bool input_from_terminal(void) const
For example cd octave end example noindent changes the current working directory to file
static const std::string s_in_src
base_reader(const base_reader &x)
void decrement_promptflag(void)
base_reader(base_lexer *lxr)
void increment_promptflag(void)
virtual bool input_from_eval_string(void) const
int promptflag(void) const
virtual std::string input_source(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x
virtual bool input_from_file(void) const