campo-sirio/include/tabutil.h
alex e60478bc49 Separato nella tabelle il campo CODTAB in COD+CODTAB
Aggiunta la possibilita' di effetture conversioni logiche


git-svn-id: svn://10.65.10.50/trunk@293 c028cbd2-c16b-5b4b-a496-9718f37d4682
1994-09-27 10:19:36 +00:00

50 lines
1.1 KiB
C++
Executable File

#ifndef __TABUTIL_H
#define __TABUTIL_H
#ifndef __ISAM_H
#include <isam.h>
#endif
/*
@(SH) Header
@(C#) PUBBLICHE
@(C$) PRIVATE
@(VG#) PUBBLICHE
@(VG$) PRIVATE
*/
// @C
// Classe TTable : public TLocalisamfile
// @END
class TTable : public TLocalisamfile
{
// @DPRIV
TString _tabname;
TRecfield * _cod;
public:
// @FPUB
virtual int first(word lockop = _nolock);
virtual int last(word lockop = _nolock);
virtual int next(word lockop = _nolock);
virtual int prev(word lockop = _nolock);
virtual int skip(TRecnotype nrec, word lockop = _nolock);
virtual int read(word op = _isequal, word lockop = _nolock, TDate& = (TDate&)botime);
virtual int read(TRectype& rec, word op = _isequal, word lockop = _nolock, TDate& = (TDate&)botime);
virtual int readat(TRecnotype nrec, word lockop = _nolock);
virtual int readat(TRectype& rec, TRecnotype nrec, word lockop = _nolock);
virtual const char* name() const { return (const char*) _tabname;}
TTable(const char* tabname, bool linkrecinst = FALSE);
virtual ~TTable();
static int name2log(const char* tabname);
};
#endif // __TABUTIL_H