matches regular expressions (see "man 7 regex")
More...
#include <mask.hpp>
|
void | set_preg (const std::string &wilde_card_expression, bool x_case_sensit) |
|
void | copy_from (const regular_mask &ref) |
|
void | move_from (regular_mask &&ref) noexcept |
|
void | detruit () noexcept |
|
matches regular expressions (see "man 7 regex")
Definition at line 173 of file mask.hpp.
◆ regular_mask() [1/3]
libdar::regular_mask::regular_mask |
( |
const std::string & |
wilde_card_expression, |
|
|
bool |
x_case_sensit |
|
) |
| |
the constructor to be used by libdar external programs
- Parameters
-
[in] | wilde_card_expression | is the regular expression that defines the mask |
[in] | x_case_sensit | whether the mask is case sensitive or not |
Referenced by clone().
◆ regular_mask() [2/3]
libdar::regular_mask::regular_mask |
( |
const regular_mask & |
ref | ) |
|
|
inline |
the copy constructor
Definition at line 185 of file mask.hpp.
◆ regular_mask() [3/3]
the move constructor
Definition at line 188 of file mask.hpp.
◆ ~regular_mask()
virtual libdar::regular_mask::~regular_mask |
( |
| ) |
|
|
inlinevirtual |
◆ clone()
mask * libdar::regular_mask::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ detruit()
void libdar::regular_mask::detruit |
( |
| ) |
|
|
inlineprivatenoexcept |
◆ dump()
std::string libdar::regular_mask::dump |
( |
const std::string & |
prefix | ) |
const |
|
overridevirtual |
◆ is_covered()
bool libdar::regular_mask::is_covered |
( |
const std::string & |
expression | ) |
const |
|
overridevirtual |
◆ case_sensit
bool libdar::regular_mask::case_sensit |
|
private |
used only by the copy constructor
Definition at line 211 of file mask.hpp.
◆ mask_exp
std::string libdar::regular_mask::mask_exp |
|
private |
used only by the copy constructor
Definition at line 210 of file mask.hpp.
◆ preg
regex_t libdar::regular_mask::preg |
|
private |
The documentation for this class was generated from the following file: