std::ostrstream Class Reference

Inheritance diagram for std::ostrstream:

std::basic_ostream< char > std::basic_ios< char, _Traits > std::ios_base List of all members.

Public Member Functions

 ostrstream ()
 ostrstream (char *, int, ios_base::openmode=ios_base::out)
virtual ~ostrstream ()
strstreambufrdbuf () const
 Accessing the underlying buffer.

void freeze (bool=true)
char * str ()
int pcount () const

Private Attributes

strstreambuf _M_buf

Constructor & Destructor Documentation

std::ostrstream::ostrstream  ) 
 

std::ostrstream::ostrstream char *  ,
int  ,
ios_base::openmode  = ios_base::out
 

virtual std::ostrstream::~ostrstream  )  [virtual]
 


Member Function Documentation

void std::ostrstream::freeze bool  = true  ) 
 

int std::ostrstream::pcount  )  const
 

strstreambuf* std::ostrstream::rdbuf  )  const
 

Accessing the underlying buffer.

Returns:
The current stream buffer.
This does not change the state of the stream.

Reimplemented from std::basic_ios< char, _Traits >.

char* std::ostrstream::str  ) 
 


Member Data Documentation

strstreambuf std::ostrstream::_M_buf [private]
 

Definition at line 154 of file strstream.


The documentation for this class was generated from the following file:
Generated on Tue Jan 30 17:32:11 2007 for GNU C++ STL by doxygen 1.3.6