30 #ifndef SYSTEM_UTIL_FILE_UTIL_H_ 31 #define SYSTEM_UTIL_FILE_UTIL_H_ 35 #include <boost/filesystem/path.hpp> 36 #include <boost/filesystem/operations.hpp> 37 #include <boost/filesystem/fstream.hpp> 42 #if BOOST_FILESYSTEM_VERSION == 2 43 typedef boost::filesystem::basic_filesystem_error<boost::filesystem::path>
PathException;
57 boost::filesystem::path
const path,
58 boost::filesystem::path
const base);
67 std::vector<std::string>
load_all_files(
const std::string& path, std::string& directory);
80 std::vector<std::string>
Find(
81 const std::string& path,
82 const std::string& expression,
86 #endif // SYSTEM_UTIL_FILE_UTIL_H_ boost::filesystem::filesystem_error PathException
std::vector< std::string > Find(const std::string &path, const std::string &expression, int max_depth=-1)
boost::filesystem::path NaiveUncomplete(boost::filesystem::path const path, boost::filesystem::path const base)
std::vector< std::string > load_all_files(const std::string &path, std::string &directory)