StdinInputStream Class Reference

Represents a standard (console) input stream. More...

#include <stdininputstream.h>

Inheritance diagram for StdinInputStream:

Inheritance graph
[legend]
Collaboration diagram for StdinInputStream:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StdinInputStream ()
 Constructor.
virtual ~StdinInputStream ()
void open ()
void close ()
FILE * getParserStream ()
bool isReadable ()


Detailed Description

Represents a standard (console) input stream.

Represents a standard (console) input stream.

Author:
Michael Schmidt

Gunnar Jehl

Version:
2.1
License:
Software License Agreement (BSD License)

Definition at line 48 of file stdininputstream.h.


Constructor & Destructor Documentation

StdinInputStream::StdinInputStream (  ) 

Constructor.

Constructor - creating object.

Definition at line 37 of file stdininputstream.cpp.

StdinInputStream::~StdinInputStream (  )  [virtual]

Destructor.

Definition at line 41 of file stdininputstream.cpp.

References close().


Member Function Documentation

void StdinInputStream::close (  )  [virtual]

Closes the corresponding input stream.

Closes the corresponding input stream.

Return values:
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.

Return values:
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.

Return values:
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.

Return values:
void 
Exceptions:
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.


Generated on Sun May 24 20:20:30 2009 for G(arbage) C(ollected) X(Query) Engine by  doxygen 1.5.9