Elements
5.8
A C++ base framework for the Euclid Software.
|
implementation of the templates declared in ElementsKernel/Path.h More...
#include <string>
#include <vector>
#include <set>
#include <algorithm>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string/join.hpp>
Go to the source code of this file.
Namespaces | |
Elements | |
Elements::Path | |
Macros | |
#define | ELEMENTSKERNEL__IMPL_PATH_ICPP_ |
Functions | |
template<typename T , typename U > | |
boost::filesystem::path | Elements::Path::getPathFromLocations (const T &file_name, const std::vector< U > &locations) |
retrieve path from a file name and a set of location to look into More... | |
template<typename T , typename U > | |
std::vector < boost::filesystem::path > | Elements::Path::getAllPathFromLocations (const T &file_name, const std::vector< U > &locations) |
retrieve all the paths from a file name and a set of location to look into More... | |
template<typename T > | |
boost::filesystem::path | Elements::Path::getPathFromEnvVariable (const T &file_name, const std::string &path_variable) |
retrieve path from a file name and an environment variable to look into More... | |
template<typename T > | |
std::string | Elements::Path::joinPath (const std::vector< T > path_list) |
collate a vector of path into a string using PATH_SEP More... | |
template<typename T , typename U > | |
std::vector < boost::filesystem::path > | Elements::Path::multiPathAppend (const std::vector< T > &initial_locations, const std::vector< U > &suffixes) |
implementation of the templates declared in ElementsKernel/Path.h
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.icpp.