42 SWCom::SWCom(
const char *imodname,
const char *imoddesc,
SWDisplay *idisp,
SWTextEncoding enc,
SWTextDirection dir,
SWTextMarkup mark,
const char *ilang,
const char *versification):
SWModule(imodname, imoddesc, idisp,
"Commentaries", enc, dir, mark, ilang) {
43 this->versification = 0;
44 stdstr(&(this->versification), versification);
84 if (key != this->key) {
91 const SWKey *thisKey = keyToConvert ? keyToConvert : this->
key;
116 (*retKey) = *(thisKey);
124 SWKey *thisKey = keyToConvert ? keyToConvert : this->
key;
149 (*retKey) = *(thisKey);
virtual void setIndex(long iindex)
virtual long getIndex() const
#define SWORD_NAMESPACE_START
const VerseKey & getVerseKeyConst(const SWKey *key=0) const
virtual void copyFrom(const SWKey &ikey)
virtual void setTestament(char itestament)
virtual SWKey * getElement(int pos=-1)
SWORD_NAMESPACE_START char * stdstr(char **ipstr, const char *istr, unsigned int memPadFactor=1)
virtual void setIndex(long iindex)
virtual void setVersificationSystem(const char *name)
static LocaleMgr * getSystemLocaleMgr()
virtual SWKey * createKey() const
#define SWDYNAMIC_CAST(className, object)
SWCom(const char *imodname=0, const char *imoddesc=0, SWDisplay *idisp=0, SWTextEncoding enc=ENC_UNKNOWN, SWTextDirection dir=DIRECTION_LTR, SWTextMarkup mark=FMT_UNKNOWN, const char *ilang=0, const char *versification="KJV")
#define SWORD_NAMESPACE_END
void setLocale(const char *name)
VerseKey & getVerseKey(SWKey *key=0)
virtual long getIndex() const