![]() |
Disk ARchive 2.8.3
Full featured and portable backup and archiving tool
|
makes the OR operator between two or more masks More...
#include <mask.hpp>
Inherits libdar::et_mask, and libdar::et_mask.
Public Member Functions | |
| ou_mask (const ou_mask &ref)=default | |
| ou_mask (ou_mask &&ref) noexcept=default | |
| ou_mask & | operator= (const ou_mask &ref)=default |
| ou_mask & | operator= (ou_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 | |
| ou_mask (const ou_mask &ref)=default | |
| ou_mask (ou_mask &&ref) noexcept=default | |
| ou_mask & | operator= (const ou_mask &ref)=default |
| ou_mask & | operator= (ou_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 | |
| Public Member Functions inherited from libdar::et_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 | |
| 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 | |
| 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 |
Private Member Functions | |
| template<class T> | |
| bool | t_is_covered (const T &expression) const |
| template<class T> | |
| bool | t_is_covered (const T &expression) const |
Additional Inherited Members | |
| Protected Member Functions inherited from libdar::et_mask | |
| 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 inherited from libdar::et_mask | |
| std::deque< mask * > | lst |
makes the OR operator between two or more masks
this mask has exactly the same use as the et_mask please see the et_mask documentation. The only difference is that it makes an OR operation rather than an AND with the masks added thanks to the add_mask method
Definition at line 362 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
Definition at line 365 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inline |
Definition at line 365 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Reimplemented from libdar::et_mask.
Definition at line 377 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Reimplemented from libdar::et_mask.
Definition at line 377 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
dump in human readable form the nature of the mask
| [in] | prefix | used for indentation withing the output string |
Reimplemented from libdar::et_mask.
Definition at line 375 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 |
Reimplemented from libdar::et_mask.
Definition at line 375 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::et_mask.
Definition at line 374 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::et_mask.
Definition at line 374 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Reimplemented from libdar::et_mask.
Definition at line 373 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Reimplemented from libdar::et_mask.
Definition at line 373 of file src/libdar/mask.hpp.
|
inlineprivate |
Definition at line 380 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineprivate |
Definition at line 380 of file src/libdar/mask.hpp.