Scanner to scan for a particular type of FIOS file.
More...
|
| FiosFileScanner (SaveLoadOperation fop, FiosGetTypeAndNameProc *callback_proc, FileList &file_list) |
| Create the scanner.
|
|
bool | AddFile (const std::string &filename, size_t basepath_length, const std::string &tar_filename) override |
| Try to add a fios item set with the given filename.
|
|
virtual | ~FileScanner ()=default |
| Destruct the proper one...
|
|
uint | Scan (std::string_view extension, Subdirectory sd, bool tars=true, bool recursive=true) |
| Scan for files with the given extension in the given search path.
|
|
uint | Scan (std::string_view extension, const std::string &directory, bool recursive=true) |
| Scan for files with the given extension in the given search path.
|
|
Scanner to scan for a particular type of FIOS file.
Definition at line 258 of file fios.cpp.
◆ FiosFileScanner()
Create the scanner.
- Parameters
-
fop | Purpose of collecting the list. |
callback_proc | The function that is called where you need to do the filtering. |
file_list | Destination of the found files. |
Definition at line 269 of file fios.cpp.
◆ AddFile()
bool FiosFileScanner::AddFile |
( |
const std::string & |
filename, |
|
|
size_t |
basepath_length, |
|
|
const std::string & |
tar_filename |
|
) |
| |
|
overridevirtual |
◆ callback_proc
FiosGetTypeAndNameProc* FiosFileScanner::callback_proc |
|
private |
Callback to check whether the file may be added.
Definition at line 260 of file fios.cpp.
Referenced by AddFile().
◆ file_list
◆ fop
The kind of file we are looking for.
Definition at line 259 of file fios.cpp.
Referenced by AddFile().
The documentation for this class was generated from the following file: