![]() |
Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
boolean mask, either always true or false More...
#include <mask.hpp>
Inherits libdar::mask.
Public Member Functions | |
bool_mask (bool always) | |
the constructor | |
bool_mask (const bool_mask &ref)=default | |
bool_mask (bool_mask &&ref) noexcept=default | |
bool_mask & | operator= (const bool_mask &ref)=default |
bool_mask & | operator= (bool_mask &&ref) noexcept=default |
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 | |
![]() | |
mask (const mask &ref)=default | |
mask (mask &&ref) noexcept=default | |
mask & | operator= (const mask &ref)=default |
mask & | operator= (mask &&ref) noexcept=default |
Private Attributes | |
bool | val |
boolean mask, either always true or false
it matches all files or no files at all
|
inline |
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 121 of file mask.hpp.
References bool_mask().
|
inlineoverridevirtual |
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.
|
inlineoverridevirtual |