46 RawLD4::RawLD4(
const char *ipath,
const char *iname,
const char *idesc,
SWDisplay *idisp,
SWTextEncoding enc,
SWTextDirection dir,
SWTextMarkup mark,
const char* ilang,
bool caseSensitive,
bool strongsPadding) :
RawStr4(ipath, -1, caseSensitive),
SWLD(iname, idesc, idisp, enc, dir, mark, ilang, strongsPadding)
81 char *buf =
new char [ strlen(*
key) + 6 ];
87 if (!(retval =
findOffset(buf, &start, &size, away))) {
148 char *buf =
new char [ strlen(*
key) + 6 ];
160 char *buf =
new char [ strlen(*
key) + 6 ];
178 char *buf =
new char [ strlen(*
key) + 6 ];
199 char *buf =
new char [ strlen(key) + 6 ];
#define SWORD_NAMESPACE_START
long seek(long offset, int whence)
static const int IDXENTRYSIZE
static void strongsPad(char *buf)
static void prepText(SWBuf &buf)
virtual void rawFilter(SWBuf &buf, const SWKey *key) const
virtual void increment(int steps=1)
signed char findOffset(const char *key, SW_u32 *start, SW_u32 *size, long away=0, SW_u32 *idxoff=0) const
virtual SWBuf & getRawEntryBuf() const
RawLD4(const char *ipath, const char *iname=0, const char *idesc=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)
virtual long getEntryCount() const
SWORD_NAMESPACE_START char * stdstr(char **ipstr, const char *istr, unsigned int memPadFactor=1)
virtual char * getKeyForEntry(long entry) const
virtual void setEntry(const char *inbuf, long len=-1)
#define KEYERR_OUTOFBOUNDS
void readText(SW_u32 start, SW_u32 *size, char **idxbuf, SWBuf &buf) const
char getEntry(long away=0) const
void doSetText(const char *key, const char *buf, long len=-1)
void doLinkEntry(const char *destkey, const char *srckey)
virtual void deleteEntry()
virtual bool isTraversable() const
#define SWORD_NAMESPACE_END
virtual void linkEntry(const SWKey *linkKey)
void getIDXBuf(long ioffset, char **buf) const
virtual long getEntryForKey(const char *key) const
virtual bool isWritable() const