_Filebuf_base Class Reference

class _Filebuf_base
Public Member Functions
_Filebuf_base()
_STLP_DECLSPEC bool_M_close()
_STLP_DECLSPEC streamoff_M_file_size()
streamoff _M_get_offset(char *, char *)
bool_M_in_binary_mode()
_STLP_DECLSPEC void *_M_mmap(streamoff, streamoff)
_STLP_DECLSPEC bool_M_open(const char *, ios_base::openmode, long)
_STLP_DECLSPEC bool_M_open(const char *, ios_base::openmode)
_STLP_DECLSPEC bool_M_open(int, ios_base::openmode)
_STLP_DECLSPEC ptrdiff_t_M_read(char *, ptrdiff_t)
_STLP_DECLSPEC streamoff_M_seek(streamoff, ios_base::seekdir)
_STLP_DECLSPEC void_M_unmap(void *, streamoff)
_STLP_DECLSPEC bool_M_write(char *, ptrdiff_t)
void_S_initialize()
_STLP_fd __get_fd()
bool__is_open()
int__o_mode()
_STLP_DECLSPEC size_t__page_size()
bool__regular_file()
bool__should_close()
Protected Attributes
FILE *_M_file
_STLP_fd _M_file_id
unsigned char_M_is_open
ios_base::openmode _M_openmode
size_t _M_page_size
unsigned char_M_regular_file
unsigned char_M_should_close

Constructor & Destructor Documentation

_Filebuf_base()

_STLP_DECLSPEC_Filebuf_base()

Member Functions Documentation

_M_close()

_STLP_DECLSPEC bool_M_close()

_M_file_size()

_STLP_DECLSPEC streamoff_M_file_size()

_M_get_offset(char *, char *)

streamoff _M_get_offset(char *__first,
char *__last
)[inline]

Parameters

char * __first
char * __last

_M_in_binary_mode()

bool_M_in_binary_mode()const [inline]

_M_mmap(streamoff, streamoff)

_STLP_DECLSPEC void *_M_mmap(streamoff__offset,
streamoff__len
)

Parameters

streamoff __offset
streamoff __len

_M_open(const char *, ios_base::openmode, long)

_STLP_DECLSPEC bool_M_open(const char *,
ios_base::openmode,
long__protection
)

Parameters

const char *
ios_base::openmode
long __protection

_M_open(const char *, ios_base::openmode)

_STLP_DECLSPEC bool_M_open(const char *,
ios_base::openmode
)

Parameters

const char *
ios_base::openmode

_M_open(int, ios_base::openmode)

_STLP_DECLSPEC bool_M_open(int__id,
ios_base::openmode =  ios_base::__default_mode
)

_M_read(char *, ptrdiff_t)

_STLP_DECLSPEC ptrdiff_t_M_read(char *__buf,
ptrdiff_t__n
)

Parameters

char * __buf
ptrdiff_t __n

_M_seek(streamoff, ios_base::seekdir)

_STLP_DECLSPEC streamoff_M_seek(streamoff__offset,
ios_base::seekdir__dir
)

Parameters

streamoff __offset
ios_base::seekdir __dir

_M_unmap(void *, streamoff)

_STLP_DECLSPEC void_M_unmap(void *__mmap_base,
streamoff__len
)

Parameters

void * __mmap_base
streamoff __len

_M_write(char *, ptrdiff_t)

_STLP_DECLSPEC bool_M_write(char *__buf,
ptrdiff_t__n
)

Parameters

char * __buf
ptrdiff_t __n

_S_initialize()

void_S_initialize()[static]

__get_fd()

_STLP_fd __get_fd()const [inline]

__is_open()

bool__is_open()const [inline]

__o_mode()

int__o_mode()const [inline]

__page_size()

_STLP_DECLSPEC size_t__page_size()[static]

__regular_file()

bool__regular_file()const [inline]

__should_close()

bool__should_close()const [inline]

Member Data Documentation

FILE * _M_file

FILE *_M_file[protected]

_STLP_fd _M_file_id

_STLP_fd _M_file_id[protected]

unsigned char _M_is_open

unsigned char_M_is_open[protected]

ios_base::openmode _M_openmode

ios_base::openmode _M_openmode[protected]

size_t _M_page_size

size_t _M_page_size[protected, static]

unsigned char _M_regular_file

unsigned char_M_regular_file[protected]

unsigned char _M_should_close

unsigned char_M_should_close[protected]