#include <basic_file.h>
Public Member Functions | |
__basic_file (__c_lock *__lock=0) | |
__basic_file * | open (const char *__name, ios_base::openmode __mode, int __prot=0664) |
__basic_file * | sys_open (__c_file *__file, ios_base::openmode) |
__basic_file * | sys_open (int __fd, ios_base::openmode __mode) |
__basic_file * | close () |
bool | is_open () const |
int | fd () |
__c_file * | file () |
~__basic_file () | |
streamsize | xsputn (const char *__s, streamsize __n) |
streamsize | xsputn_2 (const char *__s1, streamsize __n1, const char *__s2, streamsize __n2) |
streamsize | xsgetn (char *__s, streamsize __n) |
streamoff | seekoff (streamoff __off, ios_base::seekdir __way) |
int | sync () |
streamsize | showmanyc () |
Private Attributes | |
__c_file * | _M_cfile |
bool | _M_cfile_created |
Definition at line 55 of file basic_file.h.
std::__basic_file< char >::__basic_file | ( | __c_lock * | __lock = 0 |
) |
std::__basic_file< char >::~__basic_file | ( | ) |
__basic_file* std::__basic_file< char >::close | ( | ) |
Referenced by std::basic_filebuf< _CharT, _Traits >::close().
int std::__basic_file< char >::fd | ( | ) |
__c_file* std::__basic_file< char >::file | ( | ) |
bool std::__basic_file< char >::is_open | ( | ) | const |
Referenced by std::basic_filebuf< _CharT, _Traits >::is_open().
__basic_file* std::__basic_file< char >::open | ( | const char * | __name, | |
ios_base::openmode | __mode, | |||
int | __prot = 0664 | |||
) |
Referenced by std::basic_filebuf< _CharT, _Traits >::open().
streamoff std::__basic_file< char >::seekoff | ( | streamoff | __off, | |
ios_base::seekdir | __way | |||
) |
Referenced by std::basic_filebuf< _CharT, _Traits >::_M_seek().
streamsize std::__basic_file< char >::showmanyc | ( | ) |
Referenced by std::basic_filebuf< _CharT, _Traits >::showmanyc().
int std::__basic_file< char >::sync | ( | ) |
__basic_file* std::__basic_file< char >::sys_open | ( | int | __fd, | |
ios_base::openmode | __mode | |||
) |
__basic_file* std::__basic_file< char >::sys_open | ( | __c_file * | __file, | |
ios_base::openmode | ||||
) |
streamsize std::__basic_file< char >::xsgetn | ( | char * | __s, | |
streamsize | __n | |||
) |
streamsize std::__basic_file< char >::xsputn | ( | const char * | __s, | |
streamsize | __n | |||
) |
streamsize std::__basic_file< char >::xsputn_2 | ( | const char * | __s1, | |
streamsize | __n1, | |||
const char * | __s2, | |||
streamsize | __n2 | |||
) |
Referenced by std::basic_filebuf< _CharT, _Traits >::xsputn().
Definition at line 58 of file basic_file.h.
bool std::__basic_file< char >::_M_cfile_created [private] |
Definition at line 61 of file basic_file.h.