Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWvios
Synopsis
Description
Persistence
Public Member Functions
Synopsis
#include <vstream.h>
(abstract base class)
Description
RWvios is an abstract base class. It defines an interface similar to the C++ streams class ios.
However, unlike ios, it offers the advantage of not necessarily being associated with a
streambuf.
This is useful for classes that cannot use a streambuf in their implementation. An example of
such a class is RWXDRistream, where the XDR model does not permit streambuf functionality.
Specializing classes that do use streambufs in their implementation (e.g., RWpistream) can
usually just return the corresponding ios function.
Persistence
None
Public Member Functions
virtual int
eof() = 0;
Returns a nonzero integer if an EOF has been encountered.