#include <treekeyidx.h>
Inheritance diagram for sword::TreeKeyIdx:


Public Member Functions | |
| TreeKeyIdx (const TreeKeyIdx &ikey) | |
| TreeKeyIdx (const char *idxPath, int fileMode=-1) | |
| virtual SWKey * | clone () const |
| Returns a copy of this SWKey object. | |
| virtual const char * | getLocalName () |
| virtual const char * | setLocalName (const char *) |
| virtual const char * | getUserData (int *size=0) |
| virtual void | setUserData (const char *userData, int size=0) |
| virtual const char * | getFullName () const |
| virtual void | root () |
| virtual bool | parent () |
| virtual bool | firstChild () |
| virtual bool | nextSibling () |
| virtual bool | previousSibling () |
| virtual bool | hasChildren () |
| virtual void | append () |
| virtual void | appendChild () |
| virtual void | insertBefore () |
| virtual void | remove () |
| virtual void | save () |
| virtual void | copyFrom (const TreeKeyIdx &ikey) |
| virtual void | copyFrom (const SWKey &ikey) |
| Equates this SWKey to another SWKey object. | |
| void | setOffset (unsigned long offset) |
| unsigned long | getOffset () const |
| virtual SWKey & | operator= (const TreeKeyIdx &ikey) |
| SWKey & | operator= (const char *ikey) |
| SWKey & | operator= (const SWKey &ikey) |
| SWKey & | operator= (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) |
| SWKey & | operator-= (int steps) |
| SWKey & | operator+= (int steps) |
| SWKey & | operator++ (int) |
| SWKey & | operator-- (int) |
| virtual void | setText (const char *ikey) |
| Equates this SWKey to a character string. | |
| virtual void | setPosition (SW_POSITION p) |
| virtual const char * | getText () const |
| returns text key if (char *) cast is requested | |
| virtual int | _compare (const TreeKeyIdx &ikey) |
| virtual int | compare (const SWKey &ikey) |
| Compares another VerseKey object. | |
| virtual void | decrement (int steps=1) |
| Decrements key a number of entries. | |
| virtual void | increment (int steps=1) |
| Increments key a number of entries. | |
| virtual char | Traversable () |
Static Public Member Functions | |
| signed char | create (const char *path) |
Private Member Functions | |
| void | getTreeNodeFromDatOffset (long ioffset, TreeNode *buf) const |
| char | getTreeNodeFromIdxOffset (long ioffset, TreeNode *node) const |
| void | saveTreeNode (TreeNode *node) |
| void | saveTreeNodeOffsets (TreeNode *node) |
| void | init () |
Private Attributes | |
| sword::TreeKeyIdx::TreeNode | currentNode |
| char * | path |
| FileDesc * | idxfd |
| FileDesc * | datfd |
Static Private Attributes | |
| SWClass | classdef |
|
|
Returns a copy of this SWKey object. This is useful to get a 1:1 copy of an SWKey based object.
Reimplemented from sword::SWKey. |
|
|
Compares another VerseKey object.
Implements sword::TreeKey. |
|
|
Equates this SWKey to another SWKey object.
Reimplemented from sword::SWKey. |
|
|
Decrements key a number of entries.
Implements sword::TreeKey. |
|
|
Increments key a number of entries.
Implements sword::TreeKey. |
|
|
Equates this SWKey to a character string.
Implements sword::TreeKey. |
1.3-rc3