BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
PathResolver.h File Reference
#include <string>

Go to the source code of this file.

Classes

class  PathResolver
 

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)
 

Function Documentation

◆ PathResolverCheckSearchPath()

PathResolver::SearchPathStatus PathResolverCheckSearchPath ( const std::string &  search_path)

Definition at line 653 of file PathResolver.cxx.

654 {
655 return PathResolver::check_search_path (search_path);
656 }
static SearchPathStatus check_search_path(const std::string &search_path)

◆ PathResolverFindDataFile()

std::string PathResolverFindDataFile ( const std::string &  logical_file_name)

Definition at line 687 of file PathResolver.cxx.

688 {
689 return PathResolver::find_file (logical_file_name, "DATAPATH");
690 }
static std::string find_file(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)

◆ PathResolverFindDirectory()

std::string PathResolverFindDirectory ( const std::string &  logical_file_name,
const std::string &  search_path 
)

Definition at line 658 of file PathResolver.cxx.

660 {
661 return PathResolver::find_directory (logical_file_name, search_path);
662 }
static std::string find_directory(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)

Referenced by main().

◆ PathResolverFindDirectoryFromList()

std::string PathResolverFindDirectoryFromList ( const std::string &  logical_file_name,
const std::string &  search_list 
)

Definition at line 664 of file PathResolver.cxx.

666 {
667 return PathResolver::find_directory_from_list (logical_file_name, search_list);
668 }
static std::string find_directory_from_list(const std::string &logical_file_name, const std::string &search_list, SearchType search_type=LocalSearch)

◆ PathResolverFindFile()

std::string PathResolverFindFile ( const std::string &  logical_file_name,
const std::string &  search_path 
)

Definition at line 670 of file PathResolver.cxx.

672 {
673 return PathResolver::find_file (logical_file_name, search_path);
674 }

Referenced by main().

◆ PathResolverFindFileFromList()

std::string PathResolverFindFileFromList ( const std::string &  logical_file_name,
const std::string &  search_list 
)

Definition at line 676 of file PathResolver.cxx.

678 {
679 return PathResolver::find_file_from_list (logical_file_name, search_list);
680 }
static std::string find_file_from_list(const std::string &logical_file_name, const std::string &search_list, SearchType search_type=LocalSearch)

◆ PathResolverFindXMLFile()

std::string PathResolverFindXMLFile ( const std::string &  logical_file_name)

Definition at line 682 of file PathResolver.cxx.

683 {
684 return PathResolver::find_file (logical_file_name, "XMLPATH");
685 }