BOSS 7.1.0
BESIII Offline Software System
|
#include "HltTools/PathResolver.h"
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <vector>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
Go to the source code of this file.
Enumerations | |
enum | PR_file_type { PR_regular_file , PR_directory } |
enum | PR_search_type { PR_local , PR_recursive } |
Functions | |
PathResolver::SearchPathStatus | PathResolverCheckSearchPath (const std::string &search_path) |
std::string | PathResolverFindDirectory (const std::string &logical_file_name, const std::string &search_path) |
std::string | PathResolverFindDirectoryFromList (const std::string &logical_file_name, const std::string &search_list) |
std::string | PathResolverFindFile (const std::string &logical_file_name, const std::string &search_path) |
std::string | PathResolverFindFileFromList (const std::string &logical_file_name, const std::string &search_list) |
std::string | PathResolverFindXMLFile (const std::string &logical_file_name) |
std::string | PathResolverFindDataFile (const std::string &logical_file_name) |
enum PR_file_type |
Enumerator | |
---|---|
PR_regular_file | |
PR_directory |
Definition at line 22 of file PathResolver.cxx.
enum PR_search_type |
Enumerator | |
---|---|
PR_local | |
PR_recursive |
Definition at line 28 of file PathResolver.cxx.
PathResolver::SearchPathStatus PathResolverCheckSearchPath | ( | const std::string & | search_path | ) |
Definition at line 653 of file PathResolver.cxx.
std::string PathResolverFindDataFile | ( | const std::string & | logical_file_name | ) |
Definition at line 687 of file PathResolver.cxx.
std::string PathResolverFindDirectory | ( | const std::string & | logical_file_name, |
const std::string & | search_path | ||
) |
Definition at line 658 of file PathResolver.cxx.
Referenced by main().
std::string PathResolverFindDirectoryFromList | ( | const std::string & | logical_file_name, |
const std::string & | search_list | ||
) |
Definition at line 664 of file PathResolver.cxx.
std::string PathResolverFindFile | ( | const std::string & | logical_file_name, |
const std::string & | search_path | ||
) |
Definition at line 670 of file PathResolver.cxx.
Referenced by main().
std::string PathResolverFindFileFromList | ( | const std::string & | logical_file_name, |
const std::string & | search_list | ||
) |
Definition at line 676 of file PathResolver.cxx.
std::string PathResolverFindXMLFile | ( | const std::string & | logical_file_name | ) |
Definition at line 682 of file PathResolver.cxx.