|
C/C++ Reference
|
Directory handle for a directory opened with IoIntf_OpenDir. More...
#include <IoIntf.h>

Public Attributes | |
| DirIntf_Read | readFp |
| Iterate the resources in the file system. | |
| DirIntf_GetName | getNameFp |
| Get resource name. | |
| DirIntf_Stat | statFp |
| Get resource information. | |
Directory handle for a directory opened with IoIntf_OpenDir.
Example:
DirIntfPtr dir = io->openDirFp(io, relPath, &status, 0); if(dir) { while ( ! dir->readFp(dir) ) { IoStat st; const char* name = dir->getNameFp(dir); dir->statFp(dir, &st); } } io->closeDirFp(io, &dir);