Implementation of disk emulation. More...
#include <simdisk_file.h>
Public Member Functions | |
sim_disk_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) |
void | set_size (offset_type newsize) |
const char * | io_type () const |
Implementation of disk emulation.
sim_disk_file::sim_disk_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 |