The SWORD Project
1.9.0.svnversion
|
#include <listkey.h>
Public Member Functions | |
virtual void | add (const SWKey &ikey) |
virtual void | clear () |
virtual void | clearBounds () const |
virtual SWDEPRECATED void | ClearList () |
virtual SWKey * | clone () const |
virtual int | compare (const SWKey &ikey) |
virtual void | copyFrom (const ListKey &ikey) |
virtual void | copyFrom (const SWKey &ikey) |
virtual SWDEPRECATED int | Count () |
virtual void | decrement (int step=1) |
virtual bool | equals (const SWKey &ikey) |
SWDEPRECATED char | Error () |
const SWClass * | getClass () const |
virtual int | getCount () const |
virtual SWKey * | getElement (int pos=-1) |
virtual const SWKey * | getElement (int pos=-1) const |
virtual SWDEPRECATED SWKey * | GetElement (int pos=-1) |
virtual char | getError () const |
virtual long | getIndex () const |
char * | getLocale () const |
virtual const char * | getOSISRefRangeText () const |
virtual const char * | getRangeText () const |
virtual const char * | getShortRangeText () const |
virtual const char * | getShortText () const |
virtual const char * | getText () const |
virtual void | increment (int step=1) |
virtual bool | isBoundSet () const |
bool | isPersist () const |
virtual bool | isTraversable () const |
ListKey (const char *ikey=0) | |
ListKey (ListKey const &k) | |
virtual void | nextElement () |
ListKey & | operator<< (const SWKey &ikey) |
SWKEY_OPERATORS ListKey & | operator= (const ListKey &key) |
SWDEPRECATED char | Persist () const |
SWDEPRECATED char | Persist (signed char ipersist) |
virtual char | popError () |
virtual void | positionFrom (const SWKey &ikey) |
virtual void | remove () |
virtual SWDEPRECATED void | Remove () |
virtual void | setError (char err) |
virtual void | setIndex (long index) |
void | setLocale (const char *name) |
void | setPersist (bool ipersist) |
virtual void | setPosition (SW_POSITION pos) |
virtual void | setText (const char *ikey) |
virtual char | setToElement (int ielement, SW_POSITION pos=TOP) |
virtual SWDEPRECATED char | SetToElement (int ielement, SW_POSITION pos=TOP) |
virtual void | sort () |
virtual | ~ListKey () |
Public Attributes | |
SW_u64 | userData |
Protected Member Functions | |
SWLocale * | getPrivateLocale () const |
Protected Attributes | |
SWKey ** | array |
int | arraycnt |
int | arraymax |
int | arraypos |
bool | boundSet |
char | error |
char * | keytext |
char * | localeName |
const SWClass * | myClass |
bool | persist |
char * | rangeText |
Private Member Functions | |
void | init () |
ListKey::ListKey | ( | const char * | ikey = 0 | ) |
Definition at line 50 of file listkey.cpp.
|
virtual |
cleans up instance of ListKey
Definition at line 77 of file listkey.cpp.
Definition at line 128 of file listkey.cpp.
|
virtual |
|
inlinevirtualinherited |
|
inlinevirtual |
|
virtual |
Returns a new exact clone of this SWKey object. This allocates a new SWKey which must be deleted by the caller
Reimplemented from SWKey.
Definition at line 68 of file listkey.cpp.
Compares this key object to another SWKey object
ikey | key to compare with this one |
Reimplemented in VerseKey, TreeKey, and TreeKeyIdx.
Equates this ListKey to another ListKey object
ikey | other ListKey object |
Definition at line 110 of file listkey.cpp.
|
inlinevirtual |
|
virtual |
Decrements a number of elements
Reimplemented from SWKey.
Definition at line 187 of file listkey.cpp.
|
inlineinherited |
Use this to get the class definition and inheritance order.
Definition at line 63 of file swobject.h.
|
virtual |
Returns number of key elements in list
Definition at line 211 of file listkey.cpp.
|
virtual |
Gets a key element number
pos | element number to get (or default current) |
Definition at line 270 of file listkey.cpp.
Definition at line 260 of file listkey.cpp.
|
inlinevirtual |
|
inlinevirtualinherited |
|
inlinevirtual |
|
virtual |
Reimplemented from SWKey.
Definition at line 315 of file listkey.cpp.
|
protectedinherited |
Definition at line 111 of file swkey.cpp.
|
virtual |
Reimplemented from SWKey.
Definition at line 297 of file listkey.cpp.
|
virtual |
Reimplemented from SWKey.
Definition at line 333 of file listkey.cpp.
|
virtual |
|
virtual |
returns string representation of this key
Reimplemented from SWKey.
Definition at line 349 of file listkey.cpp.
|
virtual |
Increments a number of elements
Reimplemented from SWKey.
Definition at line 163 of file listkey.cpp.
|
private |
Definition at line 61 of file listkey.cpp.
|
inlinevirtualinherited |
|
inherited |
Gets whether this key should persist in any module to which it is set otherwise just a copy will be used in the module.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 146 of file listkey.h.
|
inline |
|
inlineinherited |
|
inlineinherited |
|
virtualinherited |
|
virtual |
Removes current element from list
Definition at line 281 of file listkey.cpp.
|
inlinevirtual |
|
inlinevirtualinherited |
|
inlinevirtual |
Returns the index for the new one given as as parameter. The first parameter is the new index.
Reimplemented from SWKey.
Definition at line 159 of file listkey.h.
|
inlineinherited |
Definition at line 225 of file swkey.h.
|
inherited |
Sets whether this key should persist in any module to which it is set otherwise just a copy will be used in the module.
ipersist | value which to set persist; |
|
virtual |
Positions this key
pos | position |
Reimplemented from SWKey.
Definition at line 147 of file listkey.cpp.
|
virtual |
Sets this SWKey with a character string
ikey | string used to set this key |
Reimplemented from SWKey.
Definition at line 362 of file listkey.cpp.
|
virtual |
Sets container to subkey element number and repositions that subkey to either top or bottom
ielement | - element number to set to |
pos | - set the subkey element to position (TOP) or BOTTOM |
Definition at line 225 of file listkey.cpp.
|
inlinevirtual |
Definition at line 102 of file listkey.h.
|
virtual |
Definition at line 387 of file listkey.cpp.
Definition at line 55 of file swobject.h.