libcommonc++  0.7
FileAttributes Struct Reference

File attributes. More...

#include <File.h++>

Collaboration diagram for FileAttributes:

Public Member Functions

 FileAttributes ()
 Constructor. More...
 
bool isDirectory () const
 Test if the file is a directory. More...
 
bool isFile () const
 Test if the file is a plain file. More...
 

Public Attributes

FileType type
 File type. More...
 
time_ms_t created
 File creation time (not available on all platforms). More...
 
time_ms_t modified
 File last-modified time. More...
 
time_ms_t accessed
 File last-accessed time. More...
 
uint64_t size
 File size, in bytes. More...
 
Permissions permissions
 File access permissions. More...
 

Detailed Description

File attributes.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ FileAttributes()

FileAttributes ( )
inline

Constructor.

Member Function Documentation

◆ isDirectory()

bool isDirectory ( ) const
inline

Test if the file is a directory.

◆ isFile()

bool isFile ( ) const
inline

Test if the file is a plain file.

Member Data Documentation

◆ accessed

time_ms_t accessed

File last-accessed time.

◆ created

time_ms_t created

File creation time (not available on all platforms).

◆ modified

time_ms_t modified

File last-modified time.

◆ permissions

Permissions permissions

File access permissions.

◆ size

uint64_t size

File size, in bytes.

◆ type

FileType type

File type.


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