#include <stdininputstream.h>
Public Member Functions | |
StdinInputStream () | |
Constructor. | |
virtual | ~StdinInputStream () |
void | open () |
void | close () |
FILE * | getParserStream () |
bool | isReadable () |
Represents a standard (console) input stream.
Definition at line 48 of file stdininputstream.h.
StdinInputStream::StdinInputStream | ( | ) |
StdinInputStream::~StdinInputStream | ( | ) | [virtual] |
void StdinInputStream::close | ( | ) | [virtual] |
Closes the corresponding input stream.
Closes the corresponding input stream.
void |
Implements InputStream.
Definition at line 49 of file stdininputstream.cpp.
Referenced by ~StdinInputStream().
FILE * StdinInputStream::getParserStream | ( | ) | [virtual] |
Returns the (file-)input stream needed for YACC parser.
Returns the (file-)input stream needed for YACC parser.
FILE* | Pointer to a file object. |
Implements InputStream.
Definition at line 53 of file stdininputstream.cpp.
bool StdinInputStream::isReadable | ( | ) | [virtual] |
Returns/Verifies if the corresponding input stream is readable.
Returns/Verifies if the corresponding input stream is readable.
bool | true if the corresponding input stream is readable, false otherwise. |
Implements InputStream.
Definition at line 57 of file stdininputstream.cpp.
void StdinInputStream::open | ( | ) | [virtual] |
Opens the corresponding input stream.
Opens the corresponding input stream.
void |
IOStreamException | If an error occured (e.g. if it is not possible to open a file) |
Implements InputStream.
Definition at line 45 of file stdininputstream.cpp.