Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
matches if string is exactly the given mask (no wilde card expression) More...
#include <mask.hpp>
Public Member Functions | |
same_path_mask (const std::string &p, bool case_sensit) | |
the constructor to be used by libdar external programs More... | |
same_path_mask (const same_path_mask &ref)=default | |
same_path_mask (same_path_mask &&ref) noexcept=default | |
same_path_mask & | operator= (const same_path_mask &ref)=default |
same_path_mask & | operator= (same_path_mask &&ref) noexcept=default |
bool | is_covered (const std::string &chemin) const override |
inherited from the mask class More... | |
std::string | dump (const std::string &prefix) const override |
inherited from the mask class More... | |
mask * | clone () const override |
inherited from the mask class More... | |
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 |
virtual bool | is_covered (const std::string &expression) const =0 |
check wether the given string is covered by the mask More... | |
virtual bool | is_covered (const path &chemin) const |
check whether the given path is covered by the mask More... | |
virtual std::string | dump (const std::string &prefix="") const =0 |
dump in human readable form the nature of the mask More... | |
virtual mask * | clone () const =0 |
Private Attributes | |
std::string | chemin |
bool | case_s |
matches if string is exactly the given mask (no wilde card expression)
|
inline |
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 447 of file mask.hpp.
References same_path_mask().
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.