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 _Traits::state_type | _State_type |
typedef basic_streambuf
< _CharT, _Traits > | _Base |
typedef basic_filebuf< _CharT,
_Traits > | _Self |
Public Member Functions |
| | basic_filebuf () |
| | ~basic_filebuf () |
| bool | is_open () const |
| _Self * | open (const char *__s, ios_base::openmode __m) |
| _Self * | open (const char *__s, ios_base::openmode __m, long __protection) |
| _STLP_fd | fd () const |
| _Self * | open (int __id, ios_base::openmode _Init_mode=ios_base::__default_mode) |
| _Self * | _M_open (int __id, ios_base::openmode _Init_mode=ios_base::__default_mode) |
| _Self * | close () |
| bool | _M_write (char *__buf, ptrdiff_t __n) |
| int_type | _M_do_noconv_input () |
Protected Member Functions |
| virtual streamsize | showmanyc () |
| virtual int_type | underflow () |
| virtual int_type | pbackfail (int_type=traits_type::eof()) |
| virtual int_type | overflow (int_type=traits_type::eof()) |
virtual basic_streambuf
< _CharT, _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 void | imbue (const locale &) |
Private Types |
| enum | { _S_pback_buf_size = 8
} |
typedef codecvt< _CharT, char,
_State_type > | _Codecvt |
Private Member Functions |
| void | _M_exit_putback_mode () |
| bool | _M_switch_to_input_mode () |
| void | _M_exit_input_mode () |
| bool | _M_switch_to_output_mode () |
| int_type | _M_input_error () |
| int_type | _M_underflow_aux () |
| int_type | _M_output_error () |
| bool | _M_unshift () |
| bool | _M_allocate_buffers (_CharT *__buf, streamsize __n) |
| bool | _M_allocate_buffers () |
| void | _M_deallocate_buffers () |
| pos_type | _M_seek_return (off_type __off, _State_type __state) |
| bool | _M_seek_init (bool __do_unshift) |
| void | _M_setup_codecvt (const locale &, bool __on_imbue=true) |
Private Attributes |
| _Filebuf_base | _M_base |
| unsigned char | _M_constant_width |
| unsigned char | _M_always_noconv |
| unsigned char | _M_int_buf_dynamic |
| unsigned char | _M_in_input_mode |
| unsigned char | _M_in_output_mode |
| unsigned char | _M_in_error_mode |
| unsigned char | _M_in_putback_mode |
| _CharT * | _M_int_buf |
| _CharT * | _M_int_buf_EOS |
| char * | _M_ext_buf |
| char * | _M_ext_buf_EOS |
| char * | _M_ext_buf_converted |
| char * | _M_ext_buf_end |
| _State_type | _M_state |
| _State_type | _M_end_state |
| void * | _M_mmap_base |
| streamoff | _M_mmap_len |
| _CharT * | _M_saved_eback |
| _CharT * | _M_saved_gptr |
| _CharT * | _M_saved_egptr |
| const _Codecvt * | _M_codecvt |
| int | _M_width |
| int | _M_max_width |
| _CharT | _M_pback_buf [_S_pback_buf_size] |
Friends |
| class | _Underflow< _CharT, _Traits > |
template<class _CharT, class _Traits>
class basic_filebuf< _CharT, _Traits >
Definition at line 149 of file _fstream.h.