FileDesc Class Reference
#include <filemgr.h>
List of all members.
Detailed Description
This class represents one file. It works with the FileMgr object.
Definition at line 45 of file filemgr.h.
Constructor & Destructor Documentation
| FileDesc::FileDesc |
( |
FileMgr * |
parent, |
|
|
const char * |
path, |
|
|
int |
mode, |
|
|
int |
perms, |
|
|
bool |
tryDowngrade | |
|
) |
| | [private] |
| FileDesc::~FileDesc |
( |
|
) |
[private, virtual] |
Definition at line 124 of file filemgr.cpp.
00124 {
00125 if (fd > 0)
00126 close(fd);
00127
00128 if (path)
00129 delete [] path;
00130 }
Member Function Documentation
| long FileDesc::read |
( |
void * |
buf, |
|
|
long |
count | |
|
) |
| | |
| long FileDesc::seek |
( |
long |
offset, |
|
|
int |
whence | |
|
) |
| | |
| long FileDesc::write |
( |
const void * |
buf, |
|
|
long |
count | |
|
) |
| | |
Friends And Related Function Documentation
Member Data Documentation
File access mode.
Definition at line 71 of file filemgr.h.
File permissions.
Definition at line 74 of file filemgr.h.
The documentation for this class was generated from the following files: