Disk ARchive
2.4.5
|
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 () | |
the constructor to be used by libdar external programs | |
et_mask (const et_mask &m) | |
copy constructor | |
const et_mask & | operator= (const et_mask &m) |
assignment operator | |
~et_mask () | |
destructor | |
void | add_mask (const mask &toadd) |
add a mask to the operator | |
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 | |
U_I | size () const |
the number of mask on which is done the *AND* operator | |
void | clear () |
clear the mask | |
Protected Attributes | |
std::vector< mask * > | lst |
makes an *AND* operator between two or more masks
Definition at line 217 of file src/libdar/mask.hpp.
libdar::et_mask::et_mask | ( | ) | [inline] |
the constructor to be used by libdar external programs
Definition at line 226 of file src/libdar/mask.hpp.
Referenced by clone().
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 |
void libdar::et_mask::clear | ( | ) | [inline] |
clear the mask
remove all previously added masks
Definition at line 260 of file src/libdar/mask.hpp.
bool libdar::et_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.
Reimplemented in libdar::ou_mask.
Definition at line 244 of file src/libdar/mask.hpp.
U_I libdar::et_mask::size | ( | ) | const [inline] |
the number of mask on which is done the *AND* operator
Definition at line 253 of file src/libdar/mask.hpp.