Disk ARchive  2.5.2
Full featured and portable backup and archiving tool
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
libdar::exclude_dir_mask Class Reference

matches if string is the given constructor string or a sub directory of it More...

#include <mask.hpp>

Inherits libdar::mask.

List of all members.

Public Member Functions

 exclude_dir_mask (const std::string &p, bool case_sensit)
 the constructor to be used by libdar external programs
bool is_covered (const std::string &expression) const
 inherited from the mask class
bool is_covered (const path &chemin) const
 check whether the given path is covered by the mask
maskclone () const
 inherited from the mask class

Detailed Description

matches if string is the given constructor string or a sub directory of it

Definition at line 367 of file mask.hpp.


Constructor & Destructor Documentation

libdar::exclude_dir_mask::exclude_dir_mask ( const std::string &  p,
bool  case_sensit 
) [inline]

the constructor to be used by libdar external programs

Parameters:
[in]pis the path to compare with
[in]case_sensitwhether the mask is case sensitive or not

Definition at line 374 of file mask.hpp.

Referenced by clone().


Member Function Documentation

bool libdar::exclude_dir_mask::is_covered ( const path chemin) const [inline, virtual]

check whether the given path is covered by the mask

Parameters:
[in]cheminis the path to check
Returns:
true if the given path is covered by the mask
Note:
only libdar internally needs to call this method
this is an optional method to the previous one, it can be overwritten

Reimplemented from libdar::mask.

Definition at line 378 of file mask.hpp.

References libdar::path::is_subdir_of().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines