![]() |
Disk ARchive 2.7.14
Full featured and portable backup and archiving tool
|
string matches if it is subdir of mask or mask is a subdir of expression More...
#include <mask.hpp>
Inherits libdar::mask, and libdar::mask.
Public Member Functions | |
simple_path_mask (const path &p, bool case_sensit) | |
the constructor to be used by libdar external programs | |
simple_path_mask (const simple_path_mask &ref)=default | |
simple_path_mask (simple_path_mask &&ref) noexcept=default | |
simple_path_mask & | operator= (const simple_path_mask &ref)=default |
simple_path_mask & | operator= (simple_path_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 | |
simple_path_mask (const path &p, bool case_sensit) | |
the constructor to be used by libdar external programs | |
simple_path_mask (const simple_path_mask &ref)=default | |
simple_path_mask (simple_path_mask &&ref) noexcept=default | |
simple_path_mask & | operator= (const simple_path_mask &ref)=default |
simple_path_mask & | operator= (simple_path_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 | |
![]() | |
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 Attributes | |
path | chemin |
bool | case_s |
string matches if it is subdir of mask or mask is a subdir of expression
Definition at line 395 of file dar64-2.7.14-win64/include/dar/mask.hpp.
the constructor to be used by libdar external programs
[in] | p | the path the compare with |
[in] | case_sensit | whether the mask is case sensitive or not |
Definition at line 403 of file dar64-2.7.14-win64/include/dar/mask.hpp.
Referenced by clone().
the constructor to be used by libdar external programs
[in] | p | the path the compare with |
[in] | case_sensit | whether the mask is case sensitive or not |
Definition at line 403 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 416 of file dar64-2.7.14-win64/include/dar/mask.hpp.
References simple_path_mask().
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 416 of file src/libdar/mask.hpp.
References simple_path_mask().
|
overridevirtual |
dump in human readable form the nature of the mask
[in] | prefix | used for indentation withing the output string |
Implements libdar::mask.
|
overridevirtual |
dump in human readable form the nature of the mask
[in] | prefix | used for indentation withing the output string |
Implements libdar::mask.
check whether the given path is covered by the mask
[in] | chemin | is the path to check |
Reimplemented from libdar::mask.
check whether the given path is covered by the mask
[in] | chemin | is the path to check |
Reimplemented from libdar::mask.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 411 of file dar64-2.7.14-win64/include/dar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 411 of file src/libdar/mask.hpp.
|
private |
Definition at line 420 of file dar64-2.7.14-win64/include/dar/mask.hpp.
|
private |
Definition at line 419 of file dar64-2.7.14-win64/include/dar/mask.hpp.