dune-common  2.2.1
path.hh
Go to the documentation of this file.
1 // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set ts=8 sw=2 et sts=2:
3 #ifndef DUNE_COMMON_PATH_HH
4 #define DUNE_COMMON_PATH_HH
5 
6 #include <string>
7 
8 namespace Dune {
21 
22 
50  std::string concatPaths(const std::string& base, const std::string& p);
51 
53 
97  std::string processPath(const std::string& p);
98 
100 
108  bool pathIndicatesDirectory(const std::string& p);
109 
111 
150  std::string prettyPath(const std::string& p, bool isDirectory);
151 
153 
159  std::string prettyPath(const std::string& p);
160 
162 
178  std::string relativePath(const std::string& newbase, const std::string& p);
179 
181 }
182 
183 #endif // DUNE_COMMON_PATH_HH