Disk ARchive 2.3.11
Public Member Functions

libdar::mask_list Class Reference

the mask_list class, matches string that are present in a given file More...

#include <mask_list.hpp>

Inherits libdar::mask.

List of all members.

Public Member Functions

 mask_list (const std::string &filename_list_st, bool case_sensit, const path &prefix, bool include)
 the constructor
bool is_covered (const std::string &expression) const
 inherited from the mask class
maskclone () const
 inherited from the mask class
U_I size () const
 routing only necessary for doing some testing

Detailed Description

the mask_list class, matches string that are present in a given file

the given file must contain one entry per line (thus no carriage return is allowed in a given entry). Note that the file listed in the file may have a relative path or an absolute path.

Definition at line 50 of file mask_list.hpp.


Constructor & Destructor Documentation

libdar::mask_list::mask_list ( const std::string &  filename_list_st,
bool  case_sensit,
const path prefix,
bool  include 
)

the constructor

Parameters:
[in]filename_list_stis the path to the file listing the filename to select for the operation
[in]case_sensitwhether comparison is case sensitive or not
[in]prefixadd this prefix to relative paths of the list. The prefix should be either absolute, or "<ROOT>" (in case of operations on an existing archive)
[in]includewhether the mask_list is used for file inclusion or file exclusion

Referenced by clone().


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