46 SWCom(iname, idesc, idisp, encoding, dir, markup, ilang, versification) {
71 unsigned long size = 0;
105 SWKey lastgood = *tmpkey;
107 long laststart = start;
108 unsigned long lastsize =
size;
109 SWKey lasttry = *tmpkey;
110 (steps > 0) ? ++(*
key) : --(*key);
120 (((laststart != start) || (lastsize != size))
124 steps += (steps < 0) ? 1 : -1;
166 if (!size1 || !size2)
return false;
167 return start1 == start2;
#define SWORD_NAMESPACE_START
void doSetText(char testmt, long idxoff, const char *buf, long len=-1)
const VerseKey & getVerseKeyConst(const SWKey *key=0) const
virtual void linkEntry(const SWKey *linkKey)
static void prepText(SWBuf &buf)
virtual void rawFilter(SWBuf &buf, const SWKey *key) const
virtual bool isWritable() const
virtual SWBuf & getRawEntryBuf() const
void doLinkEntry(char testmt, long destidxoff, long srcidxoff)
virtual void setEntry(const char *inbuf, long len=-1)
RawCom4(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, const char *versification="KJV")
bool skipConsecutiveLinks
virtual void increment(int steps=1)
virtual bool hasEntry(const SWKey *k) const
#define KEYERR_OUTOFBOUNDS
void readText(char testmt, long start, unsigned long size, SWBuf &buf) const
virtual void deleteEntry()
virtual long getTestamentIndex() const
#define SWORD_NAMESPACE_END
virtual bool isLinked(const SWKey *k1, const SWKey *k2) const
void findOffset(char testmt, long idxoff, long *start, unsigned long *end) const
VerseKey & getVerseKey(SWKey *key=0)
virtual char getTestament() const