Moved Stream::eos() to ReadStream::eos()

svn-id: r17853
This commit is contained in:
Max Horn 2005-04-28 20:59:19 +00:00
parent 3b1f8da4be
commit b515dd1333

View File

@ -35,11 +35,6 @@ class String;
*/
class Stream {
public:
/**
* Returns true if the end of the stream has been reached.
*/
virtual bool eos() const = 0;
/**
* Returns true if any I/O failure occured.
* This flag is never cleared automatically. In order to clear it,
@ -128,6 +123,11 @@ public:
*/
class ReadStream : virtual public Stream {
public:
/**
* Returns true if the end of the stream has been reached.
*/
virtual bool eos() const = 0;
/**
* Read data from the stream. Subclasses must implement this
* method; all other read methods are implemented using it.