|
BOSS 8.0.0
BESIII Offline Software System
|
#include <PathResolver.h>
Public Types | |
| enum | SearchPathStatus { Ok , EnvironmentVariableUndefined , UnknownDirectory } |
| enum | SearchType { LocalSearch , RecursiveSearch } |
Static Public Member Functions | |
| static std::string | find_file (const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch) |
| static std::string | find_file_from_list (const std::string &logical_file_name, const std::string &search_list, SearchType search_type=LocalSearch) |
| static std::string | find_directory (const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch) |
| static std::string | find_directory_from_list (const std::string &logical_file_name, const std::string &search_list, SearchType search_type=LocalSearch) |
| static SearchPathStatus | check_search_path (const std::string &search_path) |
Definition at line 6 of file PathResolver.h.
| Enumerator | |
|---|---|
| Ok | |
| EnvironmentVariableUndefined | |
| UnknownDirectory | |
Definition at line 8 of file PathResolver.h.
|
static |
search_path the name of a path-like environment variableOk, EnvironmentVariableUndefined, UnknownDirectory Definition at line 512 of file PathResolver.cxx.
Referenced by PathResolverCheckSearchPath().
|
static |
logical_file_name the name of the directory to locate in the search path search_path the name of a path-like environment variable search_type characterizes the type of search. Can be either LocalSearch or RecursiveSearchDefinition at line 487 of file PathResolver.cxx.
Referenced by PathResolverFindDirectory().
|
static |
logical_file_name the name of the directory to locate in the search path search_list the prioritized list of possible locations separated by the usual path separator search_type characterizes the type of search. Can be either LocalSearch or RecursiveSearchDefinition at line 499 of file PathResolver.cxx.
Referenced by find_directory(), and PathResolverFindDirectoryFromList().
|
static |
logical_file_name the name of the file to locate in the search path search_path the name of a path-like environment variable search_type characterizes the type of search. Can be either LocalSearch or RecursiveSearch Definition at line 464 of file PathResolver.cxx.
Referenced by main(), PathResolverFindDataFile(), PathResolverFindFile(), and PathResolverFindXMLFile().
|
static |
logical_file_name the name of the file to locate in the search path search_list the prioritized list of possible locations separated by the usual path separator search_type characterizes the type of search. Can be either LocalSearch or RecursiveSearch Definition at line 475 of file PathResolver.cxx.
Referenced by find_file(), and PathResolverFindFileFromList().