Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes

GtpInputStream Class Reference

Base class for input streams used by GtpEngine. More...

#include <GtpInputStream.h>

List of all members.

Public Member Functions

 GtpInputStream (std::istream &in)
virtual ~GtpInputStream ()
virtual bool EndOfInput ()
virtual bool GetLine (std::string &line)

Private Attributes

std::istream & m_in

Detailed Description

Base class for input streams used by GtpEngine.

This implementation only forwards calls to std::istream.

Todo:
Why does it need this class if users can write their own streams compatible with the standard library? See also https://sourceforge.net/apps/trac/fuego/ticket/66

Definition at line 18 of file GtpInputStream.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

std::istream& m_in [private]

Definition at line 30 of file GtpInputStream.h.

Referenced by EndOfInput(), GetLine(), and GtpInputStream().


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


Sun Mar 13 2011 Doxygen 1.7.1