Whole document tree
    

Whole document tree

Templatestd::basic_ostringstream class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::basic_ostringstream< _CharT, _Traits, _Alloc > Class Template Reference

#include <std_sstream.h>

Inheritance diagram for std::basic_ostringstream:

Inheritance graph
[legend]
Collaboration diagram for std::basic_ostringstream< _CharT, _Traits, _Alloc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef _Traits traits_type
typedef traits_type::int_type int_type
typedef traits_type::pos_type pos_type
typedef traits_type::off_type off_type
typedef basic_string< _CharT,
_Traits, _Alloc > 
__string_type
typedef basic_stringbuf< _CharT,
_Traits, _Alloc > 
__stringbuf_type
typedef basic_ostream< char_type,
traits_type
__ostream_type

Public Methods

 basic_ostringstream (ios_base::openmode __mode=ios_base::out)
 basic_ostringstream (const __string_type __str, ios_base::openmode __mode=ios_base::out)
 ~basic_ostringstream ()
__stringbuf_typerdbuf () const
__string_type str () const
void str (const __string_type &__s)

Private Attributes

__stringbuf_type _M_stringbuf

template<typename _CharT, typename _Traits, typename _Alloc>
class std::basic_ostringstream< _CharT, _Traits, _Alloc >


Member Typedef Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
typedef basic_ostream<char_type, traits_type> std::basic_ostringstream< _CharT, _Traits, _Alloc >::__ostream_type
 

Reimplemented from std::basic_ostream< _CharT, _Traits >.

Definition at line 267 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef basic_string<_CharT, _Traits, _Alloc> std::basic_ostringstream< _CharT, _Traits, _Alloc >::__string_type
 

Definition at line 265 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef basic_stringbuf<_CharT, _Traits, _Alloc> std::basic_ostringstream< _CharT, _Traits, _Alloc >::__stringbuf_type
 

Definition at line 266 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _CharT std::basic_ostringstream< _CharT, _Traits, _Alloc >::char_type
 

Reimplemented from std::basic_ostream< _CharT, _Traits >.

Definition at line 254 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef traits_type::int_type std::basic_ostringstream< _CharT, _Traits, _Alloc >::int_type
 

Reimplemented from std::basic_ostream< _CharT, _Traits >.

Definition at line 260 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef traits_type::off_type std::basic_ostringstream< _CharT, _Traits, _Alloc >::off_type
 

Reimplemented from std::basic_ostream< _CharT, _Traits >.

Definition at line 262 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef traits_type::pos_type std::basic_ostringstream< _CharT, _Traits, _Alloc >::pos_type
 

Reimplemented from std::basic_ostream< _CharT, _Traits >.

Definition at line 261 of file std_sstream.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Traits std::basic_ostringstream< _CharT, _Traits, _Alloc >::traits_type
 

Reimplemented from std::basic_ostream< _CharT, _Traits >.

Definition at line 255 of file std_sstream.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_ostringstream< _CharT, _Traits, _Alloc >::basic_ostringstream ios_base::openmode    __mode = ios_base::out [inline, explicit]
 

Definition at line 275 of file std_sstream.h.

References std::basic_ostringstream< _CharT, _Traits, _Alloc >::_M_stringbuf, std::basic_ios< _CharT, _Traits >::init(), and std::ios_base::out.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_ostringstream< _CharT, _Traits, _Alloc >::basic_ostringstream const __string_type    __str,
ios_base::openmode    __mode = ios_base::out
[inline, explicit]
 

Definition at line 280 of file std_sstream.h.

References std::basic_ostringstream< _CharT, _Traits, _Alloc >::_M_stringbuf, std::basic_ios< _CharT, _Traits >::init(), and std::ios_base::out.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_ostringstream< _CharT, _Traits, _Alloc >::~basic_ostringstream   [inline]
 

Definition at line 285 of file std_sstream.h.


Member Function Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
__stringbuf_type* std::basic_ostringstream< _CharT, _Traits, _Alloc >::rdbuf void    const [inline]
 

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

Definition at line 290 of file std_sstream.h.

References std::basic_ostringstream< _CharT, _Traits, _Alloc >::_M_stringbuf.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_ostringstream< _CharT, _Traits, _Alloc >::str const __string_type   __s [inline]
 

Definition at line 298 of file std_sstream.h.

References std::basic_ostringstream< _CharT, _Traits, _Alloc >::_M_stringbuf.

template<typename _CharT, typename _Traits, typename _Alloc>
__string_type std::basic_ostringstream< _CharT, _Traits, _Alloc >::str   const [inline]
 

Definition at line 294 of file std_sstream.h.

References std::basic_ostringstream< _CharT, _Traits, _Alloc >::_M_stringbuf.

Referenced by std::operator<<().


Member Data Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
__stringbuf_type std::basic_ostringstream< _CharT, _Traits, _Alloc >::_M_stringbuf [private]
 

Definition at line 270 of file std_sstream.h.

Referenced by std::basic_ostringstream< _CharT, _Traits, _Alloc >::basic_ostringstream(), std::basic_ostringstream< _CharT, _Traits, _Alloc >::rdbuf(), and std::basic_ostringstream< _CharT, _Traits, _Alloc >::str().


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:18:12 2002 for libstdc++-v3 Source by doxygen1.2.15