43 #ifndef __XB_INDEX_H__ 44 #define __XB_INDEX_H__ 46 #ifdef __GNU_LesserG__ 56 #define XB_NOT_UNIQUE 0 70 xbShort OpenIndex (
const char * );
73 virtual xbLong GetTotalNodes() = 0;
74 virtual xbULong GetCurDbfRec() = 0;
76 virtual xbShort GetCurrentKey(
char *key) = 0;
78 virtual xbShort UniqueIndex() = 0;
80 virtual xbShort KeyWasChanged() = 0;
81 virtual xbShort FindKey(
const char * ) = 0;
84 virtual xbShort GetNextKey() = 0;
85 virtual xbShort GetLastKey() = 0;
86 virtual xbShort GetFirstKey() = 0;
87 virtual xbShort GetPrevKey() = 0;
94 virtual void GetExpression(
char *buf,
int len) = 0;
101 virtual void DumpHdrNode(
xbShort Option ) = 0;
102 virtual void DumpNodeRec(
xbLong ) = 0;
103 virtual void DumpNodeChain() = 0;
115 virtual xbShort GetHeadNode()=0;
117 virtual const char* GetKeyExpression()=0;
118 virtual void FreeNodesMemory()=0;
virtual xbShort TouchIndex()
Definition: xbindex.h:91
short int xbBool
xbBool type
Definition: xbtypes.h:78
xbULong CurDbfRec
Definition: xbindex.h:126
xbDbf * dbf
Definition: xbindex.h:121
virtual xbShort GetNodeSize()
Definition: xbindex.h:93
xbExpn * IxExp
Definition: xbindex.h:122
#define XBDLLEXPORT
Definition: xbase64.h:87
long xbLong
Definition: xbtypes.h:61
virtual const char * GetIxName()
Definition: xbindex.h:96
virtual void SetNodeSize(xbShort size)
Definition: xbindex.h:92
short int xbShort
xbShort type
Definition: xbtypes.h:60
xbShort NodeSize
Definition: xbindex.h:129
const char * getData() const
Short description.
Definition: xbstring.cpp:387
#define XB_NO_ERROR
Definition: xbretcod.h:50
unsigned long int xbULong
xbULong type
Definition: xbtypes.h:50
double xbDouble
xbDouble type
Definition: xbtypes.h:73
xbIndex class
Definition: xbindex.h:62
unsigned short int xbUShort
xbUShort type
Definition: xbtypes.h:55
xbIndex * index
Definition: xbindex.h:120
char * KeyBuf2
Definition: xbindex.h:128
xbIndex()
Definition: xbindex.h:65
xbBool IsOpen()
Definition: xbindex.h:98
xbMH struct
Definition: xbdbf.h:190
char * KeyBuf
Definition: xbindex.h:127
const xbString & GetFileName()
Definition: xbfile.h:57
FILE * indexfp
Definition: xbindex.h:123