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
Public Member Functions | Static Private Attributes | List of all members
octave_terminal_reader Class Reference

#include "input.h"

Inheritance diagram for octave_terminal_reader:
Inheritance graph
[legend]
Collaboration diagram for octave_terminal_reader:
Collaboration graph
[legend]

Public Member Functions

 octave_terminal_reader (octave_base_lexer *lxr=0)
 
void decrement_promptflag (void)
 
std::string get_input (bool &eof)
 
void increment_promptflag (void)
 
virtual bool input_from_eval_string (void) const
 
virtual bool input_from_file (void) const
 
bool input_from_terminal (void) const
 
std::string input_source (void) const
 
std::string octave_gets (bool &eof)
 
int promptflag (void) const
 
int promptflag (int n)
 
virtual bool reading_classdef_file (void) const
 
virtual bool reading_fcn_file (void) const
 
virtual bool reading_script_file (void) const
 
void reset (void)
 

Static Private Attributes

static const std::string in_src
 

Detailed Description

Definition at line 148 of file input.h.

Constructor & Destructor Documentation

octave_terminal_reader::octave_terminal_reader ( octave_base_lexer lxr = 0)
inline

Definition at line 153 of file input.h.

Member Function Documentation

void octave_base_reader::decrement_promptflag ( void  )
inlineinherited

Definition at line 110 of file input.h.

Referenced by octave_input_reader::decrement_promptflag().

std::string octave_terminal_reader::get_input ( bool eof)
virtual

Implements octave_base_reader.

Definition at line 633 of file input.cc.

References octave_base_reader::octave_gets().

void octave_base_reader::increment_promptflag ( void  )
inlineinherited

Definition at line 108 of file input.h.

Referenced by octave_input_reader::increment_promptflag().

virtual bool octave_base_reader::input_from_eval_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_eval_string_reader.

Definition at line 133 of file input.h.

Referenced by octave_input_reader::input_from_eval_string().

virtual bool octave_base_reader::input_from_file ( void  ) const
inlinevirtualinherited

Reimplemented in octave_file_reader.

Definition at line 131 of file input.h.

Referenced by octave_input_reader::input_from_file().

bool octave_terminal_reader::input_from_terminal ( void  ) const
inlinevirtual

Reimplemented from octave_base_reader.

Definition at line 161 of file input.h.

std::string octave_terminal_reader::input_source ( void  ) const
inlinevirtual

Reimplemented from octave_base_reader.

Definition at line 159 of file input.h.

std::string octave_base_reader::octave_gets ( bool eof)
inherited
int octave_base_reader::promptflag ( void  ) const
inlineinherited

Definition at line 112 of file input.h.

Referenced by octave_input_reader::promptflag().

int octave_base_reader::promptflag ( int  n)
inlineinherited

Definition at line 114 of file input.h.

bool octave_base_reader::reading_classdef_file ( void  ) const
virtualinherited

Definition at line 309 of file input.cc.

References octave_base_reader::lexer, and lexical_feedback::reading_classdef_file.

bool octave_base_reader::reading_fcn_file ( void  ) const
virtualinherited

Definition at line 303 of file input.cc.

References octave_base_reader::lexer, and lexical_feedback::reading_fcn_file.

bool octave_base_reader::reading_script_file ( void  ) const
virtualinherited
void octave_base_reader::reset ( void  )
inlineinherited

Definition at line 106 of file input.h.

References octave_input_reader::promptflag().

Referenced by octave_input_reader::reset().

Member Data Documentation

const std::string octave_terminal_reader::in_src
staticprivate

Definition at line 165 of file input.h.


The documentation for this class was generated from the following files: