#include <versemgr.h>

Classes | |
| class | Private |
Public Member Functions | |
| Book (const char *longName, const char *osisName, const char *prefAbbrev, int chapMax) | |
| Book (const Book &other) | |
| Book () | |
| int | getChapterMax () const |
| const char * | getLongName () const |
| const char * | getOSISName () const |
| const char * | getPreferredAbbreviation () const |
| int | getVerseMax (int chapter) const |
| Book & | operator= (const Book &other) |
| ~Book () | |
Private Member Functions | |
| void | init () |
Private Attributes | |
| unsigned int | chapMax |
| SWBuf | longName |
| SWBuf | osisName |
| Private * | p |
| SWBuf | prefAbbrev |
Friends | |
| struct | BookOffsetLess |
| class | System |
Definition at line 87 of file versemgr.h.
| VerseMgr::Book::Book | ( | ) | [inline] |
Definition at line 108 of file versemgr.h.
00108 { init(); }
| VerseMgr::Book::Book | ( | const Book & | other | ) |
Definition at line 214 of file versemgr.cpp.
00214 { 00215 longName = other.longName; 00216 osisName = other.osisName; 00217 prefAbbrev = other.prefAbbrev; 00218 chapMax = other.chapMax; 00219 init(); 00220 (*p) = *(other.p); 00221 }
| VerseMgr::Book::Book | ( | const char * | longName, | |
| const char * | osisName, | |||
| const char * | prefAbbrev, | |||
| int | chapMax | |||
| ) | [inline] |
Definition at line 111 of file versemgr.h.
00111 { 00112 this->longName = longName; 00113 this->osisName = osisName; 00114 this->prefAbbrev = prefAbbrev; 00115 this->chapMax = chapMax; 00116 init(); 00117 }
| VerseMgr::Book::~Book | ( | ) |
Definition at line 234 of file versemgr.cpp.
00234 { 00235 delete p; 00236 }
| int VerseMgr::Book::getChapterMax | ( | ) | const [inline] |
Definition at line 122 of file versemgr.h.
00122 { return chapMax; }
| const char* VerseMgr::Book::getLongName | ( | ) | const [inline] |
Definition at line 119 of file versemgr.h.
| const char* VerseMgr::Book::getOSISName | ( | ) | const [inline] |
Definition at line 120 of file versemgr.h.
| const char* VerseMgr::Book::getPreferredAbbreviation | ( | ) | const [inline] |
Definition at line 121 of file versemgr.h.
00121 { return prefAbbrev.c_str(); }
| int VerseMgr::Book::getVerseMax | ( | int | chapter | ) | const |
| void VerseMgr::Book::init | ( | ) | [private] |
Definition at line 125 of file versemgr.cpp.
00125 { 00126 p = new Private(); 00127 }
| VerseMgr::Book & VerseMgr::Book::operator= | ( | const Book & | other | ) |
Definition at line 223 of file versemgr.cpp.
00223 { 00224 longName = other.longName; 00225 osisName = other.osisName; 00226 prefAbbrev = other.prefAbbrev; 00227 chapMax = other.chapMax; 00228 init(); 00229 (*p) = *(other.p); 00230 return *this; 00231 }
friend struct BookOffsetLess [friend] |
Definition at line 89 of file versemgr.h.
friend class System [friend] |
Definition at line 88 of file versemgr.h.
unsigned int VerseMgr::Book::chapMax [private] |
Maximum chapters in book
Definition at line 103 of file versemgr.h.
SWBuf VerseMgr::Book::longName [private] |
book name
Definition at line 94 of file versemgr.h.
SWBuf VerseMgr::Book::osisName [private] |
OSIS Abbreviation
Definition at line 97 of file versemgr.h.
Private* VerseMgr::Book::p [private] |
Definition at line 90 of file versemgr.h.
SWBuf VerseMgr::Book::prefAbbrev [private] |
Preferred Abbreviation
Definition at line 100 of file versemgr.h.
1.6.1