![]() |
Disk ARchive
2.5.16
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 () | |
the constructor to be used by libdar external programs More... | |
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 More... | |
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 More... | |
std::string | dump (const std::string &prefix) const |
dump in human readable form the nature of the mask More... | |
mask * | clone () const |
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... | |
![]() | |
void * | operator new (size_t n_byte) |
void * | operator new (size_t n_byte, const std::nothrow_t ¬hrow_value) |
void * | operator new[] (size_t n_byte) |
void * | operator new[] (size_t n_byte, const std::nothrow_t ¬hrow_value) |
void * | operator new (size_t n_byte, memory_pool *p) |
void * | operator new[] (size_t n_byte, memory_pool *p) |
void | operator delete (void *ptr, memory_pool *p) |
this operator is called by the compiler if an exception is throw from the constructor of the allocated object | |
void | operator delete[] (void *ptr, memory_pool *p) |
this operator is called by the compiler if an exception is throw from the constructor of the allocated objects | |
void | operator delete (void *ptr) |
this is the usual delete operator, modified to handle allocated objects allocated on a memory pool or not | |
void | operator delete[] (void *ptr) |
this is the usual delete[] operator, modified to handle allocated objects allocated on a memory pool or not | |
Protected Member Functions | |
std::string | dump_logical (const std::string &prefix, const std::string &boolop) const |
![]() | |
memory_pool * | get_pool () const |
template<class T > | |
void | meta_new (T *&ptr, size_t num) |
template<class T > | |
void | meta_delete (T *ptr) |
Protected Attributes | |
std::vector< mask * > | lst |
|
inline |
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 274 of file mask.hpp.
References libdar::dar_gettext().
|
inlinevirtual |
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.
|
inlinevirtual |
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