SysTutorials

Linux Manual Pages › Section 3

stdexperimentalfilesystemdirectory_entry(3)

std::experimental::filesystem::directory_entry - std::experimental::filesystem::directory_entry

Synopsis

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.

Member functions

                     constructs a directory entry constructor (public member function)                      default destructor destructor (public member function)

Modifiers

                     assigns contents operator= (public member function)                      assigns contents assign (public member function)                      sets the filename replace_filename (public member function)

Observers

                     returns the path the entry refers to path (public member function) operator_const_path&                      cached status of the file designated by this directory entry status cached symlink_status of the file designated by this directory entry symlink_status (public member function)

operator== operator!= compares two directory entries operator< (public member function) operator<= operator> operator>=