![]() |
ATLAS Offline Software
|
#include <PathResolver.h>
Public Types | |
enum | SearchPathStatus { Ok, EnvironmentVariableUndefined, UnknownDirectory } |
enum | SearchType { LocalSearch, RecursiveSearch } |
enum | PR_file_type { PR_regular_file, PR_directory } |
Public Member Functions | |
PathResolver () | |
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) |
static std::string | find_calib_file (const std::string &logical_file_name) |
static std::string | find_calib_directory (const std::string &logical_file_name) |
static void | setOutputLevel (MSG::Level level) |
static std::string | FindCalibFile (const std::string &logical_file_name) |
static std::string | FindCalibDirectory (const std::string &logical_file_name) |
static void | SetOutputLevel (int lvl) |
Static Private Member Functions | |
static bool | PR_find (const std::string &logical_file_name, const std::string &search_list, PR_file_type file_type, SearchType search_type, std::string &result) |
static bool | msgLvl (const MSG::Level lvl) |
static MsgStream & | msg () |
static MsgStream & | msg (const MSG::Level lvl) |
static asg::AsgMessaging & | asgMsg () |
Static Private Attributes | |
static std::atomic< MSG::Level > | m_level =MSG::INFO |
Definition at line 14 of file PathResolver.h.
Enumerator | |
---|---|
PR_regular_file | |
PR_directory |
Definition at line 31 of file PathResolver.h.
Enumerator | |
---|---|
Ok | |
EnvironmentVariableUndefined | |
UnknownDirectory |
Definition at line 18 of file PathResolver.h.
Enumerator | |
---|---|
LocalSearch | |
RecursiveSearch |
Definition at line 25 of file PathResolver.h.
PathResolver::PathResolver | ( | ) |
Definition at line 94 of file PathResolver.cxx.
|
staticprivate |
|
static |
search_path
the name of a path-like environment variableOk
, EnvironmentVariableUndefined
, UnknownDirectory
Definition at line 348 of file PathResolver.cxx.
|
static |
Definition at line 413 of file PathResolver.cxx.
|
static |
Definition at line 384 of file PathResolver.cxx.
|
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 307 of file PathResolver.cxx.
|
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 330 of file PathResolver.cxx.
|
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 251 of file PathResolver.cxx.
|
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 281 of file PathResolver.cxx.
|
inlinestatic |
Definition at line 109 of file PathResolver.h.
|
inlinestatic |
Definition at line 108 of file PathResolver.h.
|
inlinestaticprivate |
Definition at line 120 of file PathResolver.h.
|
inlinestaticprivate |
Definition at line 121 of file PathResolver.h.
|
inlinestaticprivate |
Definition at line 119 of file PathResolver.h.
|
staticprivate |
Definition at line 122 of file PathResolver.cxx.
|
inlinestatic |
Definition at line 110 of file PathResolver.h.
|
static |
Definition at line 426 of file PathResolver.cxx.
|
staticprivate |
Definition at line 117 of file PathResolver.h.