26 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_PATHSEARCH_H_ 27 #define ELEMENTSKERNEL_ELEMENTSKERNEL_PATHSEARCH_H_ 31 #include <boost/filesystem.hpp> 104 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_PATHSEARCH_H_
ELEMENTS_API std::vector< T > pathSearch(const std::string &searched_name, T directory, SearchType search_type)
Searches for a file or a directory in a directory. The search can be recursive (SearchType....
defines the macros to be used for explicit export of the symbols
boost::filesystem::path path
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
ELEMENTS_API std::vector< boost::filesystem::path > pathSearchInEnvVariable(const std::string &file_name, const std::string &path_like_env_variable, SearchType search_type=SearchType::Recursive)
Searches for a file or a directory in a path pointed by an environment variable. It can contains coll...