1 #ifndef JOBOPTIONS_DIRSEARCHPATH_H
2 #define JOBOPTIONS_DIRSEARCHPATH_H
10 #include "boost/filesystem/path.hpp"
11 #include "boost/filesystem/exception.hpp"
35 bool add(
const path& dir);
45 bool find(
const path&
file, path& fileFound)
const;
54 static bool existsDir(
const path& dir);
62 bool operator() (
const path& p)
const {
63 return p.string() == m_ref.string();
81 #endif // JOBOPTIONS_DIRSEARCHPATH_H
search for files in a list of directories
boost::filesystem::path path
std::vector< path > m_dirs
the dir container
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram