| 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 {
 
   58       return (not boost::filesystem::exists(p));
 
   60     location_list.erase(new_end, location_list.end());
 
   66 namespace Configuration {
 
  
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
ELEMENTS_API Path::Item getConfigurationPath(const T &file_name, bool raise_exception=true)
provide functions to retrieve resources pointed by environment variables
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 getConfigurationVariableName()
retrieve the variable name used for the configuration file lookup
ELEMENTS_API std::vector< Path::Item > getConfigurationLocations(bool exist_only=false)
ELEMENTS_API std::vector< Path::Item > getLocations(bool exist_only=false)
alias for the getAuxiliaryLocations function
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)
provide functions to retrieve configuration files