|
SimpleWindow
|
用于处理文件路径的工具类 更多...
#include <Path.h>
静态 Public 成员函数 | |
| static std::wstring | GetFileName (const std::wstring &path) |
| 获取文件名 | |
| static std::wstring | GetFileNameWithoutExt (const std::wstring &path) |
| 获取文件名 | |
| static std::wstring | GetExtension (const std::wstring &path) |
| 获取扩展名 | |
| static std::wstring | GetDirectory (const std::wstring &path) |
| 获取文件所在路径 | |
| static std::wstring | Combine (std::initializer_list< std::wstring > paths) |
| 对路径进行拼接 | |
| template<typename... Args> | |
| static std::wstring | Combine (const std::wstring &first, const Args &...rest) |
| 对路径进行拼接 | |
| static std::wstring | GetAbsolutePath (const std::wstring &path) |
| 获取路径所对应的绝对路径 | |
用于处理文件路径的工具类
|
inlinestatic |
对路径进行拼接
| first | 第一个路径 |
| rest | 要拼接的路径 |
|
static |
对路径进行拼接
| paths | 要拼接的路径 |
获取路径所对应的绝对路径
| paths | 要转换的路径 |
获取文件所在路径
| path | 文件的路径 |
获取扩展名
| path | 文件的路径 |
获取文件名
| path | 文件的路径 |
获取文件名
| path | 文件的路径 |