Elements  6.2
A C++ base framework for the Euclid Software.
Namespaces | Functions
Path.cpp File Reference
#include "ElementsKernel/Path.h"
#include <algorithm>
#include <map>
#include <string>
#include <vector>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include "ElementsKernel/Environment.h"
#include "ElementsKernel/System.h"
Include dependency graph for Path.cpp:

Go to the source code of this file.

Namespaces

 Elements
 
 Elements::Kernel
 
 Elements::Kernel::Path
 

Functions

ELEMENTS_API std::vector< Item > Elements::Kernel::Path::getLocationsFromEnv (const std::string &path_variable, bool exist_only=false)
 function to get the locations from an environment variable More...
 
ELEMENTS_API std::vector< Item > Elements::Kernel::Path::getLocations (const Type &path_type, bool exist_only=false)
 function to get the locations for the specific type More...
 
ELEMENTS_API std::vector< Item > Elements::Kernel::Path::splitPath (const std::string &path_string)
 split a string into a vector of path using PATH_SEP More...
 
template ELEMENTS_API Item Elements::Kernel::Path::getPathFromLocations (const Item &file_name, const std::vector< Item > &locations)
 
template ELEMENTS_API Item Elements::Kernel::Path::getPathFromLocations (const Item &file_name, const std::vector< std::string > &locations)
 
template ELEMENTS_API Item Elements::Kernel::Path::getPathFromLocations (const std::string &file_name, const std::vector< Item > &locations)
 
template ELEMENTS_API Item Elements::Kernel::Path::getPathFromLocations (const std::string &file_name, const std::vector< std::string > &locations)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::getAllPathFromLocations (const Item &file_name, const std::vector< Item > &locations)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::getAllPathFromLocations (const Item &file_name, const std::vector< std::string > &locations)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::getAllPathFromLocations (const std::string &file_name, const std::vector< Item > &locations)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::getAllPathFromLocations (const std::string &file_name, const std::vector< std::string > &locations)
 
template ELEMENTS_API Item Elements::Kernel::Path::getPathFromEnvVariable< Item > (const Item &file_name, const std::string &path_variable)
 
template Item Elements::Kernel::Path::getPathFromEnvVariable< string > (const string &file_name, const string &path_variable)
 
template ELEMENTS_API std::string Elements::Kernel::Path::joinPath (const std::vector< Item > &path_list)
 
template ELEMENTS_API std::string Elements::Kernel::Path::joinPath (const std::vector< std::string > &path_list)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::multiPathAppend (const std::vector< Item > &initial_locations, const std::vector< Item > &suffixes)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::multiPathAppend (const std::vector< Item > &initial_locations, const std::vector< std::string > &suffixes)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::multiPathAppend (const std::vector< std::string > &initial_locations, const std::vector< Item > &suffixes)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::multiPathAppend (const std::vector< std::string > &initial_locations, const std::vector< std::string > &suffixes)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::removeDuplicates (const std::vector< Item > &path_list)
 
template ELEMENTS_API std::vector< Item > Elements::Kernel::Path::removeDuplicates (const std::vector< std::string > &path_list)
 

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.