List of all members.
Public Types |
enum | OpenMode {
ReadOnly,
WriteEmpty,
WriteExists,
WriteAny,
WriteTemp,
ReadOnlyGzip,
WriteAtomic
} |
Public Member Functions |
bool | Read (void *To, unsigned long Size, bool AllowEof) |
bool | Read (void *To, unsigned long Size, unsigned long *Actual=0) |
bool | Write (const void *From, unsigned long Size) |
bool | Seek (unsigned long To) |
bool | Skip (unsigned long To) |
bool | Truncate (unsigned long To) |
unsigned long | Tell () |
unsigned long | Size () |
unsigned long | FileSize () |
bool | Open (string FileName, OpenMode Mode, unsigned long Perms=0666) |
bool | OpenDescriptor (int Fd, OpenMode Mode, bool AutoClose=false) |
bool | Close () |
bool | Sync () |
int | Fd () |
void | Fd (int fd) |
gzFile | gzFd () |
bool | IsOpen () |
bool | Failed () |
void | EraseOnFailure () |
void | OpFail () |
bool | Eof () |
string & | Name () |
| FileFd (string FileName, OpenMode Mode, unsigned long Perms=0666) |
| FileFd (int Fd=-1) |
| FileFd (int Fd, bool) |
Protected Types |
enum | LocalFlags {
AutoClose = (1<<0),
Fail = (1<<1),
DelOnFail = (1<<2),
HitEof = (1<<3),
Replace = (1<<4)
} |
Protected Attributes |
int | iFd |
unsigned long | Flags |
string | FileName |
string | TemporaryFileName |
gzFile | gz |
The documentation for this class was generated from the following files:
- /build/buildd/apt-0.8.13.2ubuntu4.3/apt-pkg/contrib/fileutl.h
- /build/buildd/apt-0.8.13.2ubuntu4.3/apt-pkg/acquire-item.cc
- /build/buildd/apt-0.8.13.2ubuntu4.3/apt-pkg/contrib/fileutl.cc