blob: f50f90840c2de88ce37654d406fd0367a59ac810 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
%{
#include "versekey.h"
%}
class VerseKey : public SWKey {
public:
VerseKey(const char *ikey = 0);
//VerseKey(const SWKey * ikey);
//VerseKey(const char *min, const char *max);
//VerseKey(const VerseKey &k);
virtual ~VerseKey();
virtual SWKey *clone() const;
//bound management
// VerseKey & LowerBound(const char *lb);
// VerseKey & UpperBound(const char *ub);
VerseKey & LowerBound() const;
VerseKey & UpperBound() const;
void ClearBounds();
//data functions
virtual void decrement(int step);
virtual void increment(int step);
virtual char Traversable() { return 1; }
virtual const char *getBookName() const;
virtual const char *getBookAbbrev() const;
virtual char Testament() const;
virtual char Book() const;
virtual int Chapter() const;
virtual int Verse() const;
//virtual char Testament(char itestament);
// virtual char Book(char ibook);
// virtual int Chapter(int ichapter);
// virtual int Verse(int iverse);
virtual void Normalize(char autocheck = 0);
virtual char AutoNormalize(char iautonorm = MAXPOS (char));
virtual char Headings(char iheadings = MAXPOS (char));
virtual const char *getOSISRef() const;
virtual int compare(const SWKey & ikey);
virtual int _compare(const VerseKey & ikey);
virtual void setLocale(const char *name);
virtual const char *getLocale() const;
};
|