#include <GFile.h>
Inheritance diagram for GDirectory:

Public Member Functions | |
| virtual int | First (char *Name, char *Pattern=LGI_ALL_FILES)=0 |
| Starts the search. The entries '.' and '..' are never returned. The default pattern returns all files. | |
| virtual int | Next ()=0 |
| Get the next match. | |
| virtual int | Close ()=0 |
| Finish the search. | |
| virtual bool | Path (char *s, int BufSize)=0 |
| Constructs the full path of the current directory entry. | |
| virtual long | GetAttributes ()=0 |
| Gets the current entries attributes (platform specific). | |
| virtual char * | GetName ()=0 |
| Gets the name of the current entry. (Doesn't include the path). | |
| virtual int | GetUser (bool Group)=0 |
| Gets the user id of the current entry. (Doesn't have any meaning on Win32). | |
| virtual const uint64 | GetCreationTime ()=0 |
| Gets the entries creation time. You can convert this to an easy to read for using GDateTime. | |
| virtual const uint64 | GetLastAccessTime ()=0 |
| Gets the entries last access time. You can convert this to an easy to read for using GDateTime. | |
| virtual const uint64 | GetLastWriteTime ()=0 |
| Gets the entries last modified time. You can convert this to an easy to read for using GDateTime. | |
| virtual const uint64 | GetSize ()=0 |
| Returns the size of the entry. | |
| virtual bool | IsDir ()=0 |
| Returns true if the entry is a sub-directory. | |
| virtual bool | IsReadOnly ()=0 |
| Returns true if the entry is read only. | |
| virtual bool | IsHidden ()=0 |
| Returns true if the entry is hidden. This is equivilant to a attribute flag on win32 and a leading '.' on unix. | |
| virtual GDirectory * | Clone ()=0 |
| Creates an copy of this type of GDirectory class. | |
| virtual int | GetType ()=0 |
| Gets the type code of the current entry. See the VT_?? defines for possible values. | |
| bool | ConvertToTime (char *Str, uint64 Time) |
| Converts a string to the 64-bit value returned from the date functions. | |
| bool | ConvertToDate (char *Str, uint64 Time) |
| Converts the 64-bit value returned from the date functions to a string. | |
|
|
Finish the search.
Implemented in GDirImpl. |
|
||||||||||||
|
Starts the search. The entries '.' and '..' are never returned. The default pattern returns all files.
Implemented in GDirImpl. |
|
|
Gets the user id of the current entry. (Doesn't have any meaning on Win32).
Implemented in GDirImpl. |
|
|
Get the next match.
Implemented in GDirImpl. |
|
||||||||||||
|
Constructs the full path of the current directory entry.
Implemented in GDirImpl. |
1.4.1