dune-common
2.2.0
|
00001 // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 // vi: set ts=8 sw=2 et sts=2: 00003 #ifndef DUNE_COMMON_PATH_HH 00004 #define DUNE_COMMON_PATH_HH 00005 00006 #include <string> 00007 00008 namespace Dune { 00021 00022 00050 std::string concatPaths(const std::string& base, const std::string& p); 00051 00053 00097 std::string processPath(const std::string& p); 00098 00100 00108 bool pathIndicatesDirectory(const std::string& p); 00109 00111 00150 std::string prettyPath(const std::string& p, bool isDirectory); 00151 00153 00159 std::string prettyPath(const std::string& p); 00160 00162 00178 std::string relativePath(const std::string& newbase, const std::string& p); 00179 00181 } 00182 00183 #endif // DUNE_COMMON_PATH_HH