YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
目录句柄:表示打开的目录和内容迭代状态。 更多...
#include <FileSystem.h>
Public 成员函数 | |
HDirectory (const char *path) ynothrow | |
构造:使用目录路径。 更多... | |
const ynothrow ImplRet this HDirectory & | operator++ () |
迭代:向后遍历。 更多... | |
DefCvt (const ynothrow, bool, p_dirent) DefCvt(const | |
判断文件系统节点有效性。 更多... | |
GetName ()) const char *GetName() const ynothrow | |
间接操作:取节点名称。 更多... | |
NodeCategory | GetNodeCategory () const ynothrow |
取节点状态信息确定的文件系统节点类别。 更多... | |
PDefHOp (HDirectory &,*,) ynothrow ImplRet(*this) PDefHOp(const HDirectory & | |
间接操作:取自身引用。 更多... | |
Private 属性 | |
::dirent * | p_dirent |
节点信息。 更多... | |
额外继承的成员函数 | |
![]() | |
using | NativeHandle = ::DIR * |
![]() | |
DirectorySession (const char *path={}) | |
构造:打开目录路径。 更多... | |
DirectorySession (DirectorySession &&h) | |
~DirectorySession () | |
析构:关闭目录路径。 更多... | |
DefGetter (const ynothrow, NativeHandle, NativeHandle, dir) void Rewind() ynothrow | |
复位目录状态。 更多... | |
|
inlineexplicit |
构造:使用目录路径。
在文件 YCLib/FileSystem.h 第 478 行定义.
判断文件系统节点有效性。
const char * platform::HDirectory::GetName | ( | ) | const |
间接操作:取节点名称。
在文件 YCLib/FileSystem.cpp 第 532 行定义.
参考 p_dirent , 以及 CHRLib::strdup().
NodeCategory platform::HDirectory::GetNodeCategory | ( | ) | const |
取节点状态信息确定的文件系统节点类别。
在文件 YCLib/FileSystem.cpp 第 515 行定义.
参考 platform::Directory, platform::Empty, p_dirent , 以及 platform::Regular.
HDirectory & platform::HDirectory::operator++ | ( | ) |
迭代:向后遍历。
FileOperationFail | 读取目录失败。 |
FileOperationFail | 目录没有打开。 |
在文件 YCLib/FileSystem.cpp 第 504 行定义.
参考 p_dirent.
platform::HDirectory::PDefHOp | ( | HDirectory & | , |
* | |||
) | const |
|
private |
节点信息。
在文件 YCLib/FileSystem.h 第 460 行定义.
参考自 GetName(), GetNodeCategory() , 以及 operator++().