#include <nullinputstream.h>
Public Member Functions | |
NullInputStream () | |
Constructor. | |
virtual | ~NullInputStream () |
void | open () |
void | close () |
FILE * | getParserStream () |
bool | isReadable () |
Represents a null (none) input stream.
Definition at line 48 of file nullinputstream.h.
NullInputStream::NullInputStream | ( | ) |
NullInputStream::~NullInputStream | ( | ) | [virtual] |
void NullInputStream::close | ( | ) | [virtual] |
Closes the corresponding input stream.
Closes the corresponding input stream.
void |
Implements InputStream.
Definition at line 49 of file nullinputstream.cpp.
Referenced by ~NullInputStream().
FILE * NullInputStream::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 nullinputstream.cpp.
bool NullInputStream::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 nullinputstream.cpp.
void NullInputStream::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 nullinputstream.cpp.