home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
BFAST.ZIP
/
RDBMS.HPP
< prev
Wrap
C/C++ Source or Header
|
1992-03-18
|
3KB
|
67 lines
#include <string.h>
#ifndef CL_RDBMS
#define CL_RDBMS
#endif
class Rdbms
{
public:
char path[64];
char fname[14];
public:
virtual int KeyLength(int keyNo) =0;
virtual int IndexNo(void) =0;
virtual int UseIndex(int key) =0;
virtual char* KeyValue() =0;
virtual int DataLen(void) =0;
virtual int Open(void) =0;
virtual int Close(void) =0;
virtual int Bof(void) =0;
virtual int Eof(void) =0;
virtual int Empty(void) =0;
virtual int Unlock(void) =0;
virtual int Lock(void) =0;
virtual int GetFirst(int) =0;
virtual int GetEqual(char* keyvalue, int) =0;
virtual int GetLast(int) =0;
virtual int GetNext(int) =0;
virtual int GetPrev(int) =0;
virtual int GetGEqual(char* keyvalue, int) =0;
virtual int GetGreater(char* keyvalue, int) =0;
virtual long GetPost(int) =0;
virtual int GoTo(long,int) =0;
virtual int StepFirst(int) =0;
virtual int StepLast(int) =0;
virtual int StepNext(int) =0;
virtual int StepPrev(int) =0;
virtual int Rewrite(void) =0;
virtual int Write(void) =0;
virtual int Delete(void) =0;
virtual char* FileName(void) =0;
virtual int Err(void) =0;
virtual int fReplace(int ,char * ) =0;
virtual int fReplace(int ,int ) =0;
virtual int fReplace(int ,long ) =0;
virtual int fReplace(int ,float) =0;
virtual int fReplace(int ,double) =0;
virtual char* fStr(char * ,const char* ) =0;
virtual int fInt(char * ) =0;
virtual long fLong(char * ) =0;
virtual float fFloat(char *) =0;
virtual double fDouble(char *) =0 ;
virtual char* fStr(int, const char*) =0;
virtual int fInt(int) =0;
virtual long fLong(int) =0 ;
virtual float fFloat(int) =0 ;
virtual double fDouble(int) =0 ;
virtual void Path(char* ppath) {strcpy(path,ppath);};
virtual char* Path(void) {return path;};
};