Directory scanning class. More...
Derived from: | None |
Derived by: | None |
Group: | IO Data (Core) |
#include <ClanLib/core.h>
Class Members:
Construction: | |
Constructs directory scanner for iterating over a directory. |
| |
Gets the directory being scanned. | |
Gets the name of the current file. | |
Gets the size of the current file. | |
Gets the pathname of the current file. | |
Returns true if the current file is a directory. | |
Returns true if the file is hidden. | |
Returns true if the file is readable by the current user. | |
Returns true if the file is writable by the current user. |
| |
Selects the directory to scan through. | |
Find next file in directory scan. |
Detailed description:
CL_DirectoryScanner is used to parse through directory trees and return information about files.Example that prints all files and directories found in the root directory: