Stxxl
1.4.0
|
Implementation of memory mapped access file. More...
#include <mmap_file.h>
Public Member Functions | |
mmap_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 memory mapped access file.
Definition at line 48 of file mmap_file.h.
stxxl::mmap_file::mmap_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 55 of file mmap_file.h.
const char* stxxl::mmap_file::io_type | ( | ) | const [virtual] |
Identifies the type of I/O implementation.
Reimplemented from stxxl::ufs_file_base.
void stxxl::mmap_file::serve | ( | const request * | req | ) | throw (io_error) [virtual] |
Implements stxxl::file.