Implementation of abstract class FFilter which uses run-time compiled and evaluated expressions to determine inclusion of files or directories. Instances of this type can be created with outer classes' method FileExpressions::CreateFilter and for example be attached to fields FileFilter, DirectoryFilterPreRecursion and DirectoryFilterPostRecursion of class ScanParameters.
Definition at line 146 of file fileexpressions.hpp.
#include <fileexpressions.hpp>
◆ FileExpressions
◆ expression
◆ fex
◆ scope
◆ Filter()
Protected constructor. Compiles the given expression. To create an instance of this class, use FileExpressions::CreateFilter.
- Parameters
-
pFex | The expression compiler to use. |
expressionString | The expression string. |
Definition at line 236 of file fileexpressions.cpp.
◆ Includes()
The filter method.
- Parameters
-
node | The node in the file-tree to examine. |
parentPath | The absolute path to the parent directory that the file resides in. |
- Returns
- The result determines, whether the given file or directory has passed the filter or not. Consequently,
true
means "passed" and false
means "filtered out".
Implements FFilter.
Definition at line 171 of file fileexpressions.hpp.
The documentation for this class was generated from the following files: