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