xbNdx class
More...
#include <xbndx.h>
|
| xbNdx () |
|
| xbNdx (xbDbf *) |
|
virtual | ~xbNdx () |
|
xbShort | CreateIndex (const char *IxName, const char *Exp, xbShort Unique, xbShort OverLay) |
|
xbLong | GetTotalNodes () |
|
xbULong | 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) |
|
virtual const char * | GetExtWithDot (bool lower) |
|
| xbIndex () |
|
| xbIndex (xbDbf *) |
|
virtual | ~xbIndex () |
|
xbShort | OpenIndex (const char *) |
|
xbShort | CloseIndex () |
|
virtual xbShort | CreateIndex (const char *, const char *, xbShort, xbShort)=0 |
|
virtual xbLong | GetTotalNodes ()=0 |
|
virtual xbULong | GetCurDbfRec ()=0 |
|
virtual xbShort | CreateKey (xbShort, xbShort)=0 |
|
virtual xbShort | GetCurrentKey (char *key)=0 |
|
virtual xbShort | AddKey (xbLong)=0 |
|
virtual xbShort | UniqueIndex ()=0 |
|
virtual xbShort | DeleteKey (xbLong)=0 |
|
virtual xbShort | KeyWasChanged ()=0 |
|
virtual xbShort | FindKey (const char *)=0 |
|
virtual xbShort | FindKey ()=0 |
|
virtual xbShort | FindKey (xbDouble)=0 |
|
virtual xbShort | GetNextKey ()=0 |
|
virtual xbShort | GetLastKey ()=0 |
|
virtual xbShort | GetFirstKey ()=0 |
|
virtual xbShort | GetPrevKey ()=0 |
|
virtual xbShort | ReIndex (void(*statusFunc)(xbLong itemNum, xbLong numItems)=0)=0 |
|
virtual xbShort | KeyExists (xbDouble)=0 |
|
virtual xbShort | TouchIndex () |
|
virtual void | SetNodeSize (xbShort size) |
|
virtual xbShort | GetNodeSize () |
|
virtual void | GetExpression (char *buf, int len)=0 |
|
virtual void | Flush () |
|
virtual const char * | GetIxName () |
|
xbShort | AllocKeyBufs () |
|
xbBool | IsOpen () |
|
|
virtual xbUShort | GetKeyLen () |
|
virtual const char * | GetKeyExpression () |
|
virtual void | FreeNodesMemory () |
|
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 () |
|
virtual xbShort | GetHeadNode () |
|
xbShort | GetLeafNode (xbLong, xbShort) |
|
xbNdxNodeLink * | GetNodeMemory () |
|
void | ReleaseNodeMemory (xbNdxNodeLink *n, xbBool doFree=false) |
|
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) |
|
virtual xbShort | GetHeadNode ()=0 |
|
virtual xbUShort | GetKeyLen ()=0 |
|
virtual const char * | GetKeyExpression ()=0 |
|
virtual void | FreeNodesMemory ()=0 |
|
void | SetFileName (const char *filename) |
|
| xbFile () |
|
virtual const char * | GetExtWithDot (bool lower)=0 |
|
const xbString & | GetFileName () |
|
xbString | MakeFileName (const char *filename) |
|
◆ xbNdx() [1/2]
◆ xbNdx() [2/2]
◆ ~xbNdx()
virtual xbNdx::~xbNdx |
( |
| ) |
|
|
virtual |
◆ AddKey()
◆ AddToIxList()
◆ BSearchNode()
◆ CalcKeyLen()
◆ CompareKey()
xbShort xbNdx::CompareKey |
( |
const char * |
Key1, |
|
|
const char * |
Key2, |
|
|
xbShort |
Klen |
|
) |
| |
|
inlineprotected |
◆ CreateIndex()
◆ CreateKey()
◆ DeleteKey()
◆ DeleteSibling()
◆ FindKey() [1/5]
◆ FindKey() [2/5]
xbShort xbNdx::FindKey |
( |
const char * |
Key | ) |
|
|
virtual |
◆ FindKey() [3/5]
◆ FindKey() [4/5]
◆ FindKey() [5/5]
◆ FreeNodesMemory()
virtual void xbNdx::FreeNodesMemory |
( |
| ) |
|
|
protectedvirtual |
◆ GetCurDbfRec()
◆ GetCurrentKey()
xbShort xbNdx::GetCurrentKey |
( |
char * |
key | ) |
|
|
virtual |
◆ GetDbfNo()
◆ GetExpression()
virtual void xbNdx::GetExpression |
( |
char * |
buf, |
|
|
int |
len |
|
) |
| |
|
virtual |
◆ GetExtWithDot()
virtual const char * xbNdx::GetExtWithDot |
( |
bool |
lower | ) |
|
|
virtual |
◆ GetFirstKey() [1/2]
Short description.
Implements xbIndex.
◆ GetFirstKey() [2/2]
◆ GetHeadNode()
virtual xbShort xbNdx::GetHeadNode |
( |
| ) |
|
|
protectedvirtual |
◆ GetKeyData()
◆ GetKeyExpression()
virtual const char * xbNdx::GetKeyExpression |
( |
| ) |
|
|
protectedvirtual |
◆ GetKeyLen()
◆ GetKeysPerNode()
◆ GetLastKey() [1/2]
Short description.
Implements xbIndex.
◆ GetLastKey() [2/2]
◆ GetLeafFromInteriorNode()
xbLong xbNdx::GetLeafFromInteriorNode |
( |
const char * |
Tkey, |
|
|
xbShort |
Klen |
|
) |
| |
|
protected |
◆ GetLeafNode()
◆ GetLeftNodeNo()
◆ GetNextKey() [1/2]
Short description.
Implements xbIndex.
◆ GetNextKey() [2/2]
◆ GetNodeMemory()
◆ GetPrevKey() [1/2]
Short description.
Implements xbIndex.
◆ GetPrevKey() [2/2]
◆ GetTotalNodes()
xbLong xbNdx::GetTotalNodes |
( |
| ) |
|
|
virtual |
◆ KeyExists() [1/2]
xbShort xbNdx::KeyExists |
( |
const char * |
Key | ) |
|
|
inline |
◆ KeyExists() [2/2]
◆ KeyWasChanged()
◆ LeftSiblingHasSpace()
◆ MoveToLeftNode()
◆ MoveToRightNode()
◆ ProcessDeleteList()
void xbNdx::ProcessDeleteList |
( |
| ) |
|
|
protected |
◆ PutDbfNo()
◆ PutHeadNode()
◆ PutKeyData()
◆ PutKeyInNode()
◆ PutLeafNode()
◆ PutLeftNodeNo()
◆ ReIndex()
◆ ReleaseNodeMemory()
◆ RemoveFromIxList()
xbShort xbNdx::RemoveFromIxList |
( |
| ) |
|
|
protected |
◆ RemoveKeyFromNode()
◆ RightSiblingHasSpace()
◆ SetNodeSize()
virtual void xbNdx::SetNodeSize |
( |
xbShort |
size | ) |
|
|
virtual |
◆ SplitINode()
◆ SplitLeafNode()
◆ UniqueIndex()
◆ UpdateDeleteList()
◆ UpdateParentKey()
◆ CurNode
◆ DeleteChain
◆ FreeNodeChain
◆ HeadNode
◆ LeafNode
◆ Node
◆ NodeChain
◆ ReusedxbNodeLinks
xbLong xbNdx::ReusedxbNodeLinks |
|
protected |
◆ xbNodeLinkCtr
The documentation for this class was generated from the following file: