GNU Info

Info Node: (iostream-295.info)Ostream

(iostream-295.info)Ostream


Next: Istream Prev: Ios Up: Streams
Enter node , (file) or (file)node

Managing output streams: class `ostream'
========================================

   Objects of class `ostream' inherit the generic methods from `ios',
and in addition have the following methods available.  Declarations for
this class come from `iostream.h'.

 - Constructor:  ostream::ostream ()
     The simplest form of the constructor for an `ostream' simply
     allocates a new `ios' object.

 - Constructor:  ostream::ostream (streambuf* SB [, ostream TIE])
     This alternative constructor requires a first argument SB of type
     `streambuf*', to use an existing open stream for output.  It also
     accepts an optional second argument TIE, to specify a related
     `ostream*' as the initial value for `ios::tie'.

     If you give the `ostream' a `streambuf' explicitly, using this
     constructor, the SB is _not_ destroyed (or deleted or closed) when
     the `ostream' is destroyed.

Writing
Writing on an ostream.
Output Position
Repositioning an ostream.
Ostream Housekeeping
Miscellaneous ostream utilities.

automatically generated by info2www version 1.2.2.9