sisi4s
Loading...
Searching...
No Matches
ghc::filesystem::directory_entry Class Reference

#include <filesystem.hpp>

Collaboration diagram for ghc::filesystem::directory_entry:

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::filesystem::directory_entry::directory_entry ( const path p,
std::error_code &  ec 
)
inline
Here is the call graph for this function:

◆ ~directory_entry()

ghc::filesystem::directory_entry::~directory_entry ( )
inline

Member Function Documentation

◆ assign()

void ghc::filesystem::directory_entry::assign ( const path p,
std::error_code &  ec 
)
inline
Here is the call graph for this function:

◆ exists()

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

◆ file_size()

uintmax_t ghc::filesystem::directory_entry::file_size ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:

◆ hard_link_count()

uintmax_t ghc::filesystem::directory_entry::hard_link_count ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:

◆ is_block_file()

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

◆ is_character_file()

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

◆ is_directory()

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

◆ is_fifo()

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

◆ is_other()

bool ghc::filesystem::directory_entry::is_other ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:

◆ is_regular_file()

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

◆ is_socket()

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

◆ is_symlink()

bool ghc::filesystem::directory_entry::is_symlink ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ last_write_time()

file_time_type ghc::filesystem::directory_entry::last_write_time ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:

◆ operator const filesystem::path &()

ghc::filesystem::directory_entry::operator const filesystem::path & ( ) const
inlinenoexcept

◆ operator!=()

bool ghc::filesystem::directory_entry::operator!= ( const directory_entry rhs) const
inlinenoexcept

◆ operator<()

bool ghc::filesystem::directory_entry::operator< ( const directory_entry rhs) const
inlinenoexcept

◆ operator<=()

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

◆ 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
Here is the call graph for this function:

◆ operator==()

bool ghc::filesystem::directory_entry::operator== ( const directory_entry rhs) const
inlinenoexcept

◆ operator>()

bool ghc::filesystem::directory_entry::operator> ( const directory_entry rhs) const
inlinenoexcept

◆ operator>=()

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

◆ path()

const filesystem::path & ghc::filesystem::directory_entry::path ( ) const
inlinenoexcept

◆ refresh()

void ghc::filesystem::directory_entry::refresh ( std::error_code &  ec)
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ replace_filename()

void ghc::filesystem::directory_entry::replace_filename ( const path p,
std::error_code &  ec 
)
inline
Here is the call graph for this function:

◆ status()

file_status ghc::filesystem::directory_entry::status ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:

◆ symlink_status()

file_status ghc::filesystem::directory_entry::symlink_status ( std::error_code &  ec) const
inlinenoexcept
Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ directory_iterator

friend class directory_iterator
friend

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