#include <ext/stdio_filebuf.h>
Inheritance diagram for __gnu_cxx::stdio_filebuf< _CharT, _Traits >:
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 std::size_t | size_t |
Public Member Functions | |
stdio_filebuf () | |
stdio_filebuf (int __fd, std::ios_base::openmode __mode, size_t __size=static_cast< size_t >(BUFSIZ)) | |
stdio_filebuf (std::__c_file *__f, std::ios_base::openmode __mode, size_t __size=static_cast< size_t >(BUFSIZ)) | |
virtual | ~stdio_filebuf () |
int | fd () |
std::__c_file * | file () |
This GNU extension provides extensions for working with standard C FILE*'s and POSIX file descriptors. It must be instantiated by the user with the type of character used in the file stream, e.g., stdio_filebuf<char>.
Definition at line 53 of file stdio_filebuf.h.
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_filebuf< _CharT, _Traits >. Definition at line 57 of file stdio_filebuf.h. |
|
Reimplemented from std::basic_filebuf< _CharT, _Traits >. Definition at line 59 of file stdio_filebuf.h. |
|
Reimplemented from std::basic_filebuf< _CharT, _Traits >. Definition at line 61 of file stdio_filebuf.h. |
|
Reimplemented from std::basic_filebuf< _CharT, _Traits >. Definition at line 60 of file stdio_filebuf.h. |
|
Definition at line 62 of file stdio_filebuf.h. |
|
Reimplemented from std::basic_filebuf< _CharT, _Traits >. Definition at line 58 of file stdio_filebuf.h. |
|
deferred initialization Definition at line 68 of file stdio_filebuf.h. |
|
Definition at line 130 of file stdio_filebuf.h. References std::basic_filebuf< _CharT, _Traits >::_M_allocate_internal_buffer(), std::basic_filebuf< _CharT, _Traits >::_M_set_buffer(), std::basic_filebuf< _CharT, _Traits >::is_open(), and std::ios_base::openmode. |
|
FILE* . The FILE* will not be automatically closed when the stdio_filebuf is closed/destroyed.
Definition at line 146 of file stdio_filebuf.h. References std::__c_file, std::basic_filebuf< _CharT, _Traits >::_M_allocate_internal_buffer(), std::basic_filebuf< _CharT, _Traits >::_M_set_buffer(), std::basic_filebuf< _CharT, _Traits >::is_open(), and std::ios_base::openmode. |
|
Closes the external data stream if the file descriptor constructor was used. Definition at line 125 of file stdio_filebuf.h. |
|
Definition at line 111 of file stdio_filebuf.h. |
|
Definition at line 121 of file stdio_filebuf.h. |