![]() |
Disk ARchive
2.6.2
Full featured and portable backup and archiving tool
|
matches if string is exactly the given mask (no wilde card expression) More...
#include <mask.hpp>
Inherits libdar::mask.
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 | |
| std::string | dump (const std::string &prefix) const override |
| inherited from the mask class | |
| mask * | clone () const override |
| inherited from the mask class | |
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 path &chemin) const |
| check whether the given path is covered by the mask More... | |
Private Attributes | |
| std::string | chemin |
| bool | case_s |
matches if string is exactly the given mask (no wilde card expression)
|
inline |
the constructor to be used by libdar external programs
| [in] | p | is the path to compare with |
| [in] | case_sensit | whether the mask is case sensitive or not |
Definition at line 433 of file mask.hpp.
References libdar::mask::dump(), and libdar::mask::is_covered().
1.8.13