30 #ifndef VERSIFICATIONMGR_H 
   31 #define VERSIFICATIONMGR_H 
  108         Book &operator =(
const Book &other);
 
  109         Book(
const char *longName, 
const char *osisName, 
const char *prefAbbrev, 
int chapMax) {
 
  110             this->longName = longName;
 
  111             this->osisName = osisName;
 
  112             this->prefAbbrev = prefAbbrev;
 
  113             this->chapMax = chapMax;
 
  121         int getVerseMax(
int chapter) 
const;
 
  138         const char *
getName()
 const { 
return name.c_str(); }
 
  139         const Book *getBookByName(
const char *bookName) 
const;
 
  140         int getBookNumberByOSISName(
const char *bookName) 
const;
 
  141         const Book *getBook(
int number) 
const;
 
  142         int getBookCount() 
const;
 
  143         void loadFromSBook(
const sbook *ot, 
const sbook *nt, 
int *chMax, 
const unsigned char *mappings=
NULL);
 
  144         long getOffsetFromVerse(
int book, 
int chapter, 
int verse) 
const;
 
  145         char getVerseFromOffset(
long offset, 
int *book, 
int *chapter, 
int *verse) 
const;
 
  148         void translateVerse(
const System *dstSys, 
const char **book, 
int *chapter, 
int *verse, 
int *verse_end) 
const;
 
  154     static void setSystemVersificationMgr(
VersificationMgr *newVersificationMgr);
 
  155     const StringList getVersificationSystems() 
const;
 
  156     const System *getVersificationSystem(
const char *name) 
const;
 
  157     void registerVersificationSystem(
const char *name, 
const sbook *ot, 
const sbook *nt, 
int *chMax, 
const unsigned char *mappings=
NULL);
 
  158     void registerVersificationSystem(
const char *name, 
const TreeKey *);
 
long getNTStartOffset() const 
#define SWORD_NAMESPACE_START
SWORD_NAMESPACE_START struct abbrev builtin_abbrevs[]
int getChapterMax() const 
std::list< SWBuf > StringList
Book(const char *longName, const char *osisName, const char *prefAbbrev, int chapMax)
const char * getOSISName() const 
const char * getPreferredAbbreviation() const 
const char * getName() const 
const int * getBMAX() const 
static VersificationMgr * systemVersificationMgr
const char * getLongName() const 
#define SWORD_NAMESPACE_END