WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::sys::fs::basic_file_status Class Reference

Represents the result of a call to directory_iterator::status(). More...

#include <FileSystem.h>

Inheritance diagram for wpi::sys::fs::basic_file_status:
wpi::sys::fs::file_status

Public Member Functions

 basic_file_status (file_type Type)
 
 basic_file_status (file_type Type, perms Perms, time_t ATime, time_t MTime, uid_t UID, gid_t GID, off_t Size)
 
file_type type () const
 
perms permissions () const
 
uint32_t getUser () const
 
uint32_t getGroup () const
 
uint64_t getSize () const
 
void type (file_type v)
 
void permissions (perms p)
 

Protected Attributes

time_t fs_st_atime = 0
 
time_t fs_st_mtime = 0
 
uid_t fs_st_uid = 0
 
gid_t fs_st_gid = 0
 
off_t fs_st_size = 0
 
file_type Type = file_type::status_error
 
perms Perms = perms_not_known
 

Detailed Description

Represents the result of a call to directory_iterator::status().

This is a subset of the information returned by a regular sys::fs::status() call, and represents the information provided by Windows FileFirstFile/FindNextFile.


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