|
The SWORD Project
1.9.0.svnversion
|
#include <zverse.h>
Inheritance diagram for zVerse:
Collaboration diagram for zVerse:Public Member Functions | |
| void | findOffset (char testmt, long idxoff, long *start, unsigned short *size, unsigned long *buffnum) const |
| virtual void | rawZFilter (SWBuf &buf, char direction=0) const |
| void | zReadText (char testmt, long start, unsigned short size, unsigned long buffnum, SWBuf &buf) const |
| zVerse (const char *ipath, int fileMode=-1, int blockType=CHAPTERBLOCKS, SWCompress *icomp=0) | |
| virtual | ~zVerse () |
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 |
| zVerse::zVerse | ( | const char * | ipath, |
| int | fileMode = -1, |
||
| int | blockType = CHAPTERBLOCKS, |
||
| SWCompress * | icomp = 0 |
||
| ) |
Definition at line 63 of file zverse.cpp.
|
virtual |
Definition at line 112 of file zverse.cpp.
Definition at line 426 of file zverse.cpp.
|
protected |
Definition at line 394 of file zverse.cpp.
|
protected |
| void zVerse::findOffset | ( | char | testmt, |
| long | idxoff, | ||
| long * | start, | ||
| unsigned short * | size, | ||
| unsigned long * | buffnum | ||
| ) | const |
Definition at line 150 of file zverse.cpp.
|
protected |
Definition at line 339 of file zverse.cpp.
|
inlinevirtual |
| void zVerse::zReadText | ( | char | testmt, |
| long | start, | ||
| unsigned short | size, | ||
| unsigned long | buffnum, | ||
| SWBuf & | buf | ||
| ) | const |
Definition at line 206 of file zverse.cpp.
|
private |
|
staticprotected |
|
static |