basic_stringbuf< _CharT, _Traits, _Alloc > Class Template Reference#include <_sstream.h>
Inheritance diagram for basic_stringbuf< _CharT, _Traits, _Alloc >: Detailed Descriptiontemplate<class _CharT, class _Traits, class _Alloc>
|
typedef _CharT basic_stringbuf< _CharT, _Traits, _Alloc >::char_type |
typedef _Traits::int_type basic_stringbuf< _CharT, _Traits, _Alloc >::int_type |
typedef _Traits::pos_type basic_stringbuf< _CharT, _Traits, _Alloc >::pos_type |
typedef _Traits::off_type basic_stringbuf< _CharT, _Traits, _Alloc >::off_type |
typedef _Traits basic_stringbuf< _CharT, _Traits, _Alloc >::traits_type |
typedef basic_streambuf<_CharT, _Traits> basic_stringbuf< _CharT, _Traits, _Alloc >::_Base |
Definition at line 63 of file _sstream.h.
typedef basic_stringbuf<_CharT, _Traits, _Alloc> basic_stringbuf< _CharT, _Traits, _Alloc >::_Self |
Definition at line 64 of file _sstream.h.
typedef basic_string<_CharT, _Traits, _Alloc> basic_stringbuf< _CharT, _Traits, _Alloc >::_String |
Definition at line 65 of file _sstream.h.
_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.
basic_stringbuf< _CharT, _Traits, _Alloc >::basic_stringbuf | ( | const _String & | __s, | |
ios_base::openmode | __mode = ios_base::in|ios_base::out | |||
) | [explicit] |
basic_stringbuf< _CharT, _Traits, _Alloc >::~basic_stringbuf | ( | ) | [virtual] |
Definition at line 58 of file _sstream.c.
_String basic_stringbuf< _CharT, _Traits, _Alloc >::str | ( | ) | const [inline] |
Definition at line 75 of file _sstream.h.
void basic_stringbuf< _CharT, _Traits, _Alloc >::str | ( | const _String & | __s | ) |
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::underflow | ( | ) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 95 of file _sstream.c.
References basic_streambuf< _CharT, _Traits >::egptr(), and basic_streambuf< _CharT, _Traits >::gptr().
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::uflow | ( | ) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 104 of file _sstream.c.
References basic_streambuf< _CharT, _Traits >::egptr(), and basic_streambuf< _CharT, _Traits >::gbump().
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail | ( | int_type | __c | ) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 116 of file _sstream.c.
References basic_streambuf< _CharT, _Traits >::eback(), basic_streambuf< _CharT, _Traits >::gbump(), and basic_streambuf< _CharT, _Traits >::gptr().
__BSB_int_type__ basic_stringbuf< _CharT, _Traits, _Alloc >::overflow | ( | int_type | __c | ) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 142 of file _sstream.c.
References __CONST_CAST, basic_streambuf< _CharT, _Traits >::eback(), basic_streambuf< _CharT, _Traits >::epptr(), basic_streambuf< _CharT, _Traits >::pbump(), basic_streambuf< _CharT, _Traits >::pptr(), basic_streambuf< _CharT, _Traits >::setg(), and basic_streambuf< _CharT, _Traits >::setp().
int_type basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail | ( | ) | [inline, protected] |
Definition at line 83 of file _sstream.h.
int_type basic_stringbuf< _CharT, _Traits, _Alloc >::overflow | ( | ) | [inline, protected] |
Definition at line 84 of file _sstream.h.
streamsize basic_stringbuf< _CharT, _Traits, _Alloc >::xsputn | ( | const char_type * | __s, | |
streamsize | __n | |||
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 190 of file _sstream.c.
References __CONST_CAST, __STATIC_CAST, copy(), basic_streambuf< _CharT, _Traits >::eback(), basic_streambuf< _CharT, _Traits >::gptr(), basic_streambuf< _CharT, _Traits >::pbump(), basic_streambuf< _CharT, _Traits >::pptr(), basic_streambuf< _CharT, _Traits >::setg(), and basic_streambuf< _CharT, _Traits >::setp().
streamsize basic_stringbuf< _CharT, _Traits, _Alloc >::_M_xsputnc | ( | char_type | __c, | |
streamsize | __n | |||
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 238 of file _sstream.c.
References __CONST_CAST, __STATIC_CAST, basic_streambuf< _CharT, _Traits >::eback(), basic_streambuf< _CharT, _Traits >::gptr(), min(), basic_streambuf< _CharT, _Traits >::pbump(), basic_streambuf< _CharT, _Traits >::pptr(), basic_streambuf< _CharT, _Traits >::setg(), and basic_streambuf< _CharT, _Traits >::setp().
basic_streambuf< _CharT, _Traits > * basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf | ( | _CharT * | __buf, | |
streamsize | __n | |||
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 291 of file _sstream.c.
References __CONST_CAST, __STATIC_CAST, basic_streambuf< _CharT, _Traits >::eback(), basic_streambuf< _CharT, _Traits >::gptr(), min(), basic_streambuf< _CharT, _Traits >::pbase(), basic_streambuf< _CharT, _Traits >::pbump(), basic_streambuf< _CharT, _Traits >::pptr(), basic_streambuf< _CharT, _Traits >::setg(), and basic_streambuf< _CharT, _Traits >::setp().
__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.
__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.