Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

xbIndex Class Reference

xbIndex class. More...

#include <index.h>

Inheritance diagram for xbIndex::

xbNdx xbNtx List of all members.

Public Methods

 xbIndex ()
 xbIndex (xbDbf *)
virtual ~xbIndex ()
virtual xbShort OpenIndex (const char *)=0
virtual xbShort CloseIndex ()=0
virtual xbShort CreateIndex (const char *, const char *, xbShort, xbShort)=0
virtual xbLong GetTotalNodes ()=0
virtual xbLong 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 LockIndex (const xbShort, const xbShort) const
virtual xbShort TouchIndex (void)
virtual void SetNodeSize (xbShort size)
virtual xbShort GetNodeSize (void)
virtual void GetExpression (char *buf, int len)=0

Public Attributes

xbIndex* index
xbDbfdbf
xbExpNode* ExpressionTree
xbString IndexName
FILE* indexfp
int IndexStatus
xbLong CurDbfRec
char* KeyBuf
char* KeyBuf2
xbShort NodeSize

Detailed Description

xbIndex class.


Constructor & Destructor Documentation

xbIndex::xbIndex ( ) [inline]
 

xbIndex::xbIndex ( xbDbf * )
 

xbIndex::~xbIndex ( ) [inline, virtual]
 


Member Function Documentation

xbShort xbIndex::AddKey ( xbLong ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::CloseIndex ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::CreateIndex ( const char * IxName,
const char * Exp,
xbShort Unique,
xbShort OverLay ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::CreateKey ( xbShort,
xbShort ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::DeleteKey ( xbLong DbfRec ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::FindKey ( xbDouble ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::FindKey ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::FindKey ( const char * Key ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbLong xbIndex::GetCurDbfRec ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::GetCurrentKey ( char * key ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

void xbIndex::GetExpression ( char * buf,
int len ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::GetFirstKey ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::GetLastKey ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::GetNextKey ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::GetNodeSize ( void ) [inline, virtual]
 

xbShort xbIndex::GetPrevKey ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbLong xbIndex::GetTotalNodes ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::KeyExists ( xbDouble ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::KeyWasChanged ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::LockIndex ( const xbShort,
const xbShort ) const [inline, virtual]
 

xbShort xbIndex::OpenIndex ( const char * FileName ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

xbShort xbIndex::ReIndex ( void(* statusFunc)(xbLong itemNum, xbLong numItems) = 0 ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.

void xbIndex::SetNodeSize ( xbShort size ) [inline, virtual]
 

Reimplemented in xbNdx.

xbShort xbIndex::TouchIndex ( void ) [inline, virtual]
 

Reimplemented in xbNtx.

xbShort xbIndex::UniqueIndex ( void ) [pure virtual]
 

Reimplemented in xbNdx, and xbNtx.


Member Data Documentation

xbLong xbIndex::CurDbfRec
 

Reimplemented in xbNdx.

xbExpNode * xbIndex::ExpressionTree
 

xbString xbIndex::IndexName
 

Reimplemented in xbNdx.

int xbIndex::IndexStatus
 

char * xbIndex::KeyBuf
 

Reimplemented in xbNdx.

char * xbIndex::KeyBuf2
 

Reimplemented in xbNdx.

xbShort xbIndex::NodeSize
 

xbDbf * xbIndex::dbf
 

xbIndex * xbIndex::index
 

FILE * xbIndex::indexfp
 


The documentation for this class was generated from the following file:
Generated at Sun Feb 1 20:51:34 2004 for Xbase Class Library by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001