Class Index | Cross Index | Namespace Index |
Contained in: General
Derived from:
none
Derived by:
none
#include "general/fstream.hh"
public function member index: |
|||
_Filebuf_base | (); | ||
bool | _M_close | (); | |
std::streamoff | _M_file_size | (); | |
std::streamoff | _M_get_offset | (char* __first, char* __last); | |
bool | _M_in_binary_mode | () const; | |
void* | _M_mmap | (std::streamoff __offset, std::streamoff __len); | |
bool | _M_open | (const char*, std::ios_base::openmode, long __protection); | |
bool | _M_open | (const char*, std::ios_base::openmode); | |
bool | _M_open | (int __id, std::ios_base::openmode = m_default_openmode); | |
ptrdiff_t | _M_read | (char* __buf, ptrdiff_t __n); | |
std::streamoff | _M_seek | (std::streamoff __offset, std::ios_base::seekdir __dir); | |
void | _M_unmap | (void* __mmap_base, std::streamoff __len); | |
bool | _M_write | (char* __buf, ptrdiff_t __n); | |
protected function member index: |
|||
_STLP_fd | __get_fd | () const; | |
bool | __is_open | () const; | |
int | __o_mode | () const; | |
public : static size_t | __page_size | (); | |
bool | __regular_file | () const; | |
bool | __should_close | () const; | |
Returns a value n such that, if pos is the file pointer at the beginning of the range [first, last), pos + n is the file pointer at the end. On many operating systems n == __last - __first. In Unix, writing n characters always bumps the file position by n. In Windows text mode, however, it bumps the file position by n + m, where m is the number of newlines in the range. That's because an internal \n corresponds to an external two-character sequence.
Returns true if we're in binary mode or if we're using an OS or file system where there is no distinction between text and binary mode.
Memory-mapped I/O.
Low-level I/O, like Unix read/write
for stdio, the whole FILE* is being kept here
Data members.
Static data members.
Opening and closing files.