Elements  5.8
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Namespaces | Functions
Path.cpp File Reference
#include "ElementsKernel/Path.h"
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include "ElementsKernel/System.h"
Include dependency graph for Path.cpp:

Go to the source code of this file.

Namespaces

 Elements
 
 Elements::Path
 

Functions

ELEMENTS_API std::vector
< boost::filesystem::path > 
Elements::Path::getLocationsFromEnv (const std::string &path_variable, bool exist_only=false)
 function to get the locations from an environment variable More...
 
template path Elements::Path::getPathFromLocations (const path &file_name, const vector< path > &locations)
 
template path Elements::Path::getPathFromLocations (const path &file_name, const vector< string > &locations)
 
template path Elements::Path::getPathFromLocations (const string &file_name, const vector< path > &locations)
 
template ELEMENTS_API
boost::filesystem::path 
Elements::Path::getPathFromLocations (const std::string &file_name, const std::vector< std::string > &locations)
 
template vector< path > Elements::Path::getAllPathFromLocations (const path &file_name, const vector< path > &locations)
 
template vector< path > Elements::Path::getAllPathFromLocations (const path &file_name, const vector< string > &locations)
 
template vector< path > Elements::Path::getAllPathFromLocations (const string &file_name, const vector< path > &locations)
 
template ELEMENTS_API
std::vector
< boost::filesystem::path > 
Elements::Path::getAllPathFromLocations (const std::string &file_name, const std::vector< std::string > &locations)
 
template path Elements::Path::getPathFromEnvVariable< path > (const path &file_name, const string &path_variable)
 
template path Elements::Path::getPathFromEnvVariable< string > (const string &file_name, const string &path_variable)
 
template vector< path > Elements::Path::multiPathAppend (const vector< path > &initial_locations, const vector< path > &suffixes)
 
template vector< path > Elements::Path::multiPathAppend (const vector< path > &initial_locations, const vector< string > &suffixes)
 
template vector< path > Elements::Path::multiPathAppend (const vector< string > &initial_locations, const vector< path > &suffixes)
 
template ELEMENTS_API
std::vector
< boost::filesystem::path > 
Elements::Path::multiPathAppend (const std::vector< std::string > &initial_locations, const std::vector< std::string > &suffixes)
 

Detailed Description

Date
May 13, 2016
Author
Hubert Degaudenzi

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file Path.cpp.