![]() |
Disk ARchive 2.8.3
Full featured and portable backup and archiving tool
|
makes an AND operator between two or more masks More...
#include <mask.hpp>
Inherits libdar::mask, and libdar::mask.
Inherited by libdar::ou_mask, and 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 | |
| et_mask (et_mask &&m) noexcept | |
| move constructor | |
| et_mask & | operator= (const et_mask &m) |
| assignment operator | |
| et_mask & | operator= (et_mask &&m) noexcept |
| move operator | |
| ~et_mask () | |
| destructor | |
| void | add_mask (const mask &toadd) |
| add a mask to the operator | |
| 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 | |
| U_I | size () const |
| the number of mask on which is done the AND operator | |
| const mask * | get_added (U_I index) const |
| return a pointer by index to composing mask (index start at zero and should be strictly less than what size() returns) | |
| void | clear () |
| clear the mask | |
| et_mask () | |
| the constructor to be used by libdar external programs | |
| et_mask (const et_mask &m) | |
| copy constructor | |
| et_mask (et_mask &&m) noexcept | |
| move constructor | |
| et_mask & | operator= (const et_mask &m) |
| assignment operator | |
| et_mask & | operator= (et_mask &&m) noexcept |
| move operator | |
| ~et_mask () | |
| destructor | |
| void | add_mask (const mask &toadd) |
| add a mask to the operator | |
| 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 | |
| U_I | size () const |
| the number of mask on which is done the AND operator | |
| const mask * | get_added (U_I index) const |
| return a pointer by index to composing mask (index start at zero and should be strictly less than what size() returns) | |
| void | clear () |
| clear the mask | |
| 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 |
| mask (const mask &ref)=default | |
| mask (mask &&ref) noexcept=default | |
| mask & | operator= (const mask &ref)=default |
| mask & | operator= (mask &&ref) noexcept=default |
Protected Member Functions | |
| std::string | dump_logical (const std::string &prefix, const std::string &boolop) const |
| std::string | dump_logical (const std::string &prefix, const std::string &boolop) const |
Protected Attributes | |
| std::deque< mask * > | lst |
Private Member Functions | |
| void | copy_from (const et_mask &m) |
| void | move_from (et_mask &&m) noexcept |
| void | detruit () |
| template<class T> | |
| bool | t_is_covered (const T &expression) const |
| void | copy_from (const et_mask &m) |
| void | move_from (et_mask &&m) noexcept |
| void | detruit () |
| template<class T> | |
| bool | t_is_covered (const T &expression) const |
makes an AND operator between two or more masks
Definition at line 272 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
the constructor to be used by libdar external programs
Definition at line 281 of file dar64-2.8.3-win64/include/dar/mask.hpp.
Referenced by clone(), et_mask(), et_mask(), operator=(), and operator=().
|
inline |
copy constructor
Definition at line 284 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References et_mask().
|
inlinenoexcept |
move constructor
Definition at line 287 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References et_mask().
|
inline |
destructor
Definition at line 296 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
the constructor to be used by libdar external programs
Definition at line 281 of file src/libdar/mask.hpp.
|
inline |
|
inlinenoexcept |
|
inline |
destructor
Definition at line 296 of file src/libdar/mask.hpp.
| 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::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 328 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
clear the mask
remove all previously added masks
Definition at line 328 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Reimplemented in libdar::ou_mask, and libdar::ou_mask.
Definition at line 312 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References et_mask().
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Reimplemented in libdar::ou_mask, and libdar::ou_mask.
Definition at line 312 of file src/libdar/mask.hpp.
References et_mask().
|
inlineoverridevirtual |
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, and libdar::ou_mask.
Definition at line 309 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineoverridevirtual |
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, and libdar::ou_mask.
Definition at line 309 of file src/libdar/mask.hpp.
|
inline |
return a pointer by index to composing mask (index start at zero and should be strictly less than what size() returns)
Definition at line 321 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
return a pointer by index to composing mask (index start at zero and should be strictly less than what size() returns)
Definition at line 321 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
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, and libdar::ou_mask.
Definition at line 308 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineoverridevirtual |
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, and libdar::ou_mask.
Definition at line 308 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Reimplemented in libdar::ou_mask, and libdar::ou_mask.
Definition at line 307 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Reimplemented in libdar::ou_mask, and libdar::ou_mask.
Definition at line 307 of file src/libdar/mask.hpp.
move operator
Definition at line 293 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References et_mask().
|
inline |
the number of mask on which is done the AND operator
Definition at line 318 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
the number of mask on which is done the AND operator
Definition at line 318 of file src/libdar/mask.hpp.
|
inlineprivate |
Definition at line 340 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineprivate |
Definition at line 340 of file src/libdar/mask.hpp.
|
protected |
Definition at line 331 of file dar64-2.8.3-win64/include/dar/mask.hpp.