basic_streambuf< _CharT, _Traits > Class Template Reference#include <_streambuf.h>
Inheritance diagram for basic_streambuf< _CharT, _Traits >: ![]() Detailed Descriptiontemplate<class _CharT, class _Traits>
|
typedef _CharT basic_streambuf< _CharT, _Traits >::char_type |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 53 of file _streambuf.h.
typedef _Traits::int_type basic_streambuf< _CharT, _Traits >::int_type |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 54 of file _streambuf.h.
typedef _Traits::pos_type basic_streambuf< _CharT, _Traits >::pos_type |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 55 of file _streambuf.h.
typedef _Traits::off_type basic_streambuf< _CharT, _Traits >::off_type |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 56 of file _streambuf.h.
typedef _Traits basic_streambuf< _CharT, _Traits >::traits_type |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 57 of file _streambuf.h.
basic_streambuf< _CharT, _Traits >::~basic_streambuf | ( | ) | [virtual] |
Definition at line 40 of file _streambuf.c.
_STLP_BEGIN_NAMESPACE basic_streambuf< _CharT, _Traits >::basic_streambuf | ( | ) | [protected] |
Definition at line 31 of file _streambuf.c.
char_type* basic_streambuf< _CharT, _Traits >::eback | ( | ) | const [inline, protected] |
Definition at line 90 of file _streambuf.h.
Referenced by basic_streambuf< char, char_traits< char > >::_M_eback(), basic_stringbuf< _CharT, _Traits, _Alloc >::_M_xsputnc(), basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail(), basic_filebuf< _CharT, _Traits >::pbackfail(), basic_filebuf< _CharT, _Traits >::seekoff(), basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf(), and basic_stringbuf< _CharT, _Traits, _Alloc >::xsputn().
char_type* basic_streambuf< _CharT, _Traits >::gptr | ( | ) | const [inline, protected] |
Definition at line 91 of file _streambuf.h.
Referenced by _Underflow< _CharT, _Traits >::_M_doit(), basic_istream< _CharT, _Traits >::_M_formatted_get(), basic_streambuf< char, char_traits< char > >::_M_gptr(), basic_istream< _CharT, _Traits >::_M_skip_whitespace(), basic_stringbuf< _CharT, _Traits, _Alloc >::_M_xsputnc(), basic_istream< _CharT, _Traits >::get(), basic_istream< _CharT, _Traits >::getline(), basic_istream< _CharT, _Traits >::ignore(), basic_istream< _CharT, _Traits >::operator>>(), basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail(), basic_filebuf< _CharT, _Traits >::pbackfail(), basic_filebuf< _CharT, _Traits >::seekoff(), basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf(), basic_filebuf< _CharT, _Traits >::showmanyc(), basic_stringbuf< _CharT, _Traits, _Alloc >::underflow(), and basic_stringbuf< _CharT, _Traits, _Alloc >::xsputn().
char_type* basic_streambuf< _CharT, _Traits >::egptr | ( | ) | const [inline, protected] |
Definition at line 92 of file _streambuf.h.
Referenced by _Underflow< _CharT, _Traits >::_M_doit(), basic_streambuf< char, char_traits< char > >::_M_egptr(), basic_istream< _CharT, _Traits >::_M_formatted_get(), basic_istream< _CharT, _Traits >::_M_skip_whitespace(), basic_istream< _CharT, _Traits >::get(), basic_istream< _CharT, _Traits >::getline(), basic_istream< _CharT, _Traits >::ignore(), basic_istream< _CharT, _Traits >::operator>>(), basic_filebuf< _CharT, _Traits >::pbackfail(), basic_filebuf< _CharT, _Traits >::showmanyc(), basic_stringbuf< _CharT, _Traits, _Alloc >::uflow(), and basic_stringbuf< _CharT, _Traits, _Alloc >::underflow().
void basic_streambuf< _CharT, _Traits >::gbump | ( | int | __n | ) | [inline, protected] |
Definition at line 94 of file _streambuf.h.
Referenced by basic_streambuf< char, char_traits< char > >::_M_gbump(), basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail(), and basic_stringbuf< _CharT, _Traits, _Alloc >::uflow().
void basic_streambuf< _CharT, _Traits >::setg | ( | char_type * | __gbegin, | |
char_type * | __gnext, | |||
char_type * | __gend | |||
) | [inline, protected] |
Definition at line 95 of file _streambuf.h.
Referenced by basic_filebuf< _CharT, _Traits >::_M_do_noconv_input(), basic_streambuf< char, char_traits< char > >::_M_setg(), basic_stringbuf< _CharT, _Traits, _Alloc >::_M_xsputnc(), basic_filebuf< _CharT, _Traits >::close(), basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), basic_filebuf< _CharT, _Traits >::pbackfail(), basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf(), and basic_stringbuf< _CharT, _Traits, _Alloc >::xsputn().
char_type* basic_streambuf< _CharT, _Traits >::_M_eback | ( | ) | const [inline] |
Definition at line 105 of file _streambuf.h.
char_type* basic_streambuf< _CharT, _Traits >::_M_gptr | ( | ) | const [inline] |
Definition at line 106 of file _streambuf.h.
Referenced by __copy_buffered(), __read_buffered(), and _M_ignore_buffered().
char_type* basic_streambuf< _CharT, _Traits >::_M_egptr | ( | ) | const [inline] |
Definition at line 107 of file _streambuf.h.
Referenced by __copy_buffered(), __read_buffered(), and _M_ignore_buffered().
void basic_streambuf< _CharT, _Traits >::_M_gbump | ( | int | __n | ) | [inline] |
Definition at line 108 of file _streambuf.h.
Referenced by __copy_buffered(), __read_buffered(), and _M_ignore_buffered().
void basic_streambuf< _CharT, _Traits >::_M_setg | ( | char_type * | __gbegin, | |
char_type * | __gnext, | |||
char_type * | __gend | |||
) | [inline] |
Definition at line 109 of file _streambuf.h.
char_type* basic_streambuf< _CharT, _Traits >::pbase | ( | ) | const [inline, protected] |
Definition at line 114 of file _streambuf.h.
Referenced by basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf().
char_type* basic_streambuf< _CharT, _Traits >::pptr | ( | ) | const [inline, protected] |
Definition at line 115 of file _streambuf.h.
Referenced by basic_stringbuf< _CharT, _Traits, _Alloc >::_M_xsputnc(), basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), basic_filebuf< _CharT, _Traits >::overflow(), basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf(), and basic_stringbuf< _CharT, _Traits, _Alloc >::xsputn().
char_type* basic_streambuf< _CharT, _Traits >::epptr | ( | ) | const [inline, protected] |
Definition at line 116 of file _streambuf.h.
Referenced by basic_stringbuf< _CharT, _Traits, _Alloc >::overflow().
void basic_streambuf< _CharT, _Traits >::pbump | ( | int | __n | ) | [inline, protected] |
void basic_streambuf< _CharT, _Traits >::setp | ( | char_type * | __pbegin, | |
char_type * | __pend | |||
) | [inline, protected] |
Definition at line 119 of file _streambuf.h.
Referenced by basic_stringbuf< _CharT, _Traits, _Alloc >::_M_xsputnc(), basic_filebuf< _CharT, _Traits >::close(), basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), basic_filebuf< _CharT, _Traits >::overflow(), basic_stringbuf< _CharT, _Traits, _Alloc >::setbuf(), and basic_stringbuf< _CharT, _Traits, _Alloc >::xsputn().
basic_streambuf< _CharT, _Traits > * basic_streambuf< _CharT, _Traits >::setbuf | ( | char_type * | , | |
streamsize | ||||
) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, basic_stringbuf< _CharT, _Traits, _Alloc >, strstreambuf, and stdio_streambuf_base.
Definition at line 199 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::pubsetbuf().
_STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf< _CharT, _Traits >::pos_type basic_streambuf< _CharT, _Traits >::seekoff | ( | off_type | , | |
ios_base::seekdir | , | |||
ios_base::openmode | = ios_base::in|ios_base::out | |||
) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 193 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::pubseekoff().
_STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf< _CharT, _Traits >::pos_type basic_streambuf< _CharT, _Traits >::seekpos | ( | pos_type | , | |
ios_base::openmode | = ios_base::in|ios_base::out | |||
) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 188 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::pubseekpos().
int basic_streambuf< _CharT, _Traits >::sync | ( | ) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, and stdio_streambuf_base.
Definition at line 184 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::pubsync().
basic_streambuf<_CharT, _Traits>* basic_streambuf< _CharT, _Traits >::pubsetbuf | ( | char_type * | __s, | |
streamsize | __n | |||
) | [inline] |
Definition at line 145 of file _streambuf.h.
pos_type basic_streambuf< _CharT, _Traits >::pubseekoff | ( | off_type | __offset, | |
ios_base::seekdir | __way, | |||
ios_base::openmode | __mod = ios_base::in | ios_base::out | |||
) | [inline] |
Definition at line 148 of file _streambuf.h.
Referenced by basic_istream< _CharT, _Traits >::seekg(), and basic_istream< _CharT, _Traits >::tellg().
pos_type basic_streambuf< _CharT, _Traits >::pubseekpos | ( | pos_type | __sp, | |
ios_base::openmode | __mod = ios_base::in | ios_base::out | |||
) | [inline] |
Definition at line 152 of file _streambuf.h.
Referenced by basic_istream< _CharT, _Traits >::seekg().
int basic_streambuf< _CharT, _Traits >::pubsync | ( | ) | [inline] |
Definition at line 156 of file _streambuf.h.
Referenced by basic_istream< _CharT, _Traits >::sync().
streamsize basic_streambuf< _CharT, _Traits >::showmanyc | ( | ) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, stdio_istreambuf, and stdio_ostreambuf.
Definition at line 175 of file _streambuf.c.
streamsize basic_streambuf< _CharT, _Traits >::xsgetn | ( | char_type * | __s, | |
streamsize | __n | |||
) | [protected, virtual] |
Definition at line 54 of file _streambuf.c.
References __STATIC_CAST, copy(), min(), and basic_streambuf< _CharT, _Traits >::sbumpc().
Referenced by basic_streambuf< char, char_traits< char > >::sgetn().
_STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf< _CharT, _Traits >::int_type basic_streambuf< _CharT, _Traits >::underflow | ( | ) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, basic_stringbuf< _CharT, _Traits, _Alloc >, strstreambuf, and stdio_istreambuf.
Definition at line 170 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::sgetc().
_STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf< _CharT, _Traits >::int_type basic_streambuf< _CharT, _Traits >::uflow | ( | ) | [protected, virtual] |
Reimplemented in basic_stringbuf< _CharT, _Traits, _Alloc >, and stdio_istreambuf.
Definition at line 162 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::sbumpc().
_STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf< _CharT, _Traits >::int_type basic_streambuf< _CharT, _Traits >::pbackfail | ( | int_type | = traits_type::eof() |
) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 150 of file _streambuf.c.
Referenced by basic_streambuf< char, char_traits< char > >::sputbackc(), and basic_streambuf< char, char_traits< char > >::sungetc().
streamsize basic_streambuf< _CharT, _Traits >::xsputn | ( | const char_type * | __s, | |
streamsize | __n | |||
) | [protected, virtual] |
Reimplemented in basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 84 of file _streambuf.c.
References __STATIC_CAST, copy(), and min().
Referenced by basic_streambuf< char, char_traits< char > >::sputn().
streamsize basic_streambuf< _CharT, _Traits >::_M_xsputnc | ( | char_type | __c, | |
streamsize | __n | |||
) | [protected, virtual] |
Reimplemented in basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 112 of file _streambuf.c.
References __STATIC_CAST, and min().
Referenced by basic_streambuf< char, char_traits< char > >::_M_sputnc().
_STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf< _CharT, _Traits >::int_type basic_streambuf< _CharT, _Traits >::overflow | ( | int_type | = traits_type::eof() |
) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >, and basic_stringbuf< _CharT, _Traits, _Alloc >.
Definition at line 156 of file _streambuf.c.
int_type basic_streambuf< _CharT, _Traits >::sputc | ( | char_type | __c | ) | [inline] |
Definition at line 201 of file _streambuf.h.
Referenced by __copy_unbuffered(), __stlp_string_fill(), basic_ostream< _CharT, _Traits >::_M_put_widen_aux(), and ostreambuf_iterator< _CharT, _Traits >::operator=().
streamsize basic_streambuf< _CharT, _Traits >::sputn | ( | const char_type * | __s, | |
streamsize | __n | |||
) | [inline] |
streamsize basic_streambuf< _CharT, _Traits >::_M_sputnc | ( | char_type | __c, | |
streamsize | __n | |||
) | [inline] |
Definition at line 211 of file _streambuf.h.
streamsize basic_streambuf< _CharT, _Traits >::in_avail | ( | ) | [inline] |
Definition at line 218 of file _streambuf.h.
int_type basic_streambuf< _CharT, _Traits >::snextc | ( | ) | [inline] |
Definition at line 223 of file _streambuf.h.
int_type basic_streambuf< _CharT, _Traits >::sbumpc | ( | ) | [inline] |
Definition at line 230 of file _streambuf.h.
Referenced by __copy_unbuffered(), __read_unbuffered(), _M_ignore_unbuffered(), getline(), istreambuf_iterator< _CharT, _Traits >::operator++(), operator>>(), basic_streambuf< char, char_traits< char > >::stossc(), and basic_streambuf< _CharT, _Traits >::xsgetn().
int_type basic_streambuf< _CharT, _Traits >::sgetc | ( | ) | [inline] |
Definition at line 236 of file _streambuf.h.
Referenced by __copy_buffered(), __read_buffered(), and _M_ignore_buffered().
streamsize basic_streambuf< _CharT, _Traits >::sgetn | ( | char_type * | __s, | |
streamsize | __n | |||
) | [inline] |
Definition at line 241 of file _streambuf.h.
int_type basic_streambuf< _CharT, _Traits >::sputbackc | ( | char_type | __c | ) | [inline] |
Definition at line 244 of file _streambuf.h.
Referenced by __pushback(), _M_ignore_unbuffered(), operator>>(), basic_istream< _CharT, _Traits >::putback(), and _SPutBackC< _CharT, _Traits >::~_SPutBackC().
int_type basic_streambuf< _CharT, _Traits >::sungetc | ( | ) | [inline] |
Definition at line 250 of file _streambuf.h.
Referenced by basic_istream< _CharT, _Traits >::unget().
void basic_streambuf< _CharT, _Traits >::imbue | ( | const locale & | ) | [protected, virtual] |
Reimplemented in basic_filebuf< _CharT, _Traits >.
Definition at line 180 of file _streambuf.c.
Referenced by basic_streambuf< _CharT, _Traits >::pubimbue().
locale basic_streambuf< _CharT, _Traits >::pubimbue | ( | const locale & | ) |
locale basic_streambuf< _CharT, _Traits >::getloc | ( | ) | const [inline] |
Definition at line 266 of file _streambuf.h.
void basic_streambuf< _CharT, _Traits >::stossc | ( | ) | [inline] |
Definition at line 269 of file _streambuf.h.
friend class basic_istream< _CharT, _Traits > [friend] |
Definition at line 49 of file _streambuf.h.
friend class basic_ostream< _CharT, _Traits > [friend] |
Definition at line 50 of file _streambuf.h.