WPILibC++ 2023.4.3
ghc::filesystem::directory_entry Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/ghc/include/wpi/ghc/filesystem.hpp>

Public Member Functions

 directory_entry () noexcept=default
 
 directory_entry (const directory_entry &)=default
 
 directory_entry (directory_entry &&) noexcept=default
 
 directory_entry (const path &p, std::error_code &ec)
 
 ~directory_entry ()
 
directory_entryoperator= (const directory_entry &)=default
 
directory_entryoperator= (directory_entry &&) noexcept=default
 
void assign (const path &p, std::error_code &ec)
 
void replace_filename (const path &p, std::error_code &ec)
 
void refresh (std::error_code &ec) noexcept
 
const filesystem::pathpath () const noexcept
 
 operator const filesystem::path & () const noexcept
 
bool exists (std::error_code &ec) const noexcept
 
bool is_block_file (std::error_code &ec) const noexcept
 
bool is_character_file (std::error_code &ec) const noexcept
 
bool is_directory (std::error_code &ec) const noexcept
 
bool is_fifo (std::error_code &ec) const noexcept
 
bool is_other (std::error_code &ec) const noexcept
 
bool is_regular_file (std::error_code &ec) const noexcept
 
bool is_socket (std::error_code &ec) const noexcept
 
bool is_symlink (std::error_code &ec) const noexcept
 
uintmax_t file_size (std::error_code &ec) const noexcept
 
file_time_type last_write_time (std::error_code &ec) const noexcept
 
file_status status (std::error_code &ec) const noexcept
 
file_status symlink_status (std::error_code &ec) const noexcept
 
uintmax_t hard_link_count (std::error_code &ec) const noexcept
 
bool operator< (const directory_entry &rhs) const noexcept
 
bool operator== (const directory_entry &rhs) const noexcept
 
bool operator!= (const directory_entry &rhs) const noexcept
 
bool operator<= (const directory_entry &rhs) const noexcept
 
bool operator> (const directory_entry &rhs) const noexcept
 
bool operator>= (const directory_entry &rhs) const noexcept
 

Friends

class directory_iterator
 

Constructor & Destructor Documentation

◆ directory_entry() [1/4]

ghc::filesystem::directory_entry::directory_entry ( )
defaultnoexcept

◆ directory_entry() [2/4]

ghc::filesystem::directory_entry::directory_entry ( const directory_entry )
default

◆ directory_entry() [3/4]

ghc::filesystem::directory_entry::directory_entry ( directory_entry &&  )
defaultnoexcept

◆ directory_entry() [4/4]

GHC_INLINE ghc::filesystem::directory_entry::directory_entry ( const path p,
std::error_code &  ec 
)

◆ ~directory_entry()

GHC_INLINE ghc::filesystem::directory_entry::~directory_entry ( )

Member Function Documentation

◆ assign()

GHC_INLINE void ghc::filesystem::directory_entry::assign ( const path p,
std::error_code &  ec 
)

◆ exists()

GHC_INLINE bool ghc::filesystem::directory_entry::exists ( std::error_code &  ec) const
noexcept

◆ file_size()

GHC_INLINE uintmax_t ghc::filesystem::directory_entry::file_size ( std::error_code &  ec) const
noexcept

◆ hard_link_count()

GHC_INLINE uintmax_t ghc::filesystem::directory_entry::hard_link_count ( std::error_code &  ec) const
noexcept

◆ is_block_file()

GHC_INLINE bool ghc::filesystem::directory_entry::is_block_file ( std::error_code &  ec) const
noexcept

◆ is_character_file()

GHC_INLINE bool ghc::filesystem::directory_entry::is_character_file ( std::error_code &  ec) const
noexcept

◆ is_directory()

GHC_INLINE bool ghc::filesystem::directory_entry::is_directory ( std::error_code &  ec) const
noexcept

◆ is_fifo()

GHC_INLINE bool ghc::filesystem::directory_entry::is_fifo ( std::error_code &  ec) const
noexcept

◆ is_other()

GHC_INLINE bool ghc::filesystem::directory_entry::is_other ( std::error_code &  ec) const
noexcept

◆ is_regular_file()

GHC_INLINE bool ghc::filesystem::directory_entry::is_regular_file ( std::error_code &  ec) const
noexcept

◆ is_socket()

GHC_INLINE bool ghc::filesystem::directory_entry::is_socket ( std::error_code &  ec) const
noexcept

◆ is_symlink()

GHC_INLINE bool ghc::filesystem::directory_entry::is_symlink ( std::error_code &  ec) const
noexcept

◆ last_write_time()

GHC_INLINE file_time_type ghc::filesystem::directory_entry::last_write_time ( std::error_code &  ec) const
noexcept

◆ operator const filesystem::path &()

GHC_INLINE ghc::filesystem::directory_entry::operator const filesystem::path & ( ) const
noexcept

◆ operator!=()

◆ operator<()

GHC_INLINE bool ghc::filesystem::directory_entry::operator< ( const directory_entry rhs) const
noexcept

◆ operator<=()

GHC_INLINE bool ghc::filesystem::directory_entry::operator<= ( const directory_entry rhs) const
noexcept

◆ operator=() [1/2]

directory_entry & ghc::filesystem::directory_entry::operator= ( const directory_entry )
default

◆ operator=() [2/2]

directory_entry & ghc::filesystem::directory_entry::operator= ( directory_entry &&  )
defaultnoexcept

◆ operator==()

GHC_INLINE bool ghc::filesystem::directory_entry::operator== ( const directory_entry rhs) const
noexcept

◆ operator>()

GHC_INLINE bool ghc::filesystem::directory_entry::operator> ( const directory_entry rhs) const
noexcept

◆ operator>=()

GHC_INLINE bool ghc::filesystem::directory_entry::operator>= ( const directory_entry rhs) const
noexcept

◆ path()

GHC_INLINE const filesystem::path & ghc::filesystem::directory_entry::path ( ) const
noexcept

◆ refresh()

GHC_INLINE void ghc::filesystem::directory_entry::refresh ( std::error_code &  ec)
noexcept

◆ replace_filename()

GHC_INLINE void ghc::filesystem::directory_entry::replace_filename ( const path p,
std::error_code &  ec 
)

◆ status()

GHC_INLINE file_status ghc::filesystem::directory_entry::status ( std::error_code &  ec) const
noexcept

◆ symlink_status()

GHC_INLINE file_status ghc::filesystem::directory_entry::symlink_status ( std::error_code &  ec) const
noexcept

Friends And Related Function Documentation

◆ directory_iterator

friend class directory_iterator
friend

The documentation for this class was generated from the following file: