Base class for input streams used by GtpEngine. More...
#include <GtpInputStream.h>
Public Member Functions | |
GtpInputStream (std::istream &in) | |
virtual | ~GtpInputStream () |
virtual bool | EndOfInput () |
virtual bool | GetLine (std::string &line) |
Private Attributes | |
std::istream & | m_in |
Base class for input streams used by GtpEngine.
This implementation only forwards calls to std::istream.
Definition at line 18 of file GtpInputStream.h.
GtpInputStream | ( | std::istream & | in | ) |
Definition at line 11 of file GtpInputStream.cpp.
References m_in.
~GtpInputStream | ( | ) | [virtual] |
Definition at line 21 of file GtpInputStream.cpp.
bool EndOfInput | ( | ) | [virtual] |
Definition at line 25 of file GtpInputStream.cpp.
References m_in.
bool GetLine | ( | std::string & | line | ) | [virtual] |
Definition at line 30 of file GtpInputStream.cpp.
References m_in.
std::istream& m_in [private] |
Definition at line 30 of file GtpInputStream.h.
Referenced by EndOfInput(), GetLine(), and GtpInputStream().