4namespace universal_windows
9 class CLASS_DECL_ACME file_find :
public ::matter
14 WIN32_FIND_DATAW * m_pFoundInfo;
15 WIN32_FIND_DATAW * m_pNextInfo;
19 char m_chDirSeparator;
25 void dump(dump_context & dumpcontext)
const;
26 void assert_ok()
const;
29 long long get_length()
const;
30 virtual string GetFileName()
const;
31 virtual string GetFilePath()
const;
32 virtual string GetFileTitle()
const;
33 virtual string GetFileURL()
const;
34 virtual string GetRoot()
const;
36 virtual bool GetLastWriteTime(FILETIME* pTimeStamp)
const;
37 virtual bool GetLastAccessTime(FILETIME* pTimeStamp)
const;
38 virtual bool GetCreationTime(FILETIME* pTimeStamp)
const;
39 virtual bool GetLastWriteTime(::earth::time& refTime)
const;
40 virtual bool GetLastAccessTime(::earth::time& refTime)
const;
41 virtual bool GetCreationTime(::earth::time& refTime)
const;
43 virtual bool MatchesMask(
unsigned int dwMask)
const;
45 virtual bool IsDots()
const;
47 bool IsReadOnly()
const;
48 bool IsDirectory()
const;
49 bool IsCompressed()
const;
50 bool IsSystem()
const;
51 bool IsHidden()
const;
52 bool IsTemporary()
const;
53 bool IsNormal()
const;
54 bool IsArchived()
const;
58 virtual bool FindFile(
const char * pstrName =
nullptr,
unsigned int dwUnused = 0);
59 virtual bool FindNextFile();
61 virtual void CloseContext();
69 inline bool file_find::IsReadOnly()
const
70 {
return MatchesMask(FILE_ATTRIBUTE_READONLY); }
71 inline bool file_find::IsDirectory()
const
72 {
return MatchesMask(FILE_ATTRIBUTE_DIRECTORY); }
73 inline bool file_find::IsCompressed()
const
74 {
return MatchesMask(FILE_ATTRIBUTE_COMPRESSED); }
75 inline bool file_find::IsSystem()
const
76 {
return MatchesMask(FILE_ATTRIBUTE_SYSTEM); }
77 inline bool file_find::IsHidden()
const
78 {
return MatchesMask(FILE_ATTRIBUTE_HIDDEN); }
79 inline bool file_find::IsTemporary()
const
80 {
return MatchesMask(FILE_ATTRIBUTE_TEMPORARY); }
81 inline bool file_find::IsNormal()
const
82 {
return MatchesMask(FILE_ATTRIBUTE_NORMAL); }
83 inline bool file_find::IsArchived()
const
84 {
return MatchesMask(FILE_ATTRIBUTE_ARCHIVE); }