31 #include <boost/filesystem/operations.hpp> 32 #include <boost/filesystem/path.hpp> 65 return (not boost::filesystem::exists(p));
67 location_list.erase(new_end, location_list.end());
ELEMENTS_API std::vector< boost::filesystem::path > getAuxiliaryLocations(bool exist_only=false)
provide functions to retrieve auxiliary files
ELEMENTS_API const std::map< Type, const std::string > VARIABLE
map containing the name of the path variable for each type
ELEMENTS_API boost::filesystem::path getAuxiliaryPath(const T &file_name, bool raise_exception=true)
ELEMENTS_API std::string getAuxiliaryVariableName()
This file is intended to iron out all the differences between systems (currently Linux and MacOSX)
boost::filesystem::path path
provide functions to retrieve resources pointed by environment variables
const std::string DEFAULT_INSTALL_PREFIX
constant for the canonical installation prefix (on Linux and MacOSX at least)
ELEMENTS_API std::vector< boost::filesystem::path > getLocationsFromEnv(const std::string &path_variable, bool exist_only=false)
function to get the locations from an environment variable