Whole document tree
    

Whole document tree

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

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

#include <std_sstream.h>

Inheritance diagram for std::basic_stringstream:

Inheritance graph
[legend]
Collaboration diagram for std::basic_stringstream< _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_iostream< char_type,
traits_type
__iostream_type

Public Methods

 basic_stringstream (ios_base::openmode __m=ios_base::out|ios_base::in)
 basic_stringstream (const __string_type &__str, ios_base::openmode __m=ios_base::out|ios_base::in)
 ~basic_stringstream ()
__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_stringstream< _CharT, _Traits, _Alloc >


Member Typedef Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
typedef basic_iostream<char_type, traits_type> std::basic_stringstream< _CharT, _Traits, _Alloc >::__iostream_type
 

Definition at line 322 of file std_sstream.h.

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

Definition at line 320 of file std_sstream.h.

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

Definition at line 321 of file std_sstream.h.

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

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

Definition at line 309 of file std_sstream.h.

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

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

Definition at line 315 of file std_sstream.h.

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

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

Definition at line 317 of file std_sstream.h.

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

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

Definition at line 316 of file std_sstream.h.

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

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

Definition at line 310 of file std_sstream.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_stringstream< _CharT, _Traits, _Alloc >::basic_stringstream ios_base::openmode    __m = ios_base::out | ios_base::in [inline, explicit]
 

Definition at line 330 of file std_sstream.h.

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

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_stringstream< _CharT, _Traits, _Alloc >::basic_stringstream const __string_type   __str,
ios_base::openmode    __m = ios_base::out | ios_base::in
[inline, explicit]
 

Definition at line 335 of file std_sstream.h.

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

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

Definition at line 340 of file std_sstream.h.


Member Function Documentation

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

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

Definition at line 345 of file std_sstream.h.

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

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

Definition at line 353 of file std_sstream.h.

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

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

Definition at line 349 of file std_sstream.h.

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


Member Data Documentation

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

Definition at line 325 of file std_sstream.h.

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


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