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.
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 |
const char* mmap_file::io_type | ( | ) | const [virtual] |
Identifies the type of I/O implementation.
Reimplemented from file.