std::strstream Class Reference

Inheritance diagram for std::strstream:

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

Public Types

typedef char char_type
typedef char_traits< char
>::int_type 
int_type
typedef char_traits< char
>::pos_type 
pos_type
typedef char_traits< char
>::off_type 
off_type

Public Member Functions

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

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

Private Attributes

strstreambuf _M_buf

Member Typedef Documentation

typedef char std::strstream::char_type
 

These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation.

Reimplemented from std::basic_iostream< char >.

Definition at line 161 of file strstream.

typedef char_traits<char>::int_type std::strstream::int_type
 

Reimplemented from std::basic_iostream< char >.

Definition at line 162 of file strstream.

typedef char_traits<char>::off_type std::strstream::off_type
 

Reimplemented from std::basic_iostream< char >.

Definition at line 164 of file strstream.

typedef char_traits<char>::pos_type std::strstream::pos_type
 

Reimplemented from std::basic_iostream< char >.

Definition at line 163 of file strstream.


Constructor & Destructor Documentation

std::strstream::strstream  ) 
 

std::strstream::strstream char *  ,
int  ,
ios_base::openmode  = ios_base::in|ios_base::out
 

virtual std::strstream::~strstream  )  [virtual]
 


Member Function Documentation

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

int std::strstream::pcount  )  const
 

strstreambuf* std::strstream::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::strstream::str  ) 
 


Member Data Documentation

strstreambuf std::strstream::_M_buf [private]
 

Definition at line 176 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