![]() |
Disk ARchive
2.6.6
Full featured and portable backup and archiving tool
|
makes an AND operator between two or more masks More...
#include <mask.hpp>
Inherits libdar::mask.
Inherited by libdar::ou_mask.
Public Member Functions | |
et_mask ()=default | |
the constructor to be used by libdar external programs More... | |
et_mask (const et_mask &m) | |
copy constructor | |
et_mask (et_mask &&m) noexcept | |
move constructor | |
et_mask & | operator= (const et_mask &m) |
assignment operator | |
et_mask & | operator= (et_mask &&m) noexcept |
move operator | |
~et_mask () | |
destructor | |
void | add_mask (const mask &toadd) |
add a mask to the operator More... | |
bool | is_covered (const std::string &expression) const override |
inherited from the mask class | |
bool | is_covered (const path &chemin) const override |
check whether the given path is covered by the mask More... | |
std::string | dump (const std::string &prefix) const override |
dump in human readable form the nature of the mask More... | |
mask * | clone () const override |
inherited from the mask class | |
U_I | size () const |
the number of mask on which is done the AND operator More... | |
void | clear () |
clear the mask More... | |
![]() | |
mask (const mask &ref)=default | |
mask (mask &&ref) noexcept=default | |
mask & | operator= (const mask &ref)=default |
mask & | operator= (mask &&ref) noexcept=default |
Protected Member Functions | |
std::string | dump_logical (const std::string &prefix, const std::string &boolop) const |
Protected Attributes | |
std::deque< mask * > | lst |
Private Member Functions | |
void | copy_from (const et_mask &m) |
void | move_from (et_mask &&m) noexcept |
void | detruit () |
template<class T > | |
bool | t_is_covered (const T &expression) const |
|
default |
the constructor to be used by libdar external programs
void libdar::et_mask::add_mask | ( | const mask & | toadd | ) |
add a mask to the operator
[in] | toadd | a mask to add to the AND operator |
|
inline |
clear the mask
remove all previously added masks
Definition at line 325 of file mask.hpp.
References libdar::dar_gettext().
|
inlineoverridevirtual |
dump in human readable form the nature of the mask
[in] | prefix | used for indentation withing the output string |
Implements libdar::mask.
Reimplemented in libdar::ou_mask.
|
inlineoverridevirtual |
check whether the given path is covered by the mask
[in] | chemin | is the path to check |
Reimplemented from libdar::mask.
Reimplemented in libdar::ou_mask.
|
inline |
the number of mask on which is done the AND operator