The SWORD Project
1.9.0.svnversion
|
#include <zverse4.h>
Public Member Functions | |
void | findOffset (char testmt, long idxoff, long *start, unsigned long *size, unsigned long *buffnum) const |
virtual void | rawZFilter (SWBuf &buf, char direction=0) const |
void | zReadText (char testmt, long start, unsigned long size, unsigned long buffnum, SWBuf &buf) const |
zVerse4 (const char *ipath, int fileMode=-1, int blockType=CHAPTERBLOCKS, SWCompress *icomp=0) | |
virtual | ~zVerse4 () |
Static Public Member Functions | |
static char | createModule (const char *path, int blockBound, const char *v11n="KJV") |
Static Public Attributes | |
static const char | uniqueIndexID [] = {'X', 'r', 'v', 'c', 'b'} |
Protected Member Functions | |
void | doLinkEntry (char testmt, long destidxoff, long srcidxoff) |
void | doSetText (char testmt, long idxoff, const char *buf, long len=0) |
void | flushCache () const |
Protected Attributes | |
char * | cacheBuf |
long | cacheBufIdx |
unsigned int | cacheBufSize |
char | cacheTestament |
FileDesc * | compfp [2] |
bool | dirtyCache |
FileDesc * | idxfp [2] |
char * | path |
FileDesc * | textfp [2] |
Static Protected Attributes | |
static int | instance = 0 |
Private Attributes | |
SWCompress * | compressor |
zVerse4::zVerse4 | ( | const char * | ipath, |
int | fileMode = -1 , |
||
int | blockType = CHAPTERBLOCKS , |
||
SWCompress * | icomp = 0 |
||
) |
Definition at line 61 of file zverse4.cpp.
|
virtual |
Definition at line 110 of file zverse4.cpp.
Definition at line 420 of file zverse4.cpp.
|
protected |
Definition at line 388 of file zverse4.cpp.
|
protected |
void zVerse4::findOffset | ( | char | testmt, |
long | idxoff, | ||
long * | start, | ||
unsigned long * | size, | ||
unsigned long * | buffnum | ||
) | const |
Definition at line 148 of file zverse4.cpp.
|
protected |
Definition at line 337 of file zverse4.cpp.
|
inlinevirtual |
void zVerse4::zReadText | ( | char | testmt, |
long | start, | ||
unsigned long | size, | ||
unsigned long | buffnum, | ||
SWBuf & | buf | ||
) | const |
Definition at line 204 of file zverse4.cpp.
|
private |
|
staticprotected |
|
static |