AFIO  v2.00 late alpha
directory_handle.hpp File Reference

Provides a handle to a directory. More...

#include "path_discovery.hpp"
#include "stat.hpp"
#include <memory>

Classes

struct  afio_v2_xxx::directory_entry
 
class  afio_v2_xxx::directory_handle
 A handle to a directory which can be enumerated. More...
 
struct  afio_v2_xxx::directory_handle::buffers_type
 
struct  afio_v2_xxx::directory_handle::enumerate_info
 Completion information for enumerate() More...
 
struct  afio_v2_xxx::construct< directory_handle >
 Constructor for directory_handle More...
 

Namespaces

 afio_v2_xxx
 The AFIO namespace.
 

Functions

std::ostream & afio_v2_xxx::operator<< (std::ostream &s, const directory_handle::filter &v)
 
std::ostream & afio_v2_xxx::operator<< (std::ostream &s, const directory_handle::enumerate_info &)
 
void afio_v2_xxx::swap (directory_handle &self, directory_handle &o) noexcept
 Swap with another instance.
 
result< directory_handle > afio_v2_xxx::directory (const path_handle &base, directory_handle::path_view_type _path, directory_handle::mode _mode=directory_handle::mode::read, directory_handle::creation _creation=directory_handle::creation::open_existing, directory_handle::caching _caching=directory_handle::caching::all, directory_handle::flag flags=directory_handle::flag::none) noexcept
 
result< directory_handle > afio_v2_xxx::random_directory (const path_handle &dirpath, directory_handle::mode _mode=directory_handle::mode::write, directory_handle::caching _caching=directory_handle::caching::temporary, directory_handle::flag flags=directory_handle::flag::none) noexcept
 
result< directory_handle > afio_v2_xxx::temp_directory (directory_handle::path_view_type name=directory_handle::path_view_type(), directory_handle::mode _mode=directory_handle::mode::write, directory_handle::creation _creation=directory_handle::creation::if_needed, directory_handle::caching _caching=directory_handle::caching::all, directory_handle::flag flags=directory_handle::flag::none) noexcept
 
result< directory_handle::enumerate_info > afio_v2_xxx::enumerate (const directory_handle &self, directory_handle::buffers_type &&tofill, directory_handle::path_view_type glob=directory_handle::path_view_type(), directory_handle::filter filtering=directory_handle::filter::fastdeleted, span< char > kernelbuffer=span< char >()) noexcept
 

Detailed Description

Provides a handle to a directory.