Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::basic_streambuf Class Template Reference

#include <std_streambuf.h>

Inherited by std::basic_filebuf, and std::basic_stringbuf.

List of all members.

Public Types


Public Methods


Protected Methods


Protected Attributes


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 >

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


Member Typedef Documentation

typedef _CharT char_type
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

typedef _Traits traits_type
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

typedef traits_type::int_type int_type
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

typedef traits_type::pos_type pos_type
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

typedef traits_type::off_type off_type
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

typedef ctype<char_type> __ctype_type
 

Reimplemented in std::basic_filebuf.

typedef basic_streambuf<char_type, traits_type> __streambuf_type
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.


Constructor & Destructor Documentation

~basic_streambuf ( ) [inline, virtual]
 

basic_streambuf ( ) [inline, protected]
 


Member Function Documentation

void _M_pback_create ( ) [inline, protected]
 

void _M_pback_destroy ( ) [inline, protected]
 

void _M_in_cur_move ( off_type __n ) [inline, protected]
 

void _M_out_cur_move ( off_type __n ) [inline, protected]
 

off_type _M_out_buf_size ( ) [inline, protected]
 

void _M_set_indeterminate ( void ) [inline, protected]
 

void _M_set_determinate ( off_type __off ) [inline, protected]
 

bool _M_is_indeterminate ( void ) [inline, protected]
 

locale pubimbue ( const locale & __loc ) [inline]
 

locale getloc ( ) const [inline]
 

__streambuf_type * pubsetbuf ( char_type * __s,
streamsize __n ) [inline]
 

pos_type pubseekoff ( off_type __off,
ios_base::seekdir __way,
ios_base::openmode __mode = ios_base::in | ios_base::out ) [inline]
 

pos_type pubseekpos ( pos_type __sp,
ios_base::openmode __mode = ios_base::in | ios_base::out ) [inline]
 

int pubsync ( ) [inline]
 

streamsize in_avail ( ) [inline]
 

int_type snextc ( ) [inline]
 

int_type sbumpc ( )
 

int_type sgetc ( ) [inline]
 

streamsize sgetn ( char_type * __s,
streamsize __n ) [inline]
 

int_type sputbackc ( char_type __c )
 

int_type sungetc ( )
 

int_type sputc ( char_type __c )
 

streamsize sputn ( const char_type * __s,
streamsize __n ) [inline]
 

char_type * eback ( ) const [inline, protected]
 

char_type * gptr ( ) const [inline, protected]
 

char_type * egptr ( ) const [inline, protected]
 

void gbump ( int __n ) [inline, protected]
 

void setg ( char_type * __gbeg,
char_type * __gnext,
char_type * __gend ) [inline, protected]
 

char_type * pbase ( ) const [inline, protected]
 

char_type * pptr ( ) const [inline, protected]
 

char_type * epptr ( ) const [inline, protected]
 

void pbump ( int __n ) [inline, protected]
 

void setp ( char_type * __pbeg,
char_type * __pend ) [inline, protected]
 

void imbue ( const locale & __loc ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf.

basic_streambuf< char_type, _Traits > * setbuf<char_type,_Traits> ( char_type * __s,
streamsize __n ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

pos_type seekoff ( off_type __off,
ios_base::seekdir __way,
ios_base::openmode __mode = ios_base::in | ios_base::out ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

pos_type seekpos ( pos_type __sp,
ios_base::openmode __mode = ios_base::in | ios_base::out ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

int sync ( void ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf.

streamsize showmanyc ( void ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf.

virtual streamsize xsgetn ( char_type * __s,
streamsize __n ) [protected, virtual]
 

Reimplemented in std::basic_filebuf.

int_type underflow ( void ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

int_type uflow ( ) [inline, protected, virtual]
 

int_type pbackfail ( int_type __c = traits_type::eof() ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.

virtual streamsize xsputn ( const char_type * __s,
streamsize __n ) [protected, virtual]
 

Reimplemented in std::basic_filebuf.

int_type overflow ( int_type __c = traits_type::eof() ) [inline, protected, virtual]
 

Reimplemented in std::basic_filebuf, and std::basic_stringbuf.


Friends And Related Function Documentation

friend class basic_ios< char_type, traits_type > [friend]
 

friend class basic_istream< char_type, traits_type > [friend]
 

friend class basic_ostream< char_type, traits_type > [friend]
 

friend class istreambuf_iterator< char_type, traits_type > [friend]
 

friend class ostreambuf_iterator< char_type, traits_type > [friend]
 

streamsize __copy_streambufs ( basic_ios< char_type, traits_type > & __ios,
__streambuf_type * __sbin,
__streambuf_type * __sbout ) [friend]
 


Member Data Documentation

char_type* _M_buf [protected]
 

int_type _M_buf_size [protected]
 

int_type _M_buf_size_opt [protected]
 

bool _M_buf_unified [protected]
 

char_type* _M_in_beg [protected]
 

char_type* _M_in_cur [protected]
 

char_type* _M_in_end [protected]
 

char_type* _M_out_beg [protected]
 

char_type* _M_out_cur [protected]
 

char_type* _M_out_end [protected]
 

ios_base::openmode _M_mode [protected]
 

locale _M_buf_locale [protected]
 

bool _M_buf_locale_init [protected]
 

int_type _M_pback_size [protected]
 

char_type* _M_pback [protected]
 

char_type* _M_pback_cur_save [protected]
 

char_type* _M_pback_end_save [protected]
 

bool _M_pback_init [protected]
 


The documentation for this class was generated from the following file:
Generated at Fri Apr 6 15:54:33 2001 for libstdc++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001