The USL I/O Stream Class Hierarchy

The USL I/O Stream Library has two base classes, streambuf and ios:

illustration of the class hierarchy described in the text

The streambuf class implements stream buffers. streambuf is the base class for the following classes:

The ios class maintains formatting and error state information for streams. Streams are implemented as objects of the following classes that are derived from ios:

The classes that are derived from ios are themselves base classes.

The istream class is the input stream class. It implements stream buffer input, or input operations. The following classes are derived from istream:

The ostream class is the output stream class. It implements stream buffer output, or output operations. The following classes are derived from ostream:

The iostream class combines istream and ostream to implement input and output to stream buffers. The following classes are derived from iostream:

The USL I/O Stream Library also defines other classes, including fstreambase and strstreambase. These classes are meant for the internal use of the USL I/O Stream Library. Do not use them directly.

Related Concepts