|
Public Member Functions |
| zStr (const char *ipath, int fileMode=-1, long blockCount=100, SWCompress *icomp=0) |
signed char | findKeyIndex (const char *ikey, long *idxoff, long away=0) |
void | getText (long index, char **idxbuf, char **buf) |
void | setText (const char *ikey, const char *buf, long len=-1) |
void | linkEntry (const char *destkey, const char *srckey) |
virtual void | rawZFilter (SWBuf &buf, char direction=0) |
Static Public Member Functions |
static signed char | createModule (const char *path) |
Public Attributes |
char | nl |
Protected Member Functions |
void | getCompressedText (long block, long entry, char **buf) |
void | flushCache () |
void | prepText (SWBuf &buf) |
void | getKeyFromDatOffset (long ioffset, char **buf) |
void | getKeyFromIdxOffset (long ioffset, char **buf) |
Protected Attributes |
FileDesc * | idxfd |
FileDesc * | datfd |
FileDesc * | zdxfd |
FileDesc * | zdtfd |
Static Protected Attributes |
static const int | IDXENTRYSIZE |
static const int | ZDXENTRYSIZE |
Private Attributes |
EntriesBlock * | cacheBlock |
long | cacheBlockIndex |
bool | cacheDirty |
char * | path |
long | lastoff |
long | blockCount |
SWCompress * | compressor |
Static Private Attributes |
static int | instance |