libstdc++
std::filesystem::file_status Class Reference

#include <fs_dir.h>

Public Member Functions

 file_status (const file_status &) noexcept=default
 
 file_status (file_status &&) noexcept=default
 
 file_status (file_type __ft, perms __prms=perms::unknown) noexcept
 
file_statusoperator= (const file_status &) noexcept=default
 
file_statusoperator= (file_status &&) noexcept=default
 
perms permissions () const noexcept
 
void permissions (perms __prms) noexcept
 
file_type type () const noexcept
 
void type (file_type __ft) noexcept
 

Detailed Description

Information about a file's type and permissions.

Definition at line 54 of file bits/fs_dir.h.

Constructor & Destructor Documentation

◆ file_status() [1/2]

std::filesystem::file_status::file_status ( )
inlinenoexcept

Definition at line 58 of file bits/fs_dir.h.

◆ file_status() [2/2]

std::filesystem::file_status::file_status ( file_type  __ft,
perms  __prms = perms::unknown 
)
inlineexplicitnoexcept

Definition at line 61 of file bits/fs_dir.h.

Member Function Documentation

◆ permissions() [1/2]

perms std::filesystem::file_status::permissions ( ) const
inlinenoexcept

Definition at line 73 of file bits/fs_dir.h.

◆ permissions() [2/2]

void std::filesystem::file_status::permissions ( perms  __prms)
inlinenoexcept

Definition at line 77 of file bits/fs_dir.h.

◆ type() [1/2]

file_type std::filesystem::file_status::type ( ) const
inlinenoexcept

Definition at line 72 of file bits/fs_dir.h.

◆ type() [2/2]

void std::filesystem::file_status::type ( file_type  __ft)
inlinenoexcept

Definition at line 76 of file bits/fs_dir.h.


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