Elements
5.12
A C++ base framework for the Euclid Software.
|
Go to the documentation of this file.
31 #include <boost/filesystem/operations.hpp>
63 return (not boost::filesystem::exists(p));
65 location_list.erase(new_end, location_list.end());
This file is intended to iron out all the differences between systems (currently Linux and MacOSX)
provide functions to retrieve resources pointed by environment variables
boost::filesystem::path Item
ELEMENTS_API std::vector< Path::Item > getAuxiliaryLocations(bool exist_only=false)
ELEMENTS_API std::vector< Item > getLocations(const Type &path_type, bool exist_only=false)
function to get the locations for the specific type
ELEMENTS_API Path::Item getAuxiliaryPath(const T &file_name, bool raise_exception=true)
provide functions to retrieve auxiliary files
ELEMENTS_API std::string getAuxiliaryVariableName()
ELEMENTS_API const std::map< Type, const std::string > VARIABLE
map containing the name of the path variable for each type
const std::string DEFAULT_INSTALL_PREFIX
constant for the canonical installation prefix (on Linux and MacOSX at least)