|
Public Member Functions |
| xbNdx () |
| xbNdx (xbDbf *) |
| ~xbNdx () |
xbShort | OpenIndex (const char *FileName) |
xbShort | CloseIndex () |
xbShort | CreateIndex (const char *IxName, const char *Exp, xbShort Unique, xbShort OverLay) |
xbLong | GetTotalNodes () |
xbLong | GetCurDbfRec () |
xbShort | CreateKey (xbShort, xbShort) |
xbShort | GetCurrentKey (char *key) |
xbShort | AddKey (xbLong) |
xbShort | UniqueIndex () |
xbShort | DeleteKey (xbLong) |
xbShort | KeyWasChanged () |
xbShort | FindKey (const char *Key) |
xbShort | FindKey () |
xbShort | FindKey (xbDouble) |
xbShort | GetNextKey () |
| Short description.
|
xbShort | GetLastKey () |
| Short description.
|
xbShort | GetFirstKey () |
| Short description.
|
xbShort | GetPrevKey () |
| Short description.
|
xbShort | ReIndex (void(*statusFunc)(xbLong itemNum, xbLong numItems)=0) |
xbShort | KeyExists (const char *Key) |
xbShort | KeyExists (xbDouble) |
virtual void | SetNodeSize (xbShort size) |
virtual void | GetExpression (char *buf, int len) |
Protected Member Functions |
xbLong | GetLeftNodeNo (xbShort, xbNdxNodeLink *) |
xbShort | CompareKey (const char *Key1, const char *Key2, xbShort Klen) |
| Short description.
|
xbLong | GetDbfNo (xbShort RecNo, xbNdxNodeLink *n) |
| Short description.
|
char * | GetKeyData (xbShort, xbNdxNodeLink *) |
xbUShort | GetKeysPerNode () |
xbShort | GetHeadNode () |
xbShort | GetLeafNode (xbLong, xbShort) |
xbNdxNodeLink * | GetNodeMemory () |
void | ReleaseNodeMemory (xbNdxNodeLink *) |
xbShort | BSearchNode (const char *key, xbShort klen, const xbNdxNodeLink *node, xbShort *comp) |
xbLong | GetLeafFromInteriorNode (const char *Tkey, xbShort Klen) |
xbShort | CalcKeyLen () |
xbShort | PutKeyData (xbShort, xbNdxNodeLink *) |
xbShort | PutLeftNodeNo (xbShort, xbNdxNodeLink *, xbLong) |
xbShort | PutLeafNode (xbLong, xbNdxNodeLink *) |
xbShort | PutHeadNode (xbNdxHeadNode *, FILE *, xbShort) |
xbShort | PutDbfNo (xbShort, xbNdxNodeLink *, xbLong) |
xbShort | PutKeyInNode (xbNdxNodeLink *, xbShort, xbLong, xbLong, xbShort) |
xbShort | SplitLeafNode (xbNdxNodeLink *, xbNdxNodeLink *, xbShort, xbLong) |
xbShort | SplitINode (xbNdxNodeLink *, xbNdxNodeLink *, xbLong) |
xbShort | AddToIxList () |
xbShort | RemoveFromIxList () |
xbShort | RemoveKeyFromNode (xbShort, xbNdxNodeLink *) |
xbShort | FindKey (const char *Tkey, xbShort Klen, xbShort RetrieveSw) |
xbShort | UpdateParentKey (xbNdxNodeLink *) |
xbShort | GetFirstKey (xbShort) |
xbShort | GetNextKey (xbShort) |
xbShort | GetLastKey (xbLong, xbShort) |
xbShort | GetPrevKey (xbShort) |
void | UpdateDeleteList (xbNdxNodeLink *) |
void | ProcessDeleteList () |
xbNdxNodeLink * | LeftSiblingHasSpace (xbNdxNodeLink *) |
xbNdxNodeLink * | RightSiblingHasSpace (xbNdxNodeLink *) |
xbShort | DeleteSibling (xbNdxNodeLink *) |
xbShort | MoveToLeftNode (xbNdxNodeLink *, xbNdxNodeLink *) |
xbShort | MoveToRightNode (xbNdxNodeLink *, xbNdxNodeLink *) |
xbShort | FindKey (const char *Tkey, xbLong DbfRec) |
xbShort | CloneNodeChain () |
xbShort | UncloneNodeChain () |
Protected Attributes |
xbNdxHeadNode | HeadNode |
xbNdxLeafNode | LeafNode |
xbLong | xbNodeLinkCtr |
xbLong | ReusedxbNodeLinks |
xbString | IndexName |
char | Node [XB_MAX_NDX_NODE_SIZE] |
xbNdxNodeLink * | NodeChain |
xbNdxNodeLink * | FreeNodeChain |
xbNdxNodeLink * | CurNode |
xbNdxNodeLink * | DeleteChain |
xbNdxNodeLink * | CloneChain |
xbLong | CurDbfRec |
char * | KeyBuf |
char * | KeyBuf2 |