Whole document tree
    

Whole document tree

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

std::basic_streambuf< _CharT, _Traits > Class Template Reference

#include <std_streambuf.h>

Inheritance diagram for std::basic_streambuf:

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

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 ctype< char_type__ctype_type
typedef basic_streambuf< char_type,
traits_type
__streambuf_type

Public Methods

virtual ~basic_streambuf ()
locale pubimbue (const locale &__loc)
locale getloc () const
__streambuf_typepubsetbuf (char_type *__s, streamsize __n)
pos_type pubseekoff (off_type __off, ios_base::seekdir __way, ios_base::openmode __mode=ios_base::in|ios_base::out)
pos_type pubseekpos (pos_type __sp, ios_base::openmode __mode=ios_base::in|ios_base::out)
int pubsync ()
streamsize in_avail ()
int_type snextc ()
int_type sbumpc ()
int_type sgetc ()
streamsize sgetn (char_type *__s, streamsize __n)
int_type sputbackc (char_type __c)
int_type sungetc ()
int_type sputc (char_type __c)
streamsize sputn (const char_type *__s, streamsize __n)

Protected Methods

void _M_pback_create ()
void _M_pback_destroy ()
void _M_in_cur_move (off_type __n)
void _M_out_cur_move (off_type __n)
off_type _M_out_buf_size ()
void _M_set_indeterminate (void)
void _M_set_determinate (off_type __off)
bool _M_is_indeterminate (void)
 basic_streambuf ()
char_typeeback () const
char_typegptr () const
char_typeegptr () const
void gbump (int __n)
void setg (char_type *__gbeg, char_type *__gnext, char_type *__gend)
char_typepbase () const
char_typepptr () const
char_typeepptr () const
void pbump (int __n)
void setp (char_type *__pbeg, char_type *__pend)
virtual void imbue (const locale &__loc)
virtual basic_streambuf< char_type,
_Traits > * 
setbuf (char_type *, streamsize)
virtual pos_type seekoff (off_type, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out)
virtual pos_type seekpos (pos_type, ios_base::openmode=ios_base::in|ios_base::out)
virtual int sync ()
virtual streamsize showmanyc ()
virtual streamsize xsgetn (char_type *__s, streamsize __n)
virtual int_type underflow ()
virtual int_type uflow ()
virtual int_type pbackfail (int_type=traits_type::eof())
virtual streamsize xsputn (const char_type *__s, streamsize __n)
virtual int_type overflow (int_type=traits_type::eof())

Protected Attributes

char_type_M_buf
int_type _M_buf_size
int_type _M_buf_size_opt
bool _M_buf_unified
char_type_M_in_beg
char_type_M_in_cur
char_type_M_in_end
char_type_M_out_beg
char_type_M_out_cur
char_type_M_out_end
ios_base::openmode _M_mode
locale _M_buf_locale
bool _M_buf_locale_init
int_type _M_pback_size
char_type_M_pback
char_type_M_pback_cur_save
char_type_M_pback_end_save
bool _M_pback_init

Friends

class basic_ios< char_type, traits_type >
class basic_istream< char_type, traits_type >
class basic_ostream< char_type, traits_type >
class istreambuf_iterator< char_type, traits_type >
class ostreambuf_iterator< char_type, traits_type >
streamsize __copy_streambufs (basic_ios< char_type, traits_type > &__ios, __streambuf_type *__sbin, __streambuf_type *__sbout)

template<typename _CharT, typename _Traits>
class std::basic_streambuf< _CharT, _Traits >


Member Typedef Documentation

template<typename _CharT, typename _Traits>
typedef ctype<char_type> std::basic_streambuf< _CharT, _Traits >::__ctype_type
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 66 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
typedef basic_streambuf<char_type, traits_type> std::basic_streambuf< _CharT, _Traits >::__streambuf_type
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 67 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
typedef _CharT std::basic_streambuf< _CharT, _Traits >::char_type
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 59 of file std_streambuf.h.

Referenced by std::basic_streambuf< _CharT, _Traits >::sbumpc().

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

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 61 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_streambuf< char_type, traits_type >::in_avail(), std::basic_streambuf< char_type, traits_type >::overflow(), std::basic_streambuf< char_type, traits_type >::pbackfail(), std::basic_streambuf< _CharT, _Traits >::sbumpc(), std::basic_streambuf< char_type, traits_type >::sgetc(), std::basic_streambuf< char_type, traits_type >::snextc(), std::basic_streambuf< _CharT, _Traits >::sputbackc(), std::basic_streambuf< _CharT, _Traits >::sputc(), std::basic_streambuf< _CharT, _Traits >::sungetc(), std::basic_streambuf< char_type, traits_type >::uflow(), std::basic_streambuf< _CharT, _Traits >::xsgetn(), and std::basic_streambuf< _CharT, _Traits >::xsputn().

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

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 63 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_in_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_out_buf_size(), std::basic_streambuf< char_type, traits_type >::_M_out_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_set_determinate(), std::basic_streambuf< char_type, traits_type >::pubseekoff(), std::basic_streambuf< char_type, traits_type >::seekoff(), std::basic_streambuf< char_type, traits_type >::seekpos(), and std::basic_streambuf< _CharT, _Traits >::xsputn().

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

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 62 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::pubseekpos(), std::basic_streambuf< char_type, traits_type >::seekoff(), and std::basic_streambuf< char_type, traits_type >::seekpos().

template<typename _CharT, typename _Traits>
typedef _Traits std::basic_streambuf< _CharT, _Traits >::traits_type
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 60 of file std_streambuf.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits>
virtual std::basic_streambuf< _CharT, _Traits >::~basic_streambuf   [inline, virtual]
 

Definition at line 273 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
std::basic_streambuf< _CharT, _Traits >::basic_streambuf   [inline, protected]
 

Definition at line 381 of file std_streambuf.h.


Member Function Documentation

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::_M_in_cur_move off_type    __n [inline, protected]
 

Definition at line 177 of file std_streambuf.h.

Referenced by std::__copy_streambufs(), std::basic_streambuf< _CharT, _Traits >::sbumpc(), std::basic_streambuf< _CharT, _Traits >::sputbackc(), std::basic_streambuf< _CharT, _Traits >::sungetc(), and std::basic_streambuf< _CharT, _Traits >::xsgetn().

template<typename _CharT, typename _Traits>
bool std::basic_streambuf< _CharT, _Traits >::_M_is_indeterminate void    [inline, protected]
 

Definition at line 257 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::underflow().

template<typename _CharT, typename _Traits>
off_type std::basic_streambuf< _CharT, _Traits >::_M_out_buf_size   [inline, protected]
 

Definition at line 214 of file std_streambuf.h.

Referenced by std::basic_streambuf< _CharT, _Traits >::sputc(), and std::basic_streambuf< _CharT, _Traits >::xsputn().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::_M_out_cur_move off_type    __n [inline, protected]
 

Definition at line 194 of file std_streambuf.h.

Referenced by std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_filebuf< _CharT, _Traits >::overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), std::basic_streambuf< _CharT, _Traits >::sputc(), and std::basic_streambuf< _CharT, _Traits >::xsputn().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::_M_pback_create   [inline, protected]
 

Definition at line 134 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::pbackfail().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::_M_pback_destroy   [inline, protected]
 

Definition at line 152 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::close(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_filebuf< _CharT, _Traits >::underflow(), std::basic_filebuf< char_type, traits_type >::xsgetn(), and std::basic_filebuf< char_type, traits_type >::xsputn().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::_M_set_determinate off_type    __off [inline, protected]
 

Definition at line 246 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::underflow().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::_M_set_indeterminate void    [inline, protected]
 

Definition at line 237 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_really_overflow(), std::basic_filebuf< _CharT, _Traits >::basic_filebuf(), std::basic_filebuf< _CharT, _Traits >::open(), std::basic_filebuf< _CharT, _Traits >::seekoff(), and std::basic_filebuf< _CharT, _Traits >::setbuf().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::eback   const [inline, protected]
 

Definition at line 392 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::imbue(), and std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::egptr   const [inline, protected]
 

Definition at line 398 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::in_avail(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), and std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::epptr   const [inline, protected]
 

Definition at line 421 of file std_streambuf.h.

Referenced by std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::gbump int    __n [inline, protected]
 

Definition at line 401 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
locale std::basic_streambuf< _CharT, _Traits >::getloc   const [inline]
 

Definition at line 292 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::gptr   const [inline, protected]
 

Definition at line 395 of file std_streambuf.h.

Referenced by std::__copy_streambufs(), std::basic_filebuf< _CharT, _Traits >::imbue(), std::basic_streambuf< char_type, traits_type >::in_avail(), std::basic_streambuf< _CharT, _Traits >::sbumpc(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), and std::basic_stringbuf< _CharT, _Traits, _Alloc >::underflow().

template<typename _CharT, typename _Traits>
virtual void std::basic_streambuf< _CharT, _Traits >::imbue const locale   __loc [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 438 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::pubimbue().

template<typename _CharT, typename _Traits>
streamsize std::basic_streambuf< _CharT, _Traits >::in_avail   [inline]
 

Definition at line 321 of file std_streambuf.h.

Referenced by std::__copy_streambufs().

template<typename _CharT, typename _Traits>
virtual int_type std::basic_streambuf< _CharT, _Traits >::overflow int_type    = traits_type::eof() [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 500 of file std_streambuf.h.

Referenced by std::basic_streambuf< _CharT, _Traits >::sputc(), and std::basic_streambuf< _CharT, _Traits >::xsputn().

template<typename _CharT, typename _Traits>
virtual int_type std::basic_streambuf< _CharT, _Traits >::pbackfail int_type    = traits_type::eof() [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 492 of file std_streambuf.h.

Referenced by std::basic_streambuf< _CharT, _Traits >::sputbackc(), and std::basic_streambuf< _CharT, _Traits >::sungetc().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::pbase   const [inline, protected]
 

Definition at line 415 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::imbue(), and std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::pbump int    __n [inline, protected]
 

Definition at line 424 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::pptr   const [inline, protected]
 

Definition at line 418 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::imbue(), and std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff().

template<typename _CharT, typename _Traits>
locale std::basic_streambuf< _CharT, _Traits >::pubimbue const locale   __loc [inline]
 

Definition at line 284 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
pos_type std::basic_streambuf< _CharT, _Traits >::pubseekoff off_type    __off,
ios_base::seekdir    __way,
ios_base::openmode    __mode = ios_base::in | ios_base::out
[inline]
 

Definition at line 306 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
pos_type std::basic_streambuf< _CharT, _Traits >::pubseekpos pos_type    __sp,
ios_base::openmode    __mode = ios_base::in | ios_base::out
[inline]
 

Definition at line 311 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
__streambuf_type* std::basic_streambuf< _CharT, _Traits >::pubsetbuf char_type   __s,
streamsize    __n
[inline]
 

Definition at line 302 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
int std::basic_streambuf< _CharT, _Traits >::pubsync   [inline]
 

Definition at line 316 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
basic_streambuf< _CharT, _Traits >::int_type std::basic_streambuf< _CharT, _Traits >::sbumpc  
 

Definition at line 42 of file streambuf.tcc.

References std::basic_streambuf< _CharT, _Traits >::_M_in_cur, std::basic_streambuf< _CharT, _Traits >::_M_in_cur_move(), std::basic_streambuf< _CharT, _Traits >::_M_in_end, std::basic_streambuf< _CharT, _Traits >::char_type, std::basic_streambuf< _CharT, _Traits >::gptr(), std::basic_streambuf< _CharT, _Traits >::int_type, and std::basic_streambuf< _CharT, _Traits >::uflow().

Referenced by std::operator>>(), and std::basic_streambuf< char_type, traits_type >::snextc().

template<typename _CharT, typename _Traits>
virtual pos_type std::basic_streambuf< _CharT, _Traits >::seekoff off_type   ,
ios_base::seekdir   ,
ios_base::openmode    = ios_base::in | ios_base::out
[inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 451 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::pubseekoff().

template<typename _CharT, typename _Traits>
virtual pos_type std::basic_streambuf< _CharT, _Traits >::seekpos pos_type   ,
ios_base::openmode    = ios_base::in | ios_base::out
[inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 456 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::pubseekpos().

template<typename _CharT, typename _Traits>
virtual basic_streambuf<char_type,_Traits>* std::basic_streambuf< _CharT, _Traits >::setbuf char_type  ,
streamsize   
[inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 447 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::pubsetbuf().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::setg char_type   __gbeg,
char_type   __gnext,
char_type   __gend
[inline, protected]
 

Definition at line 404 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_destroy_internal_buffer(), std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_really_sync(), std::basic_streambuf< char_type, traits_type >::_M_set_determinate(), and std::basic_streambuf< char_type, traits_type >::_M_set_indeterminate().

template<typename _CharT, typename _Traits>
void std::basic_streambuf< _CharT, _Traits >::setp char_type   __pbeg,
char_type   __pend
[inline, protected]
 

Definition at line 427 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_destroy_internal_buffer(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_really_sync(), std::basic_streambuf< char_type, traits_type >::_M_set_determinate(), and std::basic_streambuf< char_type, traits_type >::_M_set_indeterminate().

template<typename _CharT, typename _Traits>
int_type std::basic_streambuf< _CharT, _Traits >::sgetc   [inline]
 

Definition at line 351 of file std_streambuf.h.

Referenced by std::__copy_streambufs(), and std::basic_streambuf< char_type, traits_type >::snextc().

template<typename _CharT, typename _Traits>
streamsize std::basic_streambuf< _CharT, _Traits >::sgetn char_type   __s,
streamsize    __n
[inline]
 

Definition at line 362 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
virtual streamsize std::basic_streambuf< _CharT, _Traits >::showmanyc void    [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 465 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::in_avail().

template<typename _CharT, typename _Traits>
int_type std::basic_streambuf< _CharT, _Traits >::snextc   [inline]
 

Definition at line 341 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
basic_streambuf< _CharT, _Traits >::int_type std::basic_streambuf< _CharT, _Traits >::sputbackc char_type    __c
 

Definition at line 59 of file streambuf.tcc.

References std::basic_streambuf< _CharT, _Traits >::_M_in_beg, std::basic_streambuf< _CharT, _Traits >::_M_in_cur, std::basic_streambuf< _CharT, _Traits >::_M_in_cur_move(), std::basic_streambuf< _CharT, _Traits >::int_type, and std::basic_streambuf< _CharT, _Traits >::pbackfail().

Referenced by std::operator>>().

template<typename _CharT, typename _Traits>
basic_streambuf< _CharT, _Traits >::int_type std::basic_streambuf< _CharT, _Traits >::sputc char_type    __c
 

Definition at line 98 of file streambuf.tcc.

References std::basic_streambuf< _CharT, _Traits >::_M_out_buf_size(), std::basic_streambuf< _CharT, _Traits >::_M_out_cur, std::basic_streambuf< _CharT, _Traits >::_M_out_cur_move(), std::basic_streambuf< _CharT, _Traits >::int_type, and std::basic_streambuf< _CharT, _Traits >::overflow().

Referenced by std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow().

template<typename _CharT, typename _Traits>
streamsize std::basic_streambuf< _CharT, _Traits >::sputn const char_type   __s,
streamsize    __n
[inline]
 

Definition at line 377 of file std_streambuf.h.

Referenced by std::__copy_streambufs().

template<typename _CharT, typename _Traits>
basic_streambuf< _CharT, _Traits >::int_type std::basic_streambuf< _CharT, _Traits >::sungetc  
 

Definition at line 77 of file streambuf.tcc.

References std::basic_streambuf< _CharT, _Traits >::_M_in_beg, std::basic_streambuf< _CharT, _Traits >::_M_in_cur, std::basic_streambuf< _CharT, _Traits >::_M_in_cur_move(), std::basic_streambuf< _CharT, _Traits >::int_type, and std::basic_streambuf< _CharT, _Traits >::pbackfail().

template<typename _CharT, typename _Traits>
virtual int std::basic_streambuf< _CharT, _Traits >::sync void    [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 461 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::pubsync().

template<typename _CharT, typename _Traits>
virtual int_type std::basic_streambuf< _CharT, _Traits >::uflow   [inline, protected, virtual]
 

Definition at line 475 of file std_streambuf.h.

Referenced by std::basic_streambuf< _CharT, _Traits >::sbumpc(), and std::basic_streambuf< _CharT, _Traits >::xsgetn().

template<typename _CharT, typename _Traits>
virtual int_type std::basic_streambuf< _CharT, _Traits >::underflow void    [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, std::basic_stringbuf< _CharT, _Traits, _Alloc >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 471 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::sgetc(), and std::basic_streambuf< char_type, traits_type >::uflow().

template<typename _CharT, typename _Traits>
streamsize std::basic_streambuf< _CharT, _Traits >::xsgetn char_type   __s,
streamsize    __n
[protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 115 of file streambuf.tcc.

References std::basic_streambuf< _CharT, _Traits >::_M_in_cur, std::basic_streambuf< _CharT, _Traits >::_M_in_cur_move(), std::basic_streambuf< _CharT, _Traits >::_M_in_end, std::basic_streambuf< _CharT, _Traits >::int_type, std::min(), and std::basic_streambuf< _CharT, _Traits >::uflow().

Referenced by std::basic_streambuf< char_type, traits_type >::sgetn().

template<typename _CharT, typename _Traits>
streamsize std::basic_streambuf< _CharT, _Traits >::xsputn const char_type   __s,
streamsize    __n
[protected, virtual]
 

Reimplemented in std::basic_filebuf< _CharT, _Traits >, and std::basic_filebuf< char_type, traits_type >.

Definition at line 154 of file streambuf.tcc.

References std::basic_streambuf< _CharT, _Traits >::_M_out_buf_size(), std::basic_streambuf< _CharT, _Traits >::_M_out_cur, std::basic_streambuf< _CharT, _Traits >::_M_out_cur_move(), std::basic_streambuf< _CharT, _Traits >::int_type, std::min(), std::basic_streambuf< _CharT, _Traits >::off_type, and std::basic_streambuf< _CharT, _Traits >::overflow().

Referenced by std::basic_streambuf< char_type, traits_type >::sputn().


Friends And Related Function Documentation

template<typename _CharT, typename _Traits>
streamsize __copy_streambufs basic_ios< char_type, traits_type > &    __ios,
__streambuf_type   __sbin,
__streambuf_type   __sbout
[friend]
 

template<typename _CharT, typename _Traits>
friend class basic_ios< char_type, traits_type > [friend]
 

Definition at line 69 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
friend class basic_istream< char_type, traits_type > [friend]
 

Definition at line 70 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
friend class basic_ostream< char_type, traits_type > [friend]
 

Definition at line 71 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
friend class istreambuf_iterator< char_type, traits_type > [friend]
 

Definition at line 72 of file std_streambuf.h.

template<typename _CharT, typename _Traits>
friend class ostreambuf_iterator< char_type, traits_type > [friend]
 

Definition at line 73 of file std_streambuf.h.


Member Data Documentation

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_buf [protected]
 

Definition at line 86 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_allocate_internal_buffer(), std::basic_filebuf< _CharT, _Traits >::_M_destroy_internal_buffer(), std::basic_streambuf< char_type, traits_type >::_M_out_buf_size(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_really_sync(), std::basic_streambuf< char_type, traits_type >::_M_set_determinate(), std::basic_streambuf< char_type, traits_type >::_M_set_indeterminate(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_filebuf< _CharT, _Traits >::overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), and std::basic_filebuf< _CharT, _Traits >::setbuf().

template<typename _CharT, typename _Traits>
locale std::basic_streambuf< _CharT, _Traits >::_M_buf_locale [protected]
 

Definition at line 114 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::imbue().

template<typename _CharT, typename _Traits>
bool std::basic_streambuf< _CharT, _Traits >::_M_buf_locale_init [protected]
 

Definition at line 117 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_streambuf< char_type, traits_type >::imbue(), std::basic_filebuf< _CharT, _Traits >::imbue(), and std::basic_streambuf< char_type, traits_type >::~basic_streambuf().

template<typename _CharT, typename _Traits>
int_type std::basic_streambuf< _CharT, _Traits >::_M_buf_size [protected]
 

Definition at line 89 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_allocate_internal_buffer(), std::basic_streambuf< char_type, traits_type >::_M_out_buf_size(), std::basic_filebuf< _CharT, _Traits >::_M_really_overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_stringbuf_init(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_filebuf< _CharT, _Traits >::overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), std::basic_filebuf< _CharT, _Traits >::setbuf(), std::basic_filebuf< _CharT, _Traits >::underflow(), and std::basic_streambuf< char_type, traits_type >::~basic_streambuf().

template<typename _CharT, typename _Traits>
int_type std::basic_streambuf< _CharT, _Traits >::_M_buf_size_opt [protected]
 

Definition at line 92 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_allocate_internal_buffer(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_stringbuf_init(), std::basic_filebuf< _CharT, _Traits >::basic_filebuf(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_filebuf< _CharT, _Traits >::setbuf(), and std::basic_streambuf< char_type, traits_type >::~basic_streambuf().

template<typename _CharT, typename _Traits>
bool std::basic_streambuf< _CharT, _Traits >::_M_buf_unified [protected]
 

Definition at line 96 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_allocate_file(), std::basic_streambuf< char_type, traits_type >::_M_in_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_out_cur_move(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_streambuf< char_type, traits_type >::uflow(), and std::basic_streambuf< char_type, traits_type >::~basic_streambuf().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_in_beg [protected]
 

Definition at line 103 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_streambuf< char_type, traits_type >::eback(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail(), std::basic_filebuf< _CharT, _Traits >::pbackfail(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), std::basic_streambuf< char_type, traits_type >::setg(), std::basic_streambuf< _CharT, _Traits >::sputbackc(), std::basic_streambuf< _CharT, _Traits >::sungetc(), and std::basic_filebuf< _CharT, _Traits >::underflow().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_in_cur [protected]
 

Definition at line 104 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_in_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_streambuf< char_type, traits_type >::_M_out_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_streambuf< char_type, traits_type >::gbump(), std::basic_streambuf< char_type, traits_type >::gptr(), std::basic_streambuf< char_type, traits_type >::in_avail(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::pbackfail(), std::basic_filebuf< _CharT, _Traits >::pbackfail(), std::basic_streambuf< _CharT, _Traits >::sbumpc(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), std::basic_streambuf< char_type, traits_type >::setg(), std::basic_streambuf< char_type, traits_type >::sgetc(), std::basic_filebuf< _CharT, _Traits >::showmanyc(), std::basic_streambuf< _CharT, _Traits >::sputbackc(), std::basic_streambuf< _CharT, _Traits >::sungetc(), std::basic_streambuf< char_type, traits_type >::uflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::underflow(), std::basic_filebuf< _CharT, _Traits >::underflow(), std::basic_streambuf< _CharT, _Traits >::xsgetn(), and std::basic_filebuf< char_type, traits_type >::xsgetn().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_in_end [protected]
 

Definition at line 105 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_streambuf< char_type, traits_type >::_M_out_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_streambuf< char_type, traits_type >::egptr(), std::basic_streambuf< char_type, traits_type >::in_avail(), std::basic_streambuf< _CharT, _Traits >::sbumpc(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_streambuf< char_type, traits_type >::setg(), std::basic_streambuf< char_type, traits_type >::sgetc(), std::basic_filebuf< _CharT, _Traits >::showmanyc(), std::basic_streambuf< char_type, traits_type >::uflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::underflow(), std::basic_filebuf< _CharT, _Traits >::underflow(), std::basic_streambuf< _CharT, _Traits >::xsgetn(), and std::basic_filebuf< char_type, traits_type >::xsgetn().

template<typename _CharT, typename _Traits>
ios_base::openmode std::basic_streambuf< _CharT, _Traits >::_M_mode [protected]
 

Definition at line 111 of file std_streambuf.h.

Referenced by std::__copy_streambufs(), std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_really_sync(), std::basic_streambuf< char_type, traits_type >::_M_set_determinate(), std::basic_streambuf< char_type, traits_type >::_M_set_indeterminate(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_stringbuf_init(), std::basic_filebuf< _CharT, _Traits >::basic_filebuf(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_filebuf< _CharT, _Traits >::close(), std::basic_filebuf< _CharT, _Traits >::open(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_filebuf< _CharT, _Traits >::overflow(), std::basic_filebuf< _CharT, _Traits >::pbackfail(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), std::basic_streambuf< char_type, traits_type >::setg(), std::basic_streambuf< char_type, traits_type >::setp(), std::basic_filebuf< _CharT, _Traits >::showmanyc(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::str(), std::basic_streambuf< char_type, traits_type >::uflow(), std::basic_filebuf< _CharT, _Traits >::underflow(), and std::basic_streambuf< char_type, traits_type >::~basic_streambuf().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_out_beg [protected]
 

Definition at line 106 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_streambuf< char_type, traits_type >::_M_out_buf_size(), std::basic_filebuf< _CharT, _Traits >::_M_really_overflow(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_filebuf< _CharT, _Traits >::close(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_streambuf< char_type, traits_type >::pbase(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_streambuf< char_type, traits_type >::setp(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::str(), and std::basic_filebuf< char_type, traits_type >::sync().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_out_cur [protected]
 

Definition at line 107 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_in_cur_move(), std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_streambuf< char_type, traits_type >::_M_out_buf_size(), std::basic_streambuf< char_type, traits_type >::_M_out_cur_move(), std::basic_filebuf< _CharT, _Traits >::_M_really_overflow(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::_M_really_sync(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_filebuf< _CharT, _Traits >::close(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::overflow(), std::basic_filebuf< _CharT, _Traits >::overflow(), std::basic_filebuf< _CharT, _Traits >::pbackfail(), std::basic_streambuf< char_type, traits_type >::pbump(), std::basic_streambuf< char_type, traits_type >::pptr(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekoff(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::seekpos(), std::basic_streambuf< char_type, traits_type >::setp(), std::basic_streambuf< _CharT, _Traits >::sputc(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::str(), std::basic_filebuf< char_type, traits_type >::sync(), std::basic_streambuf< char_type, traits_type >::uflow(), std::basic_filebuf< _CharT, _Traits >::underflow(), and std::basic_streambuf< _CharT, _Traits >::xsputn().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_out_end [protected]
 

Definition at line 108 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_is_indeterminate(), std::basic_streambuf< char_type, traits_type >::_M_out_buf_size(), std::basic_streambuf< char_type, traits_type >::_M_out_cur_move(), std::basic_filebuf< _CharT, _Traits >::_M_really_overflow(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_filebuf< _CharT, _Traits >::close(), std::basic_streambuf< char_type, traits_type >::epptr(), std::basic_filebuf< _CharT, _Traits >::seekoff(), std::basic_streambuf< char_type, traits_type >::setp(), std::basic_stringbuf< _CharT, _Traits, _Alloc >::str(), and std::basic_filebuf< char_type, traits_type >::sync().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_pback [protected]
 

Definition at line 125 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_allocate_pback_buffer(), std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), std::basic_filebuf< _CharT, _Traits >::close(), and std::basic_streambuf< char_type, traits_type >::in_avail().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_pback_cur_save [protected]
 

Definition at line 126 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), and std::basic_streambuf< char_type, traits_type >::in_avail().

template<typename _CharT, typename _Traits>
char_type* std::basic_streambuf< _CharT, _Traits >::_M_pback_end_save [protected]
 

Definition at line 127 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), std::basic_streambuf< char_type, traits_type >::basic_streambuf(), and std::basic_streambuf< char_type, traits_type >::in_avail().

template<typename _CharT, typename _Traits>
bool std::basic_streambuf< _CharT, _Traits >::_M_pback_init [protected]
 

Definition at line 128 of file std_streambuf.h.

Referenced by std::basic_streambuf< char_type, traits_type >::_M_pback_create(), std::basic_streambuf< char_type, traits_type >::_M_pback_destroy(), and std::basic_streambuf< char_type, traits_type >::basic_streambuf().

template<typename _CharT, typename _Traits>
int_type std::basic_streambuf< _CharT, _Traits >::_M_pback_size [protected]
 

Definition at line 124 of file std_streambuf.h.

Referenced by std::basic_filebuf< _CharT, _Traits >::_M_allocate_pback_buffer(), std::basic_streambuf< char_type, traits_type >::_M_pback_create(), and std::basic_streambuf< char_type, traits_type >::basic_streambuf().


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