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
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
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
>(
189 return static_cast<perms
>(
197 return static_cast<perms
>(
202 operator~(perms __x)
noexcept
205 return static_cast<perms
>(~static_cast<__utype>(__x));
209 operator&=(perms& __x, perms __y)
noexcept
210 {
return __x = __x & __y; }
213 operator|=(perms& __x, perms __y)
noexcept
214 {
return __x = __x | __y; }
217 operator^=(perms& __x, perms __y)
noexcept
218 {
return __x = __x ^ __y; }
223 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
228 constexpr directory_options
229 operator&(directory_options __x, directory_options
__y)
noexcept
232 return static_cast<directory_options
>(
236 constexpr directory_options
237 operator|(directory_options __x, directory_options
__y)
noexcept
240 return static_cast<directory_options
>(
244 constexpr directory_options
245 operator^(directory_options __x, directory_options
__y)
noexcept
248 return static_cast<directory_options
>(
252 constexpr directory_options
253 operator~(directory_options __x)
noexcept
256 return static_cast<directory_options
>(~static_cast<__utype>(__x));
259 inline directory_options&
260 operator&=(directory_options& __x, directory_options __y)
noexcept
261 {
return __x = __x & __y; }
263 inline directory_options&
264 operator|=(directory_options& __x, directory_options __y)
noexcept
265 {
return __x = __x | __y; }
267 inline directory_options&
268 operator^=(directory_options& __x, directory_options __y)
noexcept
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.
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.
The underlying type of an enum.
chrono::time_point represents a point in time as measured by a clock
Information about free space on a disk.