Stxxl
1.4.0
|
Implementation of file based on UNIX syscalls. More...
#include <syscall_file.h>
Public Member Functions | |
syscall_file (const std::string &filename, int mode, int queue_id=DEFAULT_QUEUE, int allocator_id=NO_ALLOCATOR) | |
constructs file object | |
void | serve (const request *req) throw (io_error) |
const char * | io_type () const |
Identifies the type of I/O implementation. |
Implementation of file based on UNIX syscalls.
Definition at line 28 of file syscall_file.h.
stxxl::syscall_file::syscall_file | ( | const std::string & | filename, |
int | mode, | ||
int | queue_id = DEFAULT_QUEUE , |
||
int | allocator_id = NO_ALLOCATOR |
||
) | [inline] |
constructs file object
filename | path of file |
mode | open mode, see stxxl::file::open_modes |
disk | disk(file) identifier |
Definition at line 36 of file syscall_file.h.
const char * stxxl::syscall_file::io_type | ( | ) | const [virtual] |
Identifies the type of I/O implementation.
Reimplemented from stxxl::ufs_file_base.
Definition at line 103 of file syscall_file.cpp.
void stxxl::syscall_file::serve | ( | const request * | req | ) | throw (io_error) [virtual] |