|
| static std::string | absolute_path (std::string path) |
| | Returns the absolute file system path for the given path. More...
|
| |
| static std::string | add_trailing_slash (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Add trailing slash or backslash to path. More...
|
| |
| static std::string | basepath (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Returns a new path with the last path component removed. More...
|
| |
| static std::string | combine (const std::string &part1, const std::string &part2, FilePathType path_type=FilePathType::file_system) |
| | Concatenates two strings into one adding a trailing slash to first string if missing. More...
|
| |
| static std::string | extension (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Returns the extension part (includes the dot) of a path. More...
|
| |
| static std::string | filename (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Returns the filename part of a path. More...
|
| |
| static std::string | filename_without_extension (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Returns the filename part without the extension. More...
|
| |
| static bool | has_extension (const std::string &path, const std::string &extension, FilePathType path_type=FilePathType::file_system) |
| | Checks if the path has the specified extension. More...
|
| |
| static bool | is_absolute (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Check if a path is absolute. More...
|
| |
| static bool | is_relative (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Check if a path is relative. More...
|
| |
| static std::string | location (const std::string &path) |
| | Returns the drive (C:) or share name ( \ \ computer \ share) More...
|
| |
| static std::string | make_absolute (const std::string &base_path, const std::string &relative_path, FilePathType path_type=FilePathType::file_system) |
| | Changes a path to be relative to the specified base path, if possible. More...
|
| |
| static std::string | make_relative (const std::string &base_path, const std::string &absolute_path, FilePathType path_type=FilePathType::file_system) |
| | Changes a path to be relative to the specified base path, if possible. More...
|
| |
| static std::string | normalize (const std::string &path, FilePathType path_type=FilePathType::file_system) |
| | Normalize a path. More...
|
| |
| static std::string | remove_trailing_slash (const std::string &path) |
| | Remove trailing slash or backslash from path. More...
|
| |