11 #ifndef JOBOPTIONS_DIRSEARCHPATH_H 12 #define JOBOPTIONS_DIRSEARCHPATH_H 18 #include "boost/filesystem/exception.hpp" 19 #include "boost/filesystem/path.hpp" 55 bool find(
const path& file,
path& fileFound )
const;
62 static bool existsDir(
const std::string& dirName );
63 static bool existsDir(
const path& dir );
71 bool operator()(
const path& p )
const {
return p.string() == m_ref.string(); }
89 #endif // JOBOPTIONS_DIRSEARCHPATH_H
bool operator()(const path &p) const
search for files in a list of directories
boost::filesystem::path path
std::vector< path > m_dirs
the dir container