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