basic_stringbuf< _CharT, _Traits, _Alloc > Class Template Reference

#include <_sstream.h>

Inheritance diagram for basic_stringbuf< _CharT, _Traits, _Alloc >:

basic_streambuf< _CharT, _Traits > List of all members.

Public Types

typedef _CharT char_type
typedef _Traits::int_type int_type
typedef _Traits::pos_type pos_type
typedef _Traits::off_type off_type
typedef _Traits traits_type
typedef basic_streambuf< _CharT,
_Traits > 
_Base
typedef basic_stringbuf< _CharT,
_Traits, _Alloc > 
_Self
typedef basic_string< _CharT,
_Traits, _Alloc > 
_String

Public Member Functions

 basic_stringbuf (ios_base::openmode __mode=ios_base::in|ios_base::out)
 basic_stringbuf (const _String &__s, ios_base::openmode __mode=ios_base::in|ios_base::out)
virtual ~basic_stringbuf ()
_String str () const
void str (const _String &__s)

Protected Member Functions

virtual int_type underflow ()
virtual int_type uflow ()
virtual int_type pbackfail (int_type __c)
virtual int_type overflow (int_type __c)
int_type pbackfail ()
int_type overflow ()
virtual streamsize xsputn (const char_type *__s, streamsize __n)
virtual streamsize _M_xsputnc (char_type __c, streamsize __n)
virtual _Basesetbuf (_CharT *__buf, streamsize __n)
virtual pos_type seekoff (off_type __off, ios_base::seekdir __dir, ios_base::openmode __mode=ios_base::in|ios_base::out)
virtual pos_type seekpos (pos_type __pos, ios_base::openmode __mode=ios_base::in|ios_base::out)

Detailed Description

template<class _CharT, class _Traits, class _Alloc>
class basic_stringbuf< _CharT, _Traits, _Alloc >

Definition at line 55 of file _sstream.h.


Member Typedef Documentation

template<class _CharT, class _Traits, class _Alloc>
typedef _CharT basic_stringbuf< _CharT, _Traits, _Alloc >::char_type

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 57 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef _Traits::int_type basic_stringbuf< _CharT, _Traits, _Alloc >::int_type

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 58 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef _Traits::pos_type basic_stringbuf< _CharT, _Traits, _Alloc >::pos_type

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 59 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef _Traits::off_type basic_stringbuf< _CharT, _Traits, _Alloc >::off_type

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 60 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef _Traits basic_stringbuf< _CharT, _Traits, _Alloc >::traits_type

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 61 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef basic_streambuf<_CharT, _Traits> basic_stringbuf< _CharT, _Traits, _Alloc >::_Base

Definition at line 63 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef basic_stringbuf<_CharT, _Traits, _Alloc> basic_stringbuf< _CharT, _Traits, _Alloc >::_Self

Definition at line 64 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
typedef basic_string<_CharT, _Traits, _Alloc> basic_stringbuf< _CharT, _Traits, _Alloc >::_String

Definition at line 65 of file _sstream.h.


Constructor & Destructor Documentation

template<class _CharT, class _Traits, class _Alloc>
_STLP_BEGIN_NAMESPACE basic_stringbuf< _CharT, _Traits, _Alloc >::basic_stringbuf ( ios_base::openmode  __mode = ios_base::in|ios_base::out  )  [explicit]

Definition at line 45 of file _sstream.c.

template<class _CharT, class _Traits, class _Alloc>
basic_stringbuf< _CharT, _Traits, _Alloc >::basic_stringbuf ( const _String __s,
ios_base::openmode  __mode = ios_base::in|ios_base::out 
) [explicit]

template<class _CharT, class _Traits, class _Alloc>
basic_stringbuf< _CharT, _Traits, _Alloc >::~basic_stringbuf (  )  [virtual]

Definition at line 58 of file _sstream.c.


Member Function Documentation

template<class _CharT, class _Traits, class _Alloc>
_String basic_stringbuf< _CharT, _Traits, _Alloc >::str (  )  const [inline]

Definition at line 75 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
void basic_stringbuf< _CharT, _Traits, _Alloc >::str ( const _String __s  ) 

template<class _CharT, class _Traits, class _Alloc>
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::underflow (  )  [protected, virtual]

template<class _CharT, class _Traits, class _Alloc>
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::uflow (  )  [protected, virtual]

template<class _CharT, class _Traits, class _Alloc>
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail ( int_type  __c  )  [protected, virtual]

template<class _CharT, class _Traits, class _Alloc>
int_type basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail (  )  [inline, protected]

Definition at line 83 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
int_type basic_stringbuf< _CharT, _Traits, _Alloc >::overflow (  )  [inline, protected]

Definition at line 84 of file _sstream.h.

template<class _CharT, class _Traits, class _Alloc>
__BSB_pos_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff ( off_type  __off,
ios_base::seekdir  __dir,
ios_base::openmode  __mode = ios_base::in|ios_base::out 
) [protected, virtual]

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 333 of file _sstream.c.

References __STATIC_CAST, ios_base::beg, ios_base::cur, and ios_base::end.

template<class _CharT, class _Traits, class _Alloc>
__BSB_pos_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos ( pos_type  __pos,
ios_base::openmode  __mode = ios_base::in|ios_base::out 
) [protected, virtual]

Reimplemented from basic_streambuf< _CharT, _Traits >.

Definition at line 391 of file _sstream.c.

References __CONST_CAST, and __STATIC_CAST.


The documentation for this class was generated from the following files:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_sstream.h
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_sstream.c



Generated on Mon Mar 10 15:32:58 2008 by  doxygen 1.5.1