Logic for searching for files based on some criteria.
More...
|
|
Buffer< File > | excluded_list |
| | Files or directories to exclude from results.
|
|
Buffer< File > | files_recursively_to_search |
| | Root files or directories to search within.
|
|
uint04 | max_recursion_level = Constant<uint04>::Max |
| | Maximum directory depth for recursive searches.
|
|
Buffer< String > | search_extensions |
| | File extensions to match during the search.
|
Logic for searching for files based on some criteria.
File searches help locate files or directories within other directories.
Definition at line 640 of file File.h.
◆ performSearch() [1/2]
| Buffer< File > FileSearch::performSearch |
( |
| ) |
const |
Performs the file search and returns all matching files.
- Returns
- A Buffer containing the files that match the search criteria.
◆ performSearch() [2/2]
| void FileSearch::performSearch |
( |
const File & | current_file, |
|
|
Buffer< File > & | files, |
|
|
uint04 | recursion_level ) const |
|
protected |
Recursively searches a directory for matching files.
- Parameters
-
| [in] | current_file | The current file or directory being searched. |
| [in] | files | The buffer to accumulate matching results into. |
| [in] | recursion_level | The current recursion depth. |
The documentation for this class was generated from the following file: