#include <FileFind.h>
Public Member Functions | |
| bool | IsHandleAllocated () const |
| CFindFile () | |
| ~CFindFile () | |
| bool | FindFirst (LPCTSTR wildcard, CFileInfo &fileInfo) |
| bool | FindNext (CFileInfo &fileInfo) |
| bool | FindFirst (LPCWSTR wildcard, CFileInfoW &fileInfo) |
| bool | FindNext (CFileInfoW &fileInfo) |
| bool | Close () |
Private Attributes | |
| HANDLE | _handle |
| bool | _handleAllocated |
Friends | |
| class | CEnumerator |
Definition at line 76 of file FileFind.h.
| NWindows::NFile::NFind::CFindFile::CFindFile | ( | ) | [inline] |
Definition at line 83 of file FileFind.h.
| NWindows::NFile::NFind::CFindFile::~CFindFile | ( | ) | [inline] |
| bool NWindows::NFile::NFind::CFindFile::IsHandleAllocated | ( | ) | const [inline] |
Definition at line 82 of file FileFind.h.
References _handleAllocated.
Referenced by NWindows::NFile::NFind::CEnumeratorW::NextAny(), and NWindows::NFile::NFind::CEnumerator::NextAny().
Definition at line 108 of file FileFind.cpp.
References _handle, _handleAllocated, Close(), and NWindows::NFile::NFind::ConvertWIN32_FIND_DATA_To_FileInfo().
Referenced by NWindows::NFile::NFind::FindFile(), NWindows::NFile::NFind::CEnumeratorW::NextAny(), and NWindows::NFile::NFind::CEnumerator::NextAny().
Definition at line 141 of file FileFind.cpp.
References _handle, BOOLToBool, and NWindows::NFile::NFind::ConvertWIN32_FIND_DATA_To_FileInfo().
Referenced by NWindows::NFile::NFind::CEnumeratorW::NextAny(), and NWindows::NFile::NFind::CEnumerator::NextAny().
| bool NWindows::NFile::NFind::CFindFile::FindFirst | ( | LPCWSTR | wildcard, | |
| CFileInfoW & | fileInfo | |||
| ) |
Definition at line 119 of file FileFind.cpp.
References _handle, _handleAllocated, Close(), NWindows::NFile::NFind::ConvertWIN32_FIND_DATA_To_FileInfo(), g_IsNT, NWindows::NFile::NFind::GetCurrentCodePage(), and UnicodeStringToMultiByte().
| bool NWindows::NFile::NFind::CFindFile::FindNext | ( | CFileInfoW & | fileInfo | ) |
Definition at line 151 of file FileFind.cpp.
References _handle, NWindows::NFile::NFind::ConvertWIN32_FIND_DATA_To_FileInfo(), and g_IsNT.
| bool NWindows::NFile::NFind::CFindFile::Close | ( | ) |
Definition at line 99 of file FileFind.cpp.
References _handle, _handleAllocated, and BOOLToBool.
Referenced by FindFirst(), and ~CFindFile().
friend class CEnumerator [friend] |
Definition at line 78 of file FileFind.h.
HANDLE NWindows::NFile::NFind::CFindFile::_handle [private] |
Definition at line 80 of file FileFind.h.
Referenced by Close(), FindFirst(), and IsHandleAllocated().
1.5.6