_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]