.TH "std::filesystem::directory_entry" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::filesystem::directory_entry \- The value type used by directory iterators\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBdirectory_entry\fP (const \fBdirectory_entry\fP &)=default" .br .ti -1c .RI "\fBdirectory_entry\fP (const \fBfilesystem::path\fP &__p)" .br .ti -1c .RI "\fBdirectory_entry\fP (const \fBfilesystem::path\fP &__p, \fBerror_code\fP &__ec)" .br .ti -1c .RI "\fBdirectory_entry\fP (\fBdirectory_entry\fP &&) noexcept=default" .br .ti -1c .RI "void \fBassign\fP (const \fBfilesystem::path\fP &__p)" .br .ti -1c .RI "void \fBassign\fP (const \fBfilesystem::path\fP &__p, \fBerror_code\fP &__ec)" .br .ti -1c .RI "bool \fBexists\fP () const" .br .ti -1c .RI "bool \fBexists\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "uintmax_t \fBfile_size\fP () const" .br .ti -1c .RI "uintmax_t \fBfile_size\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "uintmax_t \fBhard_link_count\fP () const" .br .ti -1c .RI "uintmax_t \fBhard_link_count\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_block_file\fP () const" .br .ti -1c .RI "bool \fBis_block_file\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_character_file\fP () const" .br .ti -1c .RI "bool \fBis_character_file\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_directory\fP () const" .br .ti -1c .RI "bool \fBis_directory\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_fifo\fP () const" .br .ti -1c .RI "bool \fBis_fifo\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_other\fP () const" .br .ti -1c .RI "bool \fBis_other\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_regular_file\fP () const" .br .ti -1c .RI "bool \fBis_regular_file\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_socket\fP () const" .br .ti -1c .RI "bool \fBis_socket\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "bool \fBis_symlink\fP () const" .br .ti -1c .RI "bool \fBis_symlink\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "\fBfile_time_type\fP \fBlast_write_time\fP () const" .br .ti -1c .RI "\fBfile_time_type\fP \fBlast_write_time\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "\fBoperator const filesystem::path &\fP () const noexcept" .br .ti -1c .RI "bool \fBoperator!=\fP (const \fBdirectory_entry\fP &__rhs) const noexcept" .br .ti -1c .RI "bool \fBoperator<\fP (const \fBdirectory_entry\fP &__rhs) const noexcept" .br .ti -1c .RI "bool \fBoperator<=\fP (const \fBdirectory_entry\fP &__rhs) const noexcept" .br .ti -1c .RI "\fBdirectory_entry\fP & \fBoperator=\fP (const \fBdirectory_entry\fP &)=default" .br .ti -1c .RI "\fBdirectory_entry\fP & \fBoperator=\fP (\fBdirectory_entry\fP &&) noexcept=default" .br .ti -1c .RI "bool \fBoperator==\fP (const \fBdirectory_entry\fP &__rhs) const noexcept" .br .ti -1c .RI "bool \fBoperator>\fP (const \fBdirectory_entry\fP &__rhs) const noexcept" .br .ti -1c .RI "bool \fBoperator>=\fP (const \fBdirectory_entry\fP &__rhs) const noexcept" .br .ti -1c .RI "const \fBfilesystem::path\fP & \fBpath\fP () const noexcept" .br .ti -1c .RI "void \fBrefresh\fP ()" .br .ti -1c .RI "void \fBrefresh\fP (\fBerror_code\fP &__ec) noexcept" .br .ti -1c .RI "void \fBreplace_filename\fP (const \fBfilesystem::path\fP &__p)" .br .ti -1c .RI "void \fBreplace_filename\fP (const \fBfilesystem::path\fP &__p, \fBerror_code\fP &__ec)" .br .ti -1c .RI "\fBfile_status\fP \fBstatus\fP () const" .br .ti -1c .RI "\fBfile_status\fP \fBstatus\fP (\fBerror_code\fP &__ec) const noexcept" .br .ti -1c .RI "\fBfile_status\fP \fBsymlink_status\fP () const" .br .ti -1c .RI "\fBfile_status\fP \fBsymlink_status\fP (\fBerror_code\fP &__ec) const noexcept" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "struct \fB_Dir\fP" .br .ti -1c .RI "class \fBdirectory_iterator\fP" .br .ti -1c .RI "template \fBbasic_ostream\fP< _CharT, _Traits > & \fBoperator<<\fP (\fBbasic_ostream\fP< _CharT, _Traits > &__os, const \fBdirectory_entry\fP &__d)" .br .ti -1c .RI "class \fBrecursive_directory_iterator\fP" .br .in -1c .SH "Detailed Description" .PP The value type used by directory iterators\&. .PP Definition at line \fB96\fP of file \fBbits/fs_dir\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "std::filesystem::directory_entry::directory_entry (const \fBfilesystem::path\fP & __p)\fC [inline]\fP, \fC [explicit]\fP" .PP Definition at line \fB105\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "std::filesystem::directory_entry::directory_entry (const \fBfilesystem::path\fP & __p, \fBerror_code\fP & __ec)\fC [inline]\fP" .PP Definition at line \fB109\fP of file \fBbits/fs_dir\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "void std::filesystem::directory_entry::assign (const \fBfilesystem::path\fP & __p)\fC [inline]\fP" .PP Definition at line \fB124\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "void std::filesystem::directory_entry::assign (const \fBfilesystem::path\fP & __p, \fBerror_code\fP & __ec)\fC [inline]\fP" .PP Definition at line \fB131\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::exists () const\fC [inline]\fP" .PP Definition at line \fB164\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::exists (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB168\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "uintmax_t std::filesystem::directory_entry::file_size () const\fC [inline]\fP" .PP Definition at line \fB244\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "uintmax_t std::filesystem::directory_entry::file_size (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB248\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "uintmax_t std::filesystem::directory_entry::hard_link_count () const\fC [inline]\fP" .PP Definition at line \fB252\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "uintmax_t std::filesystem::directory_entry::hard_link_count (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB256\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_block_file () const\fC [inline]\fP" .PP Definition at line \fB172\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_block_file (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB176\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_character_file () const\fC [inline]\fP" .PP Definition at line \fB180\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_character_file (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB184\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_directory () const\fC [inline]\fP" .PP Definition at line \fB188\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_directory (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB192\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_fifo () const\fC [inline]\fP" .PP Definition at line \fB196\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_fifo (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB200\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_other () const\fC [inline]\fP" .PP Definition at line \fB204\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_other (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB208\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_regular_file () const\fC [inline]\fP" .PP Definition at line \fB212\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_regular_file (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB216\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_socket () const\fC [inline]\fP" .PP Definition at line \fB220\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_socket (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB224\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_symlink () const\fC [inline]\fP" .PP Definition at line \fB228\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::is_symlink (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB236\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "\fBfile_time_type\fP std::filesystem::directory_entry::last_write_time () const\fC [inline]\fP" .PP Definition at line \fB260\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "\fBfile_time_type\fP std::filesystem::directory_entry::last_write_time (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB265\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "std::filesystem::directory_entry::operator const \fBfilesystem::path\fP & () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB161\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::operator!= (const \fBdirectory_entry\fP & __rhs) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB294\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::operator< (const \fBdirectory_entry\fP & __rhs) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB297\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::operator<= (const \fBdirectory_entry\fP & __rhs) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB301\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::operator== (const \fBdirectory_entry\fP & __rhs) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB285\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::operator> (const \fBdirectory_entry\fP & __rhs) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB306\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "bool std::filesystem::directory_entry::operator>= (const \fBdirectory_entry\fP & __rhs) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB310\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "const \fBfilesystem::path\fP & std::filesystem::directory_entry::path () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB160\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "void std::filesystem::directory_entry::refresh ()\fC [inline]\fP" .PP Definition at line \fB152\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "void std::filesystem::directory_entry::refresh (\fBerror_code\fP & __ec)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB156\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "void std::filesystem::directory_entry::replace_filename (const \fBfilesystem::path\fP & __p)\fC [inline]\fP" .PP Definition at line \fB138\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "void std::filesystem::directory_entry::replace_filename (const \fBfilesystem::path\fP & __p, \fBerror_code\fP & __ec)\fC [inline]\fP" .PP Definition at line \fB145\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "\fBfile_status\fP std::filesystem::directory_entry::status () const\fC [inline]\fP" .PP Definition at line \fB269\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "\fBfile_status\fP std::filesystem::directory_entry::status (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB273\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "\fBfile_status\fP std::filesystem::directory_entry::symlink_status () const\fC [inline]\fP" .PP Definition at line \fB277\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "\fBfile_status\fP std::filesystem::directory_entry::symlink_status (\fBerror_code\fP & __ec) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB281\fP of file \fBbits/fs_dir\&.h\fP\&. .SH "Friends And Related Function Documentation" .PP .SS "friend struct _Dir\fC [friend]\fP" .PP Definition at line \fB315\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "friend class \fBdirectory_iterator\fP\fC [friend]\fP" .PP Definition at line \fB316\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "template \fBbasic_ostream\fP< _CharT, _Traits > & operator<< (\fBbasic_ostream\fP< _CharT, _Traits > & __os, const \fBdirectory_entry\fP & __d)\fC [friend]\fP" .PP Definition at line \fB322\fP of file \fBbits/fs_dir\&.h\fP\&. .SS "friend class \fBrecursive_directory_iterator\fP\fC [friend]\fP" .PP Definition at line \fB317\fP of file \fBbits/fs_dir\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.