|
wex
v21.04.0
|
Offers find_files method. More...
#include <wex/dir-data.h>
Public Types | |
| enum | |
| dir flags. | |
Public Member Functions | |
| const auto & | dir_spec () const |
| Returns the dir spec. | |
| dir & | dir_spec (const std::string &rhs) |
| Sets dir specs. | |
| const auto & | file_spec () const |
| Returns the file spec. | |
| dir & | file_spec (const std::string &rhs) |
| Sets file specs. | |
| int | max_matches () const |
| Returns max matches to find, or -1 if no max. | |
| dir & | max_matches (int rhs) |
| Sets max matches. | |
| auto | type () const |
| Returns type. | |
| dir & | type (type_t rhs) |
| Sets type. | |
Offers find_files method.
By overriding on_dir and on_file you can take care of what to do with the result.