Public Member Functions

mmap_file Class Reference
[File implementations]

Implementation of memory mapped access file. More...

#include <mmap_file.h>

Inheritance diagram for mmap_file:
Inheritance graph
Collaboration diagram for mmap_file:
Collaboration graph

List of all members.

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.

Detailed Description

Implementation of memory mapped access file.

Constructor & Destructor Documentation

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

Member Function Documentation

const char* mmap_file::io_type (  )  const [virtual]

Identifies the type of I/O implementation.

pointer to null terminated string of characters, containing the name of I/O implementation

Reimplemented from file.

The documentation for this class was generated from the following file: