The Sword Project: sword::FileDesc Class Reference |
#include <filemgr.h>
Collaboration diagram for sword::FileDesc:
Public Member Functions | |
int | getFd () |
| |
long | seek (long offset, int whence) |
long | read (void *buf, long count) |
long | write (const void *buf, long count) |
Public Attributes | |
char * | path |
Path to file. | |
int | mode |
File access mode. | |
int | perms |
File permissions. | |
bool | tryDowngrade |
Private Member Functions | |
FileDesc (FileMgr *parent, const char *path, int mode, int perms, bool tryDowngrade) | |
Private Attributes | |
long | offset |
int | fd |
FileMgr * | parent |
FileDesc * | next |
Friends | |
class | FileMgr |
It works with the FileMgr object.
Definition at line 45 of file filemgr.h.
The SWORD Project; P. O. Box 2528; Tempe, AZ 85280-2528 USA |