30#ifndef _GLIBCXX_EXPERIMENTAL_FS_FWD_H
31#define _GLIBCXX_EXPERIMENTAL_FS_FWD_H 1
33#if __cplusplus < 201103L
41namespace std _GLIBCXX_VISIBILITY(default)
43_GLIBCXX_BEGIN_NAMESPACE_VERSION
51#if _GLIBCXX_USE_CXX11_ABI
52inline namespace __cxx11 __attribute__((__abi_tag__ (
"cxx11"))) { }
72_GLIBCXX_BEGIN_NAMESPACE_CXX11
75 class directory_entry;
76 class directory_iterator;
77 class recursive_directory_iterator;
78_GLIBCXX_END_NAMESPACE_CXX11
90 none = 0, not_found = -1, regular = 1, directory = 2, symlink = 3,
91 block = 4, character = 5, fifo = 6, socket = 7, unknown = 8
97 skip_existing = 1, overwrite_existing = 2, update_existing = 4,
99 copy_symlinks = 16, skip_symlinks = 32,
100 directories_only = 64, create_symlinks = 128, create_hard_links = 256
111 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
120 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
129 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
137 return static_cast<copy_options>(~static_cast<__utype>(__x));
142 {
return __x = __x & __y; }
146 {
return __x = __x | __y; }
150 {
return __x = __x ^ __y; }
175 remove_perms = 0x20000,
176 symlink_nofollow = 0x40000
186 return static_cast<perms
>(
187 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
195 return static_cast<perms
>(
196 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
204 return static_cast<perms
>(
205 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
210 operator~(perms __x)
noexcept
213 return static_cast<perms
>(~static_cast<__utype>(__x));
218 {
return __x = __x & __y; }
222 {
return __x = __x | __y; }
226 {
return __x = __x ^ __y; }
231 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
237 constexpr directory_options
238 operator&(directory_options __x, directory_options __y)
noexcept
241 return static_cast<directory_options
>(
242 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
246 constexpr directory_options
247 operator|(directory_options __x, directory_options __y)
noexcept
250 return static_cast<directory_options
>(
251 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
255 constexpr directory_options
256 operator^(directory_options __x, directory_options __y)
noexcept
259 return static_cast<directory_options
>(
260 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
264 constexpr directory_options
265 operator~(directory_options __x)
noexcept
268 return static_cast<directory_options
>(~static_cast<__utype>(__x));
273 {
return __x = __x & __y; }
277 {
return __x = __x | __y; }
281 {
return __x = __x ^ __y; }
299 file_status status(
const path&);
302 bool status_known(file_status)
noexcept;
304 file_status symlink_status(
const path&);
307 bool is_regular_file(file_status)
noexcept;
308 bool is_symlink(file_status)
noexcept;
315_GLIBCXX_END_NAMESPACE_VERSION
perms
Bitmask type representing file access permissions.
std::chrono::system_clock::time_point file_time_type
The type used for file timestamps.
file_type
Enumerated type representing the type of a file.
copy_options
Bitmask type controlling effects of filesystem::copy
directory_options
Bitmask type controlling directory iteration.
ISO C++ entities toplevel namespace is std.
constexpr bitset< _Nb > operator^(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
constexpr bitset< _Nb > operator|(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
constexpr bitset< _Nb > operator&(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
Namespace for features defined in ISO Technical Specifications.
The underlying type of an enum.
Information about free space on a disk.
Exception type thrown by the Filesystem TS library.