Disk ARchive
2.4.5
|
boolean mask, either always true or false More...
#include <mask.hpp>
Inherits libdar::mask.
Public Member Functions | |
bool_mask (bool always) | |
the constructor | |
bool | is_covered (const std::string &expression) const |
inherited from the mask class | |
bool | is_covered (const path &chemin) const |
check whether the given path is covered by the mask | |
mask * | clone () const |
inherited from the mask class |
boolean mask, either always true or false
it matches all files or no files at all
Definition at line 91 of file src/libdar/mask.hpp.
libdar::bool_mask::bool_mask | ( | bool | always | ) | [inline] |
the constructor
[in] | always | is the value that this mask will always return when the is_covered method will be used |
Definition at line 99 of file src/libdar/mask.hpp.
Referenced by clone().
bool libdar::bool_mask::is_covered | ( | const path & | chemin | ) | const [inline, virtual] |
check whether the given path is covered by the mask
[in] | chemin | is the path to check |
Reimplemented from libdar::mask.
Definition at line 103 of file src/libdar/mask.hpp.