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; }
154#pragma GCC diagnostic push
155#pragma GCC diagnostic ignored "-Wdeprecated-octal-literal"
177 remove_perms = 0x20000,
178 symlink_nofollow = 0x40000
180#pragma GCC diagnostic pop
189 return static_cast<perms
>(
190 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
198 return static_cast<perms
>(
199 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
207 return static_cast<perms
>(
208 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
213 operator~(perms __x)
noexcept
216 return static_cast<perms
>(~static_cast<__utype>(__x));
221 {
return __x = __x & __y; }
225 {
return __x = __x | __y; }
229 {
return __x = __x ^ __y; }
234 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
240 constexpr directory_options
241 operator&(directory_options __x, directory_options __y)
noexcept
244 return static_cast<directory_options
>(
245 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
249 constexpr directory_options
250 operator|(directory_options __x, directory_options __y)
noexcept
253 return static_cast<directory_options
>(
254 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
258 constexpr directory_options
259 operator^(directory_options __x, directory_options __y)
noexcept
262 return static_cast<directory_options
>(
263 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
267 constexpr directory_options
268 operator~(directory_options __x)
noexcept
271 return static_cast<directory_options
>(~static_cast<__utype>(__x));
276 {
return __x = __x & __y; }
280 {
return __x = __x | __y; }
284 {
return __x = __x ^ __y; }
302 file_status status(
const path&);
305 bool status_known(file_status)
noexcept;
307 file_status symlink_status(
const path&);
310 bool is_regular_file(file_status)
noexcept;
311 bool is_symlink(file_status)
noexcept;
318_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.