basic_filebuf< _CharT, _Traits > Class Template Reference#include <_fstream.h>
Inheritance diagram for basic_filebuf< _CharT, _Traits >: ![]()
Detailed Descriptiontemplate<class _CharT, class _Traits>
|
typedef _CharT basic_filebuf< _CharT, _Traits >::char_type |
typedef _Traits::int_type basic_filebuf< _CharT, _Traits >::int_type |
typedef _Traits::pos_type basic_filebuf< _CharT, _Traits >::pos_type |
typedef _Traits::off_type basic_filebuf< _CharT, _Traits >::off_type |
typedef _Traits basic_filebuf< _CharT, _Traits >::traits_type |
typedef _Traits::state_type basic_filebuf< _CharT, _Traits >::_State_type |
Definition at line 183 of file _fstream.h.
typedef basic_streambuf<_CharT, _Traits> basic_filebuf< _CharT, _Traits >::_Base |
Definition at line 184 of file _fstream.h.
typedef basic_filebuf<_CharT, _Traits> basic_filebuf< _CharT, _Traits >::_Self |
Definition at line 185 of file _fstream.h.
basic_filebuf< _CharT, _Traits >::basic_filebuf | ( | ) |
Definition at line 47 of file _fstream.c.
basic_filebuf< _CharT, _Traits >::~basic_filebuf | ( | ) |
bool basic_filebuf< _CharT, _Traits >::is_open | ( | ) | const [inline] |
Definition at line 192 of file _fstream.h.
References _Filebuf_base::__is_open().
Referenced by basic_filebuf< _CharT, _Traits >::close().
_Self* basic_filebuf< _CharT, _Traits >::open | ( | const char * | __s, | |
ios_base::openmode | __m | |||
) | [inline] |
_Self* basic_filebuf< _CharT, _Traits >::open | ( | const char * | __s, | |
ios_base::openmode | __m, | |||
long | __protection | |||
) | [inline] |
_STLP_fd basic_filebuf< _CharT, _Traits >::fd | ( | ) | const [inline] |
_Self* basic_filebuf< _CharT, _Traits >::open | ( | int | __id, | |
ios_base::openmode | _Init_mode = ios_base::__default_mode | |||
) | [inline] |
_Self* basic_filebuf< _CharT, _Traits >::_M_open | ( | int | __id, | |
ios_base::openmode | _Init_mode = ios_base::__default_mode | |||
) | [inline] |
Definition at line 219 of file _fstream.h.
References _Filebuf_base::_M_open().
Referenced by basic_filebuf< _CharT, _Traits >::open().
basic_filebuf< _CharT, _Traits > * basic_filebuf< _CharT, _Traits >::close | ( | ) |
Definition at line 81 of file _fstream.c.
References _Filebuf_base::_M_close(), basic_filebuf< _CharT, _Traits >::is_open(), basic_streambuf< _CharT, _Traits >::setg(), and basic_streambuf< _CharT, _Traits >::setp().
Referenced by basic_filebuf< _CharT, _Traits >::~basic_filebuf().
streamsize basic_filebuf< _CharT, _Traits >::showmanyc | ( | ) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 130 of file _fstream.c.
References _Filebuf_base::_M_file_size(), _Filebuf_base::_M_seek(), ios_base::cur, basic_streambuf< _CharT, _Traits >::egptr(), and basic_streambuf< _CharT, _Traits >::gptr().
_STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf< _CharT, _Traits >::int_type basic_filebuf< _CharT, _Traits >::underflow | ( | ) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 75 of file _fstream.c.
References _Underflow< _CharT, _Traits >::_M_doit().
__BF_int_type__ basic_filebuf< _CharT, _Traits >::pbackfail | ( | int_type | = traits_type::eof() |
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 155 of file _fstream.c.
References __STATIC_CAST, basic_streambuf< _CharT, _Traits >::eback(), basic_streambuf< _CharT, _Traits >::egptr(), basic_streambuf< _CharT, _Traits >::gptr(), and basic_streambuf< _CharT, _Traits >::setg().
__BF_int_type__ basic_filebuf< _CharT, _Traits >::overflow | ( | int_type | = traits_type::eof() |
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 206 of file _fstream.c.
References _Noconv_output< _Traits >::_M_doit(), basic_filebuf< _CharT, _Traits >::_M_write(), codecvt_base::error, codecvt_base::noconv, codecvt< _InternT, _ExternT, _StateT >::out(), basic_streambuf< _CharT, _Traits >::pptr(), and basic_streambuf< _CharT, _Traits >::setp().
basic_streambuf< _CharT, _Traits > * basic_filebuf< _CharT, _Traits >::setbuf | ( | char_type * | , | |
streamsize | ||||
) | [protected, virtual] |
__BF_pos_type__ basic_filebuf< _CharT, _Traits >::seekoff | ( | off_type | , | |
ios_base::seekdir | , | |||
ios_base::openmode | = ios_base::in|ios_base::out | |||
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 279 of file _fstream.c.
References __STATIC_CAST, _Filebuf_base::_M_get_offset(), _Filebuf_base::_M_in_binary_mode(), _Filebuf_Tmp_Buf< _CharT >::_M_ptr, _Filebuf_base::_M_seek(), _STLP_PRIV, ios_base::beg, ios_base::cur, basic_streambuf< _CharT, _Traits >::eback(), ios_base::end, equal(), codecvt_base::error, basic_streambuf< _CharT, _Traits >::gptr(), codecvt< _InternT, _ExternT, _StateT >::in(), codecvt< _InternT, _ExternT, _StateT >::length(), and codecvt_base::noconv.
__BF_pos_type__ basic_filebuf< _CharT, _Traits >::seekpos | ( | pos_type | , | |
ios_base::openmode | = ios_base::in|ios_base::out | |||
) | [protected, virtual] |
Reimplemented from basic_streambuf< _CharT, _Traits >.
Definition at line 370 of file _fstream.c.
References _Filebuf_base::_M_seek(), and ios_base::beg.
int basic_filebuf< _CharT, _Traits >::sync | ( | ) | [protected, virtual] |
void basic_filebuf< _CharT, _Traits >::imbue | ( | const locale & | ) | [protected, virtual] |
bool basic_filebuf< _CharT, _Traits >::_M_write | ( | char * | __buf, | |
ptrdiff_t | __n | |||
) | [inline] |
Definition at line 350 of file _fstream.h.
References _Filebuf_base::_M_write().
Referenced by basic_filebuf< _CharT, _Traits >::overflow().
int_type basic_filebuf< _CharT, _Traits >::_M_do_noconv_input | ( | ) | [inline] |
friend class _Underflow< _CharT, _Traits > [friend] |
Definition at line 257 of file _fstream.h.