/usr/include/stxxl/bits/io
Edit: /usr/include/stxxl/bits/io/create_file.h (1331B)
/***************************************************************************
* include/stxxl/bits/io/create_file.h
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2010 Andreas Beckmann
* Copyright (C) 2013 Timo Bingmann
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
**************************************************************************/
#ifndef STXXL_IO_CREATE_FILE_HEADER
#define STXXL_IO_CREATE_FILE_HEADER
#include
#include
#include
STXXL_BEGIN_NAMESPACE
//! create fileio object from io_impl string and a few parameters
file * create_file(const std::string& io_impl,
const std::string& filename,
int options,
int physical_device_id = file::DEFAULT_QUEUE,
int disk_allocator_id = file::NO_ALLOCATOR);
// prototype
class disk_config;
//! create fileio object from disk_config parameter
file * create_file(disk_config& config, int mode,
int disk_allocator_id = file::NO_ALLOCATOR);
STXXL_END_NAMESPACE
#endif // !STXXL_IO_CREATE_FILE_HEADER
// vim: et:ts=4:sw=4