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 | Private Attributes | List of all members
octave_input_reader Class Reference

#include "input.h"

Collaboration diagram for octave_input_reader:
Collaboration graph
[legend]

Public Member Functions

 octave_input_reader (octave_base_lexer *lxr=0)
 
 octave_input_reader (FILE *file, octave_base_lexer *lxr=0)
 
 octave_input_reader (const std::string &str, octave_base_lexer *lxr=0)
 
 octave_input_reader (const octave_input_reader &ir)
 
 ~octave_input_reader (void)
 
void decrement_promptflag (void)
 
std::string get_input (bool &eof)
 
void increment_promptflag (void)
 
bool input_from_eval_string (void) const
 
bool input_from_file (void) const
 
bool input_from_terminal (void) const
 
std::string input_source (void) const
 
octave_input_readeroperator= (const octave_input_reader &ir)
 
int promptflag (void) const
 
int promptflag (int n)
 
void reset (void)
 

Private Attributes

octave_base_readerrep
 

Detailed Description

Definition at line 212 of file input.h.

Constructor & Destructor Documentation

octave_input_reader::octave_input_reader ( octave_base_lexer lxr = 0)
inline

Definition at line 216 of file input.h.

octave_input_reader::octave_input_reader ( FILE *  file,
octave_base_lexer lxr = 0 
)
inline

Definition at line 220 of file input.h.

octave_input_reader::octave_input_reader ( const std::string &  str,
octave_base_lexer lxr = 0 
)
inline

Definition at line 224 of file input.h.

octave_input_reader::octave_input_reader ( const octave_input_reader ir)
inline

Definition at line 228 of file input.h.

References octave_base_reader::count, and rep.

octave_input_reader::~octave_input_reader ( void  )
inline

Definition at line 245 of file input.h.

References octave_base_reader::count, and rep.

Member Function Documentation

void octave_input_reader::decrement_promptflag ( void  )
inline

Definition at line 255 of file input.h.

References octave_base_reader::decrement_promptflag(), and rep.

std::string octave_input_reader::get_input ( bool eof)
inline

Definition at line 261 of file input.h.

References octave_base_reader::get_input(), and rep.

void octave_input_reader::increment_promptflag ( void  )
inline

Definition at line 253 of file input.h.

References octave_base_reader::increment_promptflag(), and rep.

bool octave_input_reader::input_from_eval_string ( void  ) const
inline

Definition at line 281 of file input.h.

References octave_base_reader::input_from_eval_string(), and rep.

bool octave_input_reader::input_from_file ( void  ) const
inline

Definition at line 276 of file input.h.

References octave_base_reader::input_from_file(), and rep.

bool octave_input_reader::input_from_terminal ( void  ) const
inline

Definition at line 271 of file input.h.

References octave_base_reader::input_from_terminal(), and rep.

std::string octave_input_reader::input_source ( void  ) const
inline

Definition at line 266 of file input.h.

References octave_base_reader::input_source(), and rep.

octave_input_reader& octave_input_reader::operator= ( const octave_input_reader ir)
inline

Definition at line 234 of file input.h.

References octave_base_reader::count, and rep.

int octave_input_reader::promptflag ( void  ) const
inline

Definition at line 257 of file input.h.

References octave_base_reader::promptflag(), and rep.

Referenced by octave_base_reader::reset().

int octave_input_reader::promptflag ( int  n)
inline

Definition at line 259 of file input.h.

References octave_base_reader::promptflag(), and rep.

void octave_input_reader::reset ( void  )
inline

Definition at line 251 of file input.h.

References rep, and octave_base_reader::reset().

Member Data Documentation

octave_base_reader* octave_input_reader::rep
private

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