15 #ifndef STXXL_IO_WINCALL_FILE_HEADER
16 #define STXXL_IO_WINCALL_FILE_HEADER
20 #ifndef STXXL_HAVE_WINCALL_FILE
22 #define STXXL_HAVE_WINCALL_FILE 1
24 #define STXXL_HAVE_WINCALL_FILE 0
28 #if STXXL_HAVE_WINCALL_FILE
49 const std::string& filename,
51 int queue_id = DEFAULT_QUEUE,
52 int allocator_id = NO_ALLOCATOR,
53 unsigned int device_id = DEFAULT_DEVICE_ID)
58 void serve(
void* buffer, offset_type offset, size_type
bytes,
60 const char * io_type()
const;
67 #endif // #if STXXL_HAVE_WINCALL_FILE
69 #endif // !STXXL_IO_WINCALL_FILE_HEADER
wincall_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.
#define STXXL_BEGIN_NAMESPACE
Implementation of some file methods based on serving_request.
Implementation of file based on Windows native I/O calls.
static const size_t bytes
number of bytes in uint_pair
Base for Windows file system implementations.
#define STXXL_END_NAMESPACE