#include <DefaultFileFinder.hpp>
Public Member Functions | |
| DefaultFileFinder (const std::string &first_pattern="") | |
| If argument is null, then use the default setup with is ".", $SRT_LOCAL_CONTEXT, and $SRT_PUBLIC_CONTEXT. | |
| void | push_back (const std::string &pattern) |
| Add a new pattern to the end of the list. | |
| std::string | findFile (const std::string &base_name) |
| Use the stub given to see if the file can be found. | |
Private Member Functions | |
| ClassDef (DefaultFileFinder, 0) | |
This maintains a list of FileListExpander objects, which contain a replacement pattern. The file is passed to each one, one by one, until the file is found, or nothing... :( See the file expander object to find the pattern format and instructions.
Definition at line 19 of file DefaultFileFinder.hpp.
|
|
If argument is null, then use the default setup with is ".", $SRT_LOCAL_CONTEXT, and $SRT_PUBLIC_CONTEXT.
Definition at line 12 of file DefaultFileFinder.cpp. |
|
||||||||||||
|
|
|
|
Use the stub given to see if the file can be found. If not, then return an empty string. Definition at line 23 of file DefaultFileFinder.cpp. |
|
|
Add a new pattern to the end of the list.
Definition at line 17 of file DefaultFileFinder.cpp. |
1.3.4