XII Release 0.1.0
Loading...
Searching...
No Matches
xiiFileStatus Struct Reference

Information about a single file on disk. The file might be a document or any other file found in the data directories. More...

#include <Declarations.h>

Public Types

enum class  Status : xiiUInt8 { Unknown , FileLocked , Valid }
 

Public Attributes

xiiTimestamp m_LastModified
 
xiiUInt64 m_uiHash = 0
 
xiiUuid m_DocumentID
 If the file is linked to a document, the GUID is valid, otherwise not.
 
Status m_Status = Status::Unknown
 

Detailed Description

Information about a single file on disk. The file might be a document or any other file found in the data directories.

Member Enumeration Documentation

◆ Status

enum class xiiFileStatus::Status : xiiUInt8
strong
Enumerator
Unknown 

Since the file has been tagged as 'Unknown' it has not been encountered again on disk (yet). Use internally to find stale entries in the model.

FileLocked 

The file is locked, i.e. reading is currently not possible. Try again at a later date.

Valid 

The file exists on disk.


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