LLFIO  v2.00
mapped_file_handle.hpp File Reference

Provides mapped_file_handle. More...

#include "map_handle.hpp"

Classes

class  llfio_v2_xxx::mapped_file_handle
 A memory mapped regular file or device. More...
 
struct  llfio_v2_xxx::construct< mapped_file_handle >
 Constructor for mapped_file_handle More...
 
struct  in_place_attach_detach::traits::disable_attached_for< llfio_v2_xxx::mapped_file_handle >
 

Namespaces

 llfio_v2_xxx
 The LLFIO namespace.
 

Functions

template<class T >
constexpr span< T > llfio_v2_xxx::in_place_attach (mapped_file_handle &mfh) noexcept
 Declare mapped_file_handle as a suitable source for P1631 attached<T>.
 
void llfio_v2_xxx::swap (mapped_file_handle &self, mapped_file_handle &o) noexcept
 Swap with another instance.
 
result< mapped_file_handle > llfio_v2_xxx::mapped_file (mapped_file_handle::size_type reservation, const path_handle &base, mapped_file_handle::path_view_type _path, mapped_file_handle::mode _mode=mapped_file_handle::mode::read, mapped_file_handle::creation _creation=mapped_file_handle::creation::open_existing, mapped_file_handle::caching _caching=mapped_file_handle::caching::all, mapped_file_handle::flag flags=mapped_file_handle::flag::none) noexcept
 
result< mapped_file_handle > llfio_v2_xxx::mapped_file (const path_handle &base, mapped_file_handle::path_view_type _path, mapped_file_handle::mode _mode=mapped_file_handle::mode::read, mapped_file_handle::creation _creation=mapped_file_handle::creation::open_existing, mapped_file_handle::caching _caching=mapped_file_handle::caching::all, mapped_file_handle::flag flags=mapped_file_handle::flag::none) noexcept
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
result< mapped_file_handle > llfio_v2_xxx::mapped_uniquely_named_file (mapped_file_handle::size_type reservation, const path_handle &dirpath, mapped_file_handle::mode _mode=mapped_file_handle::mode::write, mapped_file_handle::caching _caching=mapped_file_handle::caching::temporary, mapped_file_handle::flag flags=mapped_file_handle::flag::none) noexcept
 
result< mapped_file_handle > llfio_v2_xxx::mapped_temp_file (mapped_file_handle::size_type reservation, mapped_file_handle::path_view_type name=mapped_file_handle::path_view_type(), mapped_file_handle::mode _mode=mapped_file_handle::mode::write, mapped_file_handle::creation _creation=mapped_file_handle::creation::if_needed, mapped_file_handle::caching _caching=mapped_file_handle::caching::temporary, mapped_file_handle::flag flags=mapped_file_handle::flag::unlink_on_first_close) noexcept
 
result< mapped_file_handle > llfio_v2_xxx::mapped_temp_inode (mapped_file_handle::size_type reservation=0, const path_handle &dir=path_discovery::storage_backed_temporary_files_directory(), mapped_file_handle::mode _mode=mapped_file_handle::mode::write, mapped_file_handle::caching _caching=mapped_file_handle::caching::temporary, mapped_file_handle::flag flags=mapped_file_handle::flag::none) noexcept
 

Detailed Description

Provides mapped_file_handle.