Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GtpOutputStream.cpp

Go to the documentation of this file.
00001 //----------------------------------------------------------------------------
00002 /** @file GtpOutputStream.cpp */
00003 //----------------------------------------------------------------------------
00004 #include "GtpOutputStream.h"
00005 
00006 using namespace std;
00007 
00008 //----------------------------------------------------------------------------
00009 
00010 GtpOutputStream::GtpOutputStream(ostream &out)
00011     : m_out(out)
00012 {
00013 }
00014 
00015 GtpOutputStream::~GtpOutputStream()
00016 {
00017 }
00018 
00019 void GtpOutputStream::Write(const string &line)
00020 {
00021     m_out << line;
00022 }
00023 
00024 void GtpOutputStream::Flush()
00025 {
00026     m_out.flush();
00027 }
00028     
00029 //----------------------------------------------------------------------------


Sun Mar 13 2011 Doxygen 1.7.1