GNU Octave  3.8.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 211 of file input.h.

Constructor & Destructor Documentation

octave_input_reader::octave_input_reader ( octave_base_lexer lxr = 0)
inline

Definition at line 215 of file input.h.

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

Definition at line 219 of file input.h.

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

Definition at line 223 of file input.h.

octave_input_reader::octave_input_reader ( const octave_input_reader ir)
inline

Definition at line 227 of file input.h.

References octave_base_reader::count, and rep.

octave_input_reader::~octave_input_reader ( void  )
inline

Definition at line 244 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 254 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 260 of file input.h.

References octave_base_reader::get_input(), and rep.

void octave_input_reader::increment_promptflag ( void  )
inline

Definition at line 252 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 280 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 275 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 270 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 265 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 233 of file input.h.

References octave_base_reader::count, and rep.

int octave_input_reader::promptflag ( void  ) const
inline

Definition at line 256 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 258 of file input.h.

References octave_base_reader::promptflag(), and rep.

void octave_input_reader::reset ( void  )
inline

Definition at line 250 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: