fswatch 1.17.1
Namespaces | Typedefs | Functions | Variables
filter.hpp File Reference

Header of the fsw::monitor_filter class. More...

#include <string>
#include "libfswatch/c/cfilter.h"
#include <vector>

Go to the source code of this file.

Namespaces

namespace  fsw
 Main namespace of libfswatch.
 

Typedefs

using fsw::monitor_filter = monitor_filter { std::string text
 Path filters used to accept or reject file change events. More...
 

Functions

static std::vector< monitor_filter > fsw::read_from_file (const std::string &path, void(*err_handler)(std::string)=nullptr)
 Load filters from the specified file. More...
 

Variables

fsw_filter_type fsw::type
 Filter type.
 
bool fsw::case_sensitive
 Flag indicating whether monitor_filter::text is a case sensitive regular expression.
 
bool fsw::extended
 Flag indicating whether monitor_filter::text is an extended regular expression. More...
 

Detailed Description

Header of the fsw::monitor_filter class.

This header file defines the fsw::monitor_filter class, a type that represents a path filter.

License:\n GNU General Public License v. 3.0
Author
Enrico M. Crisostomo
Version
1.8.0