|
The SWORD Project
1.9.0.svnversion
|
#include <filemgr.h>
Collaboration diagram for FileDesc:Public Member Functions | |
| int | getFd () |
| long | read (void *buf, long count) |
| long | seek (long offset, int whence) |
| long | write (const void *buf, long count) |
Public Attributes | |
| int | mode |
| char * | path |
| int | perms |
| bool | tryDowngrade |
Private Member Functions | |
| FileDesc (FileMgr *parent, const char *path, int mode, int perms, bool tryDowngrade) | |
| virtual | ~FileDesc () |
Private Attributes | |
| int | fd |
| FileDesc * | next |
| long | offset |
| FileMgr * | parent |
Friends | |
| class | FileMgr |
This class represents one file. It works with the FileMgr object.
|
private |
Definition at line 122 of file filemgr.cpp.
|
privatevirtual |
Definition at line 134 of file filemgr.cpp.
|
inline |
| long FileDesc::read | ( | void * | buf, |
| long | count | ||
| ) |
Definition at line 148 of file filemgr.cpp.
| long FileDesc::seek | ( | long | offset, |
| int | whence | ||
| ) |
Definition at line 143 of file filemgr.cpp.
| long FileDesc::write | ( | const void * | buf, |
| long | count | ||
| ) |
Definition at line 153 of file filemgr.cpp.