![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cFileDir.h>
Public Member Functions | |
| cFileFind (cStringF sDirPath="", DWORD nFileFlags=0) noexcept | |
| ~cFileFind () | |
| cStringF | get_DirPath () const noexcept |
| cStringF | GetFilePath (const FILECHAR_t *pszFileTitle) const |
| cStringF | get_FilePath () const |
| bool | isDots () const noexcept |
| HRESULT | FindOpen (const FILECHAR_t *pszDirPath=nullptr, const FILECHAR_t *pszWildcardFile=nullptr) |
| HRESULT | FindFile (const FILECHAR_t *pszDirPath=nullptr, const FILECHAR_t *pszWildcardFile=nullptr) |
| HRESULT | FindFileNext (bool bFirst=false) |
| bool | isContextOpen () const |
| void | CloseContext () |
Public Attributes | |
| cFileFindEntry | m_FileEntry |
| The current entry. by calls to FindFile() and FindFileNext() More... | |
Read/Browse/Enumerate directory in ongoing/serial state. use FindFileNext() to get next file. Similar to MFC CFileFind.
|
explicitnoexcept |
|
inline |
| void Gray::cFileFind::CloseContext | ( | ) |
| HRESULT Gray::cFileFind::FindFile | ( | const FILECHAR_t * | pszDirPath = nullptr, |
| const FILECHAR_t * | pszWildcardFile = nullptr |
||
| ) |
Start a sequential read of the files in a list of possible matches.
Read the next file in the directory list. ASSUME cFileFind::FindFile() was called.
| HRESULT Gray::cFileFind::FindOpen | ( | const FILECHAR_t * | pszDirPath = nullptr, |
| const FILECHAR_t * | pszWildcardFile = nullptr |
||
| ) |
start a sequential read of the files in a list of possible matches.
|
inlinenoexcept |
|
inline |
Get Full file path. like MFC CFileFind::GetFilePath()
|
inline |
Create a full file path with directory and file name/title.
| bool Gray::cFileFind::isContextOpen | ( | ) | const |
|
inlinenoexcept |
| cFileFindEntry Gray::cFileFind::m_FileEntry |
The current entry. by calls to FindFile() and FindFileNext()