std::experimental::filesystem::directory_entry - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::directory_entry

From cppreference.com
< cpp‎ | experimental‎ | fs

Defined in header `<experimental/filesystem>` |  |
class directory_entry; |  | (filesystem TS)

Represents a directory entry. The objects stores a `path` and two `file_status` objects: one for file status and the second for the pointed-to file status if the directory entry refers to a symbolic link.

### [edit] Member functions

(constructor) | constructs a directory entry (public member function) [edit]
(destructor) | default destructor (public member function) [edit]
##### Modifiers
operator= | assigns contents (public member function) [edit]
assign | assigns contents (public member function) [edit]
replace_filename | sets the filename (public member function) [edit]
##### Observers
pathoperator const path& | returns the path the entry refers to (public member function) [edit]
statussymlink_status | cached status of the file designated by this directory entry cached symlink_status of the file designated by this directory entry (public member function) [edit]
operator==operator!=operator<operator<=operator>operator>= | compares two directory entries (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/directory_entry&oldid=84983"