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