#include <DefaultFileFinder.hpp>
The default locations are ./, ${SRT_PRIVATE_CONTEXT}/ and ${SRT_PUBLIC_CONTEXT}/ You can prepend or append other locations.
Definition at line 15 of file DefaultFileFinder.hpp.
Public Member Functions | |
| DefaultFileFinder () | |
| If argument is null, then use the default setup with is ".", $SRT_LOCAL_CONTEXT, and $SRT_PUBLIC_CONTEXT. | |
| void | push_back (const std::string &location) |
| Add a new pattern to the end of the list. | |
| void | push_front (const std::string &location) |
| Add a new pattern to the end of the list. | |
| std::string | findFile (const std::string &base_name) const |
| Use the stub given to see if the file can be found. | |
Private Attributes | |
| std::list< std::string > | _locations |
|
|
If argument is null, then use the default setup with is ".", $SRT_LOCAL_CONTEXT, and $SRT_PUBLIC_CONTEXT.
Definition at line 14 of file DefaultFileFinder.cpp. References push_back(). |
|
|
Use the stub given to see if the file can be found. If not, then return an empty string. Absolute pathnames are returned unchanged. Definition at line 39 of file DefaultFileFinder.cpp. References _locations. |
|
|
Add a new pattern to the end of the list.
Definition at line 26 of file DefaultFileFinder.cpp. References _locations. Referenced by DefaultFileFinder(). |
|
|
Add a new pattern to the end of the list.
Definition at line 32 of file DefaultFileFinder.cpp. References _locations. |
|
|
Definition at line 31 of file DefaultFileFinder.hpp. Referenced by findFile(), push_back(), and push_front(). |
1.3.4