15 #ifndef STXXL_IO_MMAP_FILE_HEADER
16 #define STXXL_IO_MMAP_FILE_HEADER
20 #if STXXL_HAVE_MMAP_FILE
41 const std::string& filename,
43 int queue_id = DEFAULT_QUEUE,
44 int allocator_id = NO_ALLOCATOR,
45 unsigned int device_id = DEFAULT_DEVICE_ID)
50 void serve(
void* buffer, offset_type offset, size_type
bytes,
52 const char * io_type()
const;
59 #endif // #if STXXL_HAVE_MMAP_FILE
61 #endif // !STXXL_IO_MMAP_FILE_HEADER
mmap_file(const std::string &filename, int mode, int queue_id=DEFAULT_QUEUE, int allocator_id=NO_ALLOCATOR, unsigned int device_id=DEFAULT_DEVICE_ID)
Constructs file object.
Defines interface of file.
Implementation of memory mapped access file.
#define STXXL_BEGIN_NAMESPACE
Implementation of some file methods based on serving_request.
static const size_t bytes
number of bytes in uint_pair
Base for UNIX file system implementations.
#define STXXL_END_NAMESPACE