Public Member Functions

syscall_file Class Reference
[File implementations]

Implementation of file based on UNIX syscalls. More...

#include <syscall_file.h>

Inheritance diagram for syscall_file:
Inheritance graph
[legend]
Collaboration diagram for syscall_file:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Implementation of file based on UNIX syscalls.


Constructor & Destructor Documentation

syscall_file::syscall_file ( const std::string &  filename,
int  mode,
int  queue_id = DEFAULT_QUEUE,
int  allocator_id = NO_ALLOCATOR 
) [inline]

constructs file object

Parameters:
filename path of file
Attention:
filename must be resided at memory disk partition
Parameters:
mode open mode, see stxxl::file::open_modes
disk disk(file) identifier

Member Function Documentation

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

Identifies the type of I/O implementation.

Returns:
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 files: