std::experimental::filesystem:: directory_entry
From cppreference.net
<
cpp
|
experimental
|
fs
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
Filesystem library
| Classes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
定义于头文件
<experimental/filesystem>
|
||
|
class
directory_entry
;
|
(文件系统 TS) | |
表示一个目录条目。该对象存储一个
path
和两个
file_status
对象:一个用于文件状态,另一个用于当该目录条目指向符号链接时所指向文件的文件状态。
成员函数
|
构造目录项
(公开成员函数) |
|
|
(destructor)
|
默认析构函数
(公开成员函数) |
修改器 |
|
|
赋值内容
(公开成员函数) |
|
|
赋值内容
(公开成员函数) |
|
|
设置文件名
(公开成员函数) |
|
观察器 |
|
|
返回条目所引用的路径
(公开成员函数) |
|
|
此目录项所指文件的缓存状态
此目录项所指文件的缓存符号链接状态 (公开成员函数) |
|
|
比较两个目录项
(公开成员函数) |
|