1
/******************************************************************************
2
* rawverse.h - code for class 'RawVerse'- a module that reads raw text
3
* files: ot and nt using indexs ??.bks ??.cps ??.vss
4
* and provides lookup and parsing functions based on
19
class SWDLLEXPORT RawVerse {
20
static int instance; // number of instantiated RawVerse objects or derivitives
26
void prepText(SWBuf &buf);
27
void doSetText(char testmt, long idxoff, const char *buf, long len = -1);
28
void doLinkEntry(char testmt, long destidxoff, long srcidxoff);
31
static const char *nl;
32
RawVerse(const char *ipath, int fileMode = -1);
34
void findOffset(char testmt, long idxoff, long *start, unsigned short *end);
35
void readText(char testmt, long start, unsigned short size, SWBuf &buf);
36
static char createModule(const char *path);