| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

System::PathResolver Class Reference

#include <PathResolver.h>

List of all members.


Public Types

 Ok
 EnvironmentVariableUndefined
 UnknownDirectory
 LocalSearch
 RecursiveSearch
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)

Detailed Description

Definition at line 8 of file PathResolver.h.


Member Enumeration Documentation

enum System::PathResolver::SearchPathStatus

Enumerator:
Ok 
EnvironmentVariableUndefined 
UnknownDirectory 

Definition at line 11 of file PathResolver.h.

enum System::PathResolver::SearchType

Enumerator:
LocalSearch 
RecursiveSearch 

Definition at line 18 of file PathResolver.h.

00019     {
00020       LocalSearch,
00021       RecursiveSearch
00022     } SearchType;


Member Function Documentation

static std::string System::PathResolver::find_file ( const std::string &  logical_file_name,
const std::string &  search_path,
SearchType  search_type = LocalSearch 
) [static]

Returns:
the physical name of the located file or empty string if not found

static std::string System::PathResolver::find_file_from_list ( const std::string &  logical_file_name,
const std::string &  search_list,
SearchType  search_type = LocalSearch 
) [static]

Returns:
the physical name of the located file or empty string if not found

static std::string System::PathResolver::find_directory ( const std::string &  logical_file_name,
const std::string &  search_path,
SearchType  search_type = LocalSearch 
) [static]

Returns:
the physical name of the located directory or empty string if not found

static std::string System::PathResolver::find_directory_from_list ( const std::string &  logical_file_name,
const std::string &  search_list,
SearchType  search_type = LocalSearch 
) [static]

Returns:
the physical name of the located directory or empty string if not found

static SearchPathStatus System::PathResolver::check_search_path ( const std::string &  search_path  )  [static]

Returns:
the result of the verification. Can be one of Ok, EnvironmentVariableUndefined, UnknownDirectory


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:21 2011 for GaudiKernel by doxygen 1.4.7