![]() |
Disk ARchive 2.7.18
Full featured and portable backup and archiving tool
|
negation of another mask More...
#include <mask.hpp>
Inherits libdar::mask.
Public Member Functions | |
| not_mask (const mask &m) | |
| the constructor to be used by libdar external programs | |
| not_mask (const not_mask &m) | |
| copy constructor | |
| not_mask (not_mask &&m) noexcept | |
| move constructor | |
| not_mask & | operator= (const not_mask &m) |
| assignment operator | |
| not_mask & | operator= (not_mask &&m) noexcept |
| move operator | |
| ~not_mask () | |
| destructor | |
| 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 | |
| std::string | dump (const std::string &prefix) const override |
| dump in human readable form the nature of the mask | |
| mask * | clone () const override |
| inherited from the mask class | |
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 |
Private Member Functions | |
| void | nullifyptr () noexcept |
| void | copy_from (const not_mask &m) |
| void | copy_from (const mask &m) |
| void | move_from (not_mask &&ref) noexcept |
| void | detruit () |
Private Attributes | |
| mask * | ref |
negation of another mask
this is the first mask built over masks it realizes the negation of the given mask
|
inline |
the constructor to be used by libdar external programs
| [in] | m | is the mask to negate |
Definition at line 234 of file mask.hpp.
Referenced by clone().
|
inline |
|
inlinenoexcept |
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 257 of file mask.hpp.
References not_mask().
|
overridevirtual |
dump in human readable form the nature of the mask
| [in] | prefix | used for indentation withing the output string |
Implements libdar::mask.
|
inlineoverridevirtual |
check whether the given path is covered by the mask
| [in] | chemin | is the path to check |
Reimplemented from libdar::mask.
Definition at line 253 of file mask.hpp.
References libdar::mask::is_covered().
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 252 of file mask.hpp.
References libdar::mask::is_covered().
|
inlineprivatenoexcept |