46 zLD::zLD(
const char *ipath,
const char *iname,
const char *idesc,
long blockCount,
SWCompress *icomp,
SWDisplay *idisp,
SWTextEncoding enc,
SWTextDirection dir,
SWTextMarkup mark,
const char* ilang,
bool caseSensitive,
bool strongsPadding) :
zStr(ipath, -1, blockCount, icomp, caseSensitive),
SWLD(iname, idesc, idisp, enc, dir, mark, ilang, strongsPadding) {
80 char *buf =
new char [ strlen(*
key) + 6 ];
88 size = strlen(ebuf) + 1;
147 char *buf =
new char [ strlen(*
key) + 6 ];
159 char *buf =
new char [ strlen(*
key) + 6 ];
177 char *buf =
new char [ strlen(*
key) + 6 ];
198 char *buf =
new char [ strlen(key) + 6 ];
#define SWORD_NAMESPACE_START
long seek(long offset, int whence)
virtual void setEntry(const char *inbuf, long len=-1)
static void strongsPad(char *buf)
virtual void deleteEntry()
static void prepText(SWBuf &buf)
virtual void rawFilter(SWBuf &buf, const SWKey *key) const
void getKeyFromIdxOffset(long ioffset, char **buf) const
virtual void linkEntry(const SWKey *linkKey)
virtual SWBuf & getRawEntryBuf() const
virtual bool isWritable() const
signed char findKeyIndex(const char *ikey, long *idxoff, long away=0) const
SWORD_NAMESPACE_START char * stdstr(char **ipstr, const char *istr, unsigned int memPadFactor=1)
void setText(const char *ikey, const char *buf, long len=-1)
char getEntry(long away=0) const
virtual long getEntryForKey(const char *key) const
virtual char * getKeyForEntry(long entry) const
#define KEYERR_OUTOFBOUNDS
virtual void increment(int steps=1)
void getText(long index, char **idxbuf, char **buf) const
static const int IDXENTRYSIZE
zLD(const char *ipath, const char *iname=0, const char *idesc=0, long blockCount=200, SWCompress *icomp=0, SWDisplay *idisp=0, SWTextEncoding encoding=ENC_UNKNOWN, SWTextDirection dir=DIRECTION_LTR, SWTextMarkup markup=FMT_UNKNOWN, const char *ilang=0, bool caseSensitive=false, bool strongsPadding=true)
void linkEntry(const char *destkey, const char *srckey)
virtual bool isTraversable() const
#define SWORD_NAMESPACE_END
virtual long getEntryCount() const