|
golib
0.5
|
Handling of file directories. More...
#include <godirectory.h>
Public Member Functions | |
| void | open (goString &s) |
| void | open (const char *s) |
| void | close () |
| void | readEntries () |
| bool | fail () |
| Returns true if last operation failed. | |
| goArray< goString * > & | getEntries () |
| bool | isUnknown (int index) |
| bool | isDir (int index) |
| This does not work all times, uses S_ISDIR POSIX macro. | |
| bool | isFile (int index) |
| This does not work all times, uses S_ISREG POSIX macro. | |
| bool | isLink (int index) |
| This does not work all times, uses S_ISLNK POSIX macro. | |
Static Public Member Functions | |
| static bool | test (const char *dir_name) |
| Returns true if dir_name can be accessed as a directory. | |
Protected Attributes | |
| bool | last_failed |
| DIR * | dir |
| goString | dirName |
| goArray< goString * > | entries |
| goArray< int > | types |
Handling of file directories.