30 #ifndef _GLIBCXX_EXPERIMENTAL_FS_FWD_H
31 #define _GLIBCXX_EXPERIMENTAL_FS_FWD_H 1
33 #if __cplusplus < 201103L
41 namespace std _GLIBCXX_VISIBILITY(default)
43 _GLIBCXX_BEGIN_NAMESPACE_VERSION
45 namespace experimental
51 #if _GLIBCXX_USE_CXX11_ABI
52 inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
72 _GLIBCXX_BEGIN_NAMESPACE_CXX11
74 class filesystem_error;
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
110 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
118 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
126 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
133 return static_cast<copy_options>(~static_cast<__utype>(__x));
138 {
return __x = __x & __y; }
142 {
return __x = __x | __y; }
146 {
return __x = __x ^ __y; }
171 remove_perms = 0x20000,
172 symlink_nofollow = 0x40000
181 return static_cast<perms>(
182 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
189 return static_cast<perms>(
190 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
197 return static_cast<perms>(
198 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
202 operator~(
perms __x) noexcept
205 return static_cast<perms>(~static_cast<__utype>(__x));
210 {
return __x = __x & __y; }
214 {
return __x = __x | __y; }
218 {
return __x = __x ^ __y; }
223 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
233 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
241 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
249 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
261 {
return __x = __x & __y; }
265 {
return __x = __x | __y; }
269 {
return __x = __x ^ __y; }
287 file_status status(
const path&);
290 bool status_known(file_status) noexcept;
292 file_status symlink_status(
const path&);
295 bool is_regular_file(file_status) noexcept;
296 bool is_symlink(file_status) noexcept;
303 _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.
bitset< _Nb > operator^(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
bitset< _Nb > operator|(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
bitset< _Nb > operator&(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
The underlying type of an enum.
Information about free space on a disk.