f78 Reading and writing in memory

Contents|Index|Previous|Next

Reading and writing in memory

The classes, istrstream, ostrstream, and strstream, provide some additional features for reading and writing strings in memory—both static strings, and dynamically allocated strings. The underlying class, strstreambase, provides some features common to all three; strstreambuf underlies that in turn.

istrstream::istrstream (const char* str [, int size]) 
Constructor 
ostrstream::ostrstream () 
Constructor 
ostrstream::ostrstream (char* str, int size [,int mode]) 
Constructor 
int ostrstream::pcount () 
Method 
char* ostrstream::str () 
Method 
void ostrstream::freeze ([int n]) 
Method 
int ostrstream::frozen () 
Method 
strstreambuf* strstreambase::rdbuf () 
Method 
0