Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
matches as done on shell command lines (see "man 7 glob") More...
#include <mask.hpp>
Public Member Functions | |
simple_mask (const std::string &wilde_card_expression, bool case_sensit) | |
the constructor to use by libdar external programs More... | |
simple_mask (const simple_mask &m)=default | |
copy constructor | |
simple_mask (simple_mask &&ref) noexcept=default | |
move constructor | |
simple_mask & | operator= (const simple_mask &m)=default |
assignment operator | |
simple_mask & | operator= (simple_mask &&ref) noexcept=default |
move operator | |
~simple_mask ()=default | |
default destructor | |
bool | is_covered (const std::string &expression) const override |
inherited from the mask class More... | |
std::string | dump (const std::string &prefix) const override |
inherited from the mask class More... | |
mask * | clone () const override |
inherited from the mask class More... | |
Public Member Functions inherited from libdar::mask | |
mask (const mask &ref)=default | |
mask (mask &&ref) noexcept=default | |
mask & | operator= (const mask &ref)=default |
mask & | operator= (mask &&ref) noexcept=default |
virtual bool | is_covered (const std::string &expression) const =0 |
check wether the given string is covered by the mask More... | |
virtual bool | is_covered (const path &chemin) const |
check whether the given path is covered by the mask More... | |
virtual std::string | dump (const std::string &prefix="") const =0 |
dump in human readable form the nature of the mask More... | |
virtual mask * | clone () const =0 |
Private Attributes | |
std::string | the_mask |
bool | case_s |
libdar::simple_mask::simple_mask | ( | const std::string & | wilde_card_expression, |
bool | case_sensit | ||
) |
the constructor to use by libdar external programs
[in] | wilde_card_expression | is the glob expression that defines the mask |
[in] | case_sensit | whether the mask is case sensitive or not |
Referenced by clone().
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 163 of file mask.hpp.
References simple_mask().
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.