// Author: Vadim Zeitlin
// Modified by: Rob Bresalier
// Created: 2013-05-04
-// RCS-ID: $Id$
// Copyright: (c) 2002 Vadim Zeitlin <vadim@wxwindows.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
return !m_stream || m_stream->Eof();
}
+ // read everything remaining until the EOF, this should only be called once
+ // the child process terminates and we know that no more data is coming
+ bool ReadAll()
+ {
+ while ( !Eof() )
+ {
+ if ( !Update() )
+ return false;
+ }
+
+ return true;
+ }
+
// dtor puts the data buffered during this object lifetime into the
// associated stream
~wxStreamTempInputBuffer()