The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
class strstreambuf
◄streambuf►                                   ◄Up► ◄Contents► ◄Index► ◄Back►
──The Microsoft iostream Classes────────────────────────────────────────────
 
  Description
 
  The strstreambuf class is a derived class of streambuf that manages an
  in-memory character array.
 
  The file stream classes, ostrstream, istrstream, and strstream, use
  strstreambuf member functions to fetch and store characters. Some of
  these member functions are virtual functions defined for the streambuf
  class.
 
  The reserve area, put area, and get area were introduced in the
  streambuf class description. For strsteambuf objects, the put area is
  the same as the get area, but the get pointer and the put pointer move
  independently.
 
  #include <strstrea.h>
 
  See Also
 
  ◄istrstream►, ◄ostrstream►, ◄filebuf►, ◄stdiobuf►
 
  Public Members
 
  Construction/Destruction
 
  ◄strstreambuf►   Constructs a strstreambuf object.
 
  ◄~strstreambuf►   Destroys a strstreambuf object.
 
  Other Functions
 
  ◄freeze►   Freezes a stream.
 
  ◄str►      Returns a pointer to the string.
 
 
                                     -♦-