##### 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
path | returns the path the entry refers to (public member function) [edit]
status | returns the status of the file entry refers to (public member function) [edit]
symbolic_status | returns the status of the target of the symbolic link (public member function) [edit]
operator==opretaro|=opetator<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=68499"