|
wex v25.10.0
|
Offers data to be used by the dir class. More...
#include <wex/data/dir.h>
Public Types | |
| enum | { FILES = 0 , DIRS = 1 , RECURSIVE = 2 , HIDDEN = 3 } |
| Dir flags. More... | |
| typedef std::bitset< 4 > | type_t |
| A typedef containing 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, bool is_regex=false) |
| Sets file specs. | |
| auto * | find_replace_data () const |
| Returns frd. | |
| dir & | find_replace_data (factory::find_replace_data *rhs) |
| Sets frd. | |
| bool | is_regex () const |
| Returns whether file_spec is a regex. | |
| 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 (const type_t &rhs) |
| Sets type. | |
| auto * | vcs () const |
| Returns vcs. | |
| dir & | vcs (factory::vcs *rhs) |
| Sets vcs. | |
Static Public Member Functions | |
| static type_t | type_t_def () |
| Returns default type flags. | |
Offers data to be used by the dir class.
| anonymous enum |
|
inlinestatic |
Returns default type flags.
All flags, except HIDDEN are on.