![]() |
Disk ARchive 2.8.3
Full featured and portable backup and archiving tool
|
matches regular expressions (see "man 7 regex") More...
#include <mask.hpp>
Inherits libdar::mask, and libdar::mask.
Public Member Functions | |
| regular_mask (const std::string &wilde_card_expression, bool x_case_sensit) | |
| the constructor to be used by libdar external programs | |
| regular_mask (const regular_mask &ref) | |
| the copy constructor | |
| regular_mask (regular_mask &&ref) noexcept | |
| the move constructor | |
| regular_mask & | operator= (const regular_mask &ref) |
| the assignment operator | |
| regular_mask & | operator= (regular_mask &&ref) noexcept |
| the move operator | |
| virtual | ~regular_mask () |
| destructor | |
| bool | is_covered (const std::string &expression) 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 | |
| regular_mask (const std::string &wilde_card_expression, bool x_case_sensit) | |
| the constructor to be used by libdar external programs | |
| regular_mask (const regular_mask &ref) | |
| the copy constructor | |
| regular_mask (regular_mask &&ref) noexcept | |
| the move constructor | |
| regular_mask & | operator= (const regular_mask &ref) |
| the assignment operator | |
| regular_mask & | operator= (regular_mask &&ref) noexcept |
| the move operator | |
| virtual | ~regular_mask () |
| destructor | |
| bool | is_covered (const std::string &expression) 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 | |
| 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 | |
Private Member Functions | |
| void | set_preg (const std::string &wilde_card_expression, bool x_case_sensit) |
| void | copy_from (const regular_mask &ref) |
| void | move_from (regular_mask &&ref) noexcept |
| void | detruit () noexcept |
| void | set_preg (const std::string &wilde_card_expression, bool x_case_sensit) |
| void | copy_from (const regular_mask &ref) |
| void | move_from (regular_mask &&ref) noexcept |
| void | detruit () noexcept |
Private Attributes | |
| regex_t | preg |
| std::string | mask_exp |
| used only by the copy constructor | |
| bool | case_sensit |
| used only by the copy constructor | |
matches regular expressions (see "man 7 regex")
Definition at line 173 of file dar64-2.8.3-win64/include/dar/mask.hpp.
| libdar::regular_mask::regular_mask | ( | const std::string & | wilde_card_expression, |
| bool | x_case_sensit ) |
the constructor to be used by libdar external programs
| [in] | wilde_card_expression | is the regular expression that defines the mask |
| [in] | x_case_sensit | whether the mask is case sensitive or not |
Referenced by clone(), operator=(), operator=(), regular_mask(), and regular_mask().
|
inline |
the copy constructor
Definition at line 185 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References regular_mask().
|
inlinenoexcept |
the move constructor
Definition at line 188 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References regular_mask().
|
inlinevirtual |
destructor
Definition at line 197 of file dar64-2.8.3-win64/include/dar/mask.hpp.
| libdar::regular_mask::regular_mask | ( | const std::string & | wilde_card_expression, |
| bool | x_case_sensit ) |
the constructor to be used by libdar external programs
| [in] | wilde_card_expression | is the regular expression that defines the mask |
| [in] | x_case_sensit | whether the mask is case sensitive or not |
|
inline |
|
inlinenoexcept |
|
inlinevirtual |
destructor
Definition at line 197 of file src/libdar/mask.hpp.
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 206 of file dar64-2.8.3-win64/include/dar/mask.hpp.
References regular_mask().
|
inlineoverridevirtual |
inherited from the mask class
Implements libdar::mask.
Definition at line 206 of file src/libdar/mask.hpp.
References regular_mask().
|
inlineprivatenoexcept |
Definition at line 218 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
inlineprivatenoexcept |
Definition at line 218 of file src/libdar/mask.hpp.
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.
|
overridevirtual |
inherited from the mask class
Implements libdar::mask.
|
private |
used only by the copy constructor
Definition at line 211 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
private |
used only by the copy constructor
Definition at line 210 of file dar64-2.8.3-win64/include/dar/mask.hpp.
|
private |
Definition at line 209 of file dar64-2.8.3-win64/include/dar/mask.hpp.