sword::VerseTreeKey Class Reference

Class VerseKey The SWKey implementation used for verse based modules like Bibles or commentaries. More...

#include <versetreekey.h>

Inheritance diagram for sword::VerseTreeKey:

Inheritance graph
[legend]
Collaboration diagram for sword::VerseTreeKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VerseTreeKey (TreeKey *treeKey, const char *ikey=0)
 VerseKey Constructor - initializes Instance of VerseKey.
 VerseTreeKey (TreeKey *treeKey, const SWKey *ikey)
 VerseKey Constructor - initializes instance of VerseKey.
 VerseTreeKey (TreeKey *treeKey, const char *min, const char *max)
 VerseKey Constructor - initializes instance of VerseKey with boundariess - see also LowerBound() and UpperBound().
 VerseTreeKey (const VerseTreeKey &k)
 VerseKey Copy Constructor - will create a new VerseKey based on an existing one.
virtual ~VerseTreeKey ()
 VerseKey Destructor Cleans up an instance of VerseKey.
virtual SWKeyclone () const
 Creates a new SWKey based on the current VerseKey see also the Copy Constructor.
virtual bool isTraversable () const
 Whether or not this key can be ++ -- incremented.
virtual TreeKeygetTreeKey ()
SWKeyoperator= (const char *ikey)
SWKeyoperator= (const SWKey &ikey)
SWKeyoperator= (SW_POSITION pos)
 operator const char * () const
bool operator== (const SWKey &ikey)
bool operator!= (const SWKey &ikey)
virtual bool operator> (const SWKey &ikey)
virtual bool operator< (const SWKey &ikey)
virtual bool operator>= (const SWKey &ikey)
virtual bool operator<= (const SWKey &ikey)
SWKeyoperator-= (int steps)
SWKeyoperator+= (int steps)
SWKeyoperator++ (int)
SWKeyoperator-- (int)
virtual SWKeyoperator= (const VerseKey &ikey)

Private Attributes

TreeKeytreeKey

Static Private Attributes

static SWClass classdef

Detailed Description

Class VerseKey The SWKey implementation used for verse based modules like Bibles or commentaries.

Definition at line 39 of file versetreekey.h.


Constructor & Destructor Documentation

sword::VerseTreeKey::VerseTreeKey ( TreeKey treeKey,
const char *  ikey = 0 
)

VerseKey Constructor - initializes Instance of VerseKey.

Parameters:
ikey text key (will take various forms of 'BOOK CH:VS'. See parse() for more detailed information)

sword::VerseTreeKey::VerseTreeKey ( TreeKey treeKey,
const SWKey ikey 
)

VerseKey Constructor - initializes instance of VerseKey.

Parameters:
ikey base key (will take various forms of 'BOOK CH:VS'. See parse() for more detailed information)

sword::VerseTreeKey::VerseTreeKey ( TreeKey treeKey,
const char *  min,
const char *  max 
)

VerseKey Constructor - initializes instance of VerseKey with boundariess - see also LowerBound() and UpperBound().

Parameters:
min the lower boundary of the new VerseKey
max the upper boundary of the new VerseKey

sword::VerseTreeKey::VerseTreeKey ( const VerseTreeKey k  ) 

VerseKey Copy Constructor - will create a new VerseKey based on an existing one.

Parameters:
k the VerseKey to copy from


The documentation for this class was generated from the following file: