Disk ARchive  2.4.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
libdar::not_mask Class Reference

negation of another mask More...

#include <mask.hpp>

Inherits libdar::mask.

List of all members.

Public Member Functions

 not_mask (const mask &m)
 the constructor to be used by libdar external programs
 not_mask (const not_mask &m)
 copy constructor
const not_maskoperator= (const not_mask &m)
 assignment operator
 ~not_mask ()
 destructor
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

negation of another mask

this is the first mask built over masks it realizes the negation of the given mask

Definition at line 183 of file src/libdar/mask.hpp.


Constructor & Destructor Documentation

libdar::not_mask::not_mask ( const mask m) [inline]

the constructor to be used by libdar external programs

Parameters:
[in]mis the mask to negate
Note:
the mask used as argument need not to survive the just created not_mask object as an internal copy of the mask given in argument has been done.

Definition at line 191 of file src/libdar/mask.hpp.

Referenced by clone().


Member Function Documentation

bool libdar::not_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 201 of file src/libdar/mask.hpp.

References libdar::mask::is_covered().


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