|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|


类 | |
| class | YSLib::IO::PathNorm |
| 文件路径范式。 更多... | |
| class | YSLib::IO::Path |
| 路径。 更多... | |
命名空间 | |
| YSLib | |
| YSLib::IO | |
类型定义 | |
| using | YSLib::IO::ypath = ystdex::path< vector< String >, PathNorm > |
函数 | |
| YSLib::IO::PDefH (String, GetExtensionOf, const string &path) ImplRet(String(path | |
| CS_Path PDefH(String, GetExtensionOf, const Path &pth) ImplRet(pth.empty()?String() | YSLib::IO::PDefH (bool, IsAbsolute, const string &path) ImplRet(IsAbsolute(path.c_str())) inline PDefH(bool |
| 取当前工作目录。 更多... | |
| CS_Path PDefH(String, GetExtensionOf, const Path &pth) ImplRet(pth.empty()?String() | YSLib::IO::IsAbsolute |
| CS_Path PDefH(String, GetExtensionOf, const Path &pth) ImplRet(pth.empty()?String() const String &path | YSLib::IO::ImplRet (IsAbsolute(path.GetMBCS(CS_Path))) inline PDefH(bool |
| 判断路径表示相对路径(包括空路径)。 更多... | |
| CS_Path PDefH(String, GetExtensionOf, const Path &pth) ImplRet(pth.empty()?String() const String &path const Path &pth | YSLib::IO::IsRelative |
| YSLib::IO::VerifyDirectory | |
| const String &path const Path &pth ImplRet(!pth.empty()&&VerifyDirectory(pth.GetString())) YF_API void EnsureDirectory(const Path &) ythrow(std PDefH(void, EnsureDirectory, const char *path) ythrow(std YF_API PathCategor | YSLib::IO::ClassifyPath )(const String &, ypath::norm &&=PathNorm()) |
| 验证路径表示的目录是否存在,若不存在则逐级创建。 更多... | |
| YSLib::IO::PDefH (bool, VerifyDirectory, const string &path) ImplRet(VerifyDirectory(path.c_str())) inline PDefH(bool | |
| const String &path | YSLib::IO::ImplRet (VerifyDirectory(path.GetMBCS(CS_Path))) inline PDefH(bool |
| YF_API NodeCategory | YSLib::IO::ClassifyNode (const Path &) |
| 按文件系统节点类别对路径分类。 更多... | |