GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
input_reader Class Reference

#include "input.h"

Public Member Functions

 input_reader ()=delete
 
 input_reader (interpreter &interp)
 
 input_reader (interpreter &interp, const std::string &str)
 
 input_reader (interpreter &interp, FILE *file)
 
 input_reader (interpreter &interp, FILE *file, const std::string &enc)
 
std::string get_input (const std::string &prompt, bool &eof)
 
bool input_from_eval_string () const
 
bool input_from_file () const
 
bool input_from_terminal () const
 
std::string input_source () const
 

Detailed Description

Definition at line 257 of file input.h.

Constructor & Destructor Documentation

◆ input_reader() [1/5]

input_reader::input_reader ( )
delete

◆ input_reader() [2/5]

input_reader::input_reader ( interpreter interp)

◆ input_reader() [3/5]

input_reader::input_reader ( interpreter interp,
FILE *  file 
)

◆ input_reader() [4/5]

input_reader::input_reader ( interpreter interp,
FILE *  file,
const std::string &  enc 
)

◆ input_reader() [5/5]

input_reader::input_reader ( interpreter interp,
const std::string &  str 
)

Member Function Documentation

◆ get_input()

std::string input_reader::get_input ( const std::string &  prompt,
bool &  eof 
)
inline

Definition at line 273 of file input.h.

◆ input_from_eval_string()

bool input_reader::input_from_eval_string ( ) const
inline

Definition at line 293 of file input.h.

◆ input_from_file()

bool input_reader::input_from_file ( ) const
inline

Definition at line 288 of file input.h.

◆ input_from_terminal()

bool input_reader::input_from_terminal ( ) const
inline

Definition at line 283 of file input.h.

◆ input_source()

std::string input_reader::input_source ( ) const
inline

Definition at line 278 of file input.h.


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