|
Gromacs
2024.6
|
#include <filesystem>#include <string>#include <string_view>#include <utility>#include <vector>
Include dependency graph for path.h:
This graph shows which files directly or indirectly include this file:Declares functions for OS-independent path handling.
Functions | |
| std::vector < std::filesystem::path > | gmx::splitPathEnvironment (const std::string &pathEnv) |
| Split PATH environment variable into search paths. More... | |
|
std::vector < std::filesystem::path > | gmx::getSystemExecutablePaths () |
| Get collection of possible executable paths. | |
| std::string | gmx::stripSourcePrefix (const char *path) |
| Strip source prefix from path. | |
| std::filesystem::path | gmx::concatenateBeforeExtension (const std::filesystem::path &path, const std::string &addition) |
| Concatenate before extension. | |
| std::filesystem::path | gmx::stripExtension (const std::filesystem::path &path) |
| Remove extension from file path. | |
| bool | gmx::extensionMatches (const std::filesystem::path &path, std::string_view extension) |
Check if file extension of path without final '.' matches extension. | |
1.8.5