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
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
242 static_cast<__utype
>(__x) & static_cast<__utype>(__y));
251 static_cast<__utype
>(__x) | static_cast<__utype>(__y));
260 static_cast<__utype
>(__x) ^ static_cast<__utype>(__y));
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
320 #endif // _GLIBCXX_EXPERIMENTAL_FS_FWD_H ISO C++ entities toplevel namespace is std.
chrono::time_point represents a point in time as measured by a clock
copy_options
Bitmask type controlling effects of filesystem::copy
constexpr bitset< _Nb > operator &(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
file_type
Enumerated type representing the type of a file.
constexpr 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.
constexpr bitset< _Nb > operator|(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
perms
Bitmask type representing file access permissions.
directory_options
Bitmask type controlling directory iteration.