Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v28r2p1 (f1a77ff4)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PathResolver.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_PATHRESOLVER_H
2 #define GAUDIKERNEL_PATHRESOLVER_H
3 
4 #include <string>
5 #include "GaudiKernel/Kernel.h"
6 
7 
8 namespace System {
9 
11 
12 {
13 public:
14  typedef enum
15  {
16  Ok,
18  UnknownDirectory
20 
21  typedef enum
22  {
24  RecursiveSearch
25  } SearchType;
26 
36  static std::string find_file (const std::string& logical_file_name,
37  const std::string& search_path,
38  SearchType search_type = LocalSearch);
39 
49  static std::string find_file_from_list (const std::string& logical_file_name,
50  const std::string& search_list,
51  SearchType search_type = LocalSearch);
52 
53 
63  static std::string find_directory (const std::string& logical_file_name,
64  const std::string& search_path,
65  SearchType search_type = LocalSearch);
66 
76  static std::string find_directory_from_list (const std::string& logical_file_name,
77  const std::string& search_list,
78  SearchType search_type = LocalSearch);
79 
80 
88  static SearchPathStatus check_search_path (const std::string& search_path);
89 
90 
91 };
92 
93 GAUDI_API std::string PathResolverFindXMLFile (const std::string& logical_file_name);
95 
96 }
97 
98 #endif
Note: OS specific details for environment resolution.
Definition: Debugger.h:19
GAUDI_API std::string PathResolverFindXMLFile(const std::string &logical_file_name)
GAUDI_API std::string PathResolverFindDataFile(const std::string &logical_file_name)
STL class.
#define GAUDI_API
Definition: Kernel.h:107