#include <gauge3d/files/diskdirectory.h>
Inherits GAUGE3D::GDirectory.
Public Methods | |
| GDiskDirectory () | |
| Create without opening a directory. | |
| GDiskDirectory (GString dirname) | |
| Create and open the given directory. | |
| virtual | ~GDiskDirectory () |
| Close the directory. | |
| bool | Open (GString dirname) |
| Opens a particular directory. More... | |
| void | Close () |
| Closes the directory. | |
| bool | IsOpen () |
| Returns true if the directory is open. | |
| virtual GArray<GString> | ListFiles () |
| Get a list of all the files in the directory. | |
| virtual GArray<GString> | ListSubdirs () |
| Get a list of all the subdirectories of the directory. | |
| virtual pGFile | OpenFile (GString name) |
| Get a pointer to a file in the directory. More... | |
| virtual pGDirectory | OpenSubdir (GString name) |
| Get a pointer to a sub directory in the directory. More... | |
| virtual pGFile | AddFile (GString name) |
| Create a new file in the directory. More... | |
| virtual pGDirectory | AddSubdir (GString name) |
| Create a new sub directory to the directory. More... | |
| virtual void | RemoveFile (GString name) |
| Remove a file from the dircetory. | |
| virtual void | RemoveDirectory (GString name) |
| Remove a sub directory from the directory (recursively if necessary). | |
GDiskDirectory is an actual file on the hard drive or other disk.
|
|
Opens a particular directory.
|
|
|
Get a pointer to a file in the directory.
Reimplemented from GAUGE3D::GDirectory. |
|
|
Get a pointer to a sub directory in the directory.
Reimplemented from GAUGE3D::GDirectory. |
|
|
Create a new file in the directory.
Reimplemented from GAUGE3D::GDirectory. |
|
|
Create a new sub directory to the directory.
Reimplemented from GAUGE3D::GDirectory. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000