UTF8 - Simple Library for Internationalization
|
An object - oriented wrapper for find_... functions. More...
#include <winutf8.h>
Public Member Functions | |
file_enumerator (const std::string &name) | |
Constructs a file_enumerator object and tries to locate the first file. | |
~file_enumerator () | |
Closes the search handle associated with this object. | |
bool | ok () const |
Return true if a file has been enumerated. | |
bool | next () |
Advance the enumerator to next file. | |
operator bool () const | |
Additional Inherited Members | |
Protected Attributes inherited from utf8::find_data | |
HANDLE | handle |
search handle | |
DWORD | attributes |
file attributes | |
FILETIME | creation_time |
file creation time | |
FILETIME | access_time |
file last access time | |
FILETIME | write_time |
file last write time | |
__int64 | size |
file size | |
std::string | filename |
file name | |
std::string | short_name |
8.3 file name | |
An object - oriented wrapper for find_... functions.
This object wraps a Windows search handle used in find_first/find_next functions.
Use like in the following example:
|
inline |
Syntactic sugar for ok() function Return true if a file has been enumerated