/***********************************************************************/ /* This is the DOS/UNIX Access Method class declaration for files */ /* that are standard files with columns starting at fixed offset. */ /* This class is for fixed formatted files. */ /***********************************************************************/ class DllExport TDBFIX : public TDBDOS { friendclass FIXCOL; friendclass BINCOL; public: // Constructor
TDBFIX(PDOSDEF tdp, PTXF txfp);
TDBFIX(PGLOBAL g, PTDBFIX tdbp);
// Members char Teds; /* Binary table default endian setting */
}; // end of class TDBFIX
/***********************************************************************/ /* Class BINCOL: BIN access method column descriptor. */ /* This A.M. is used for file processed by blocks. */ /***********************************************************************/ class DllExport BINCOL : public DOSCOL { friendclass TDBFIX; public: // Constructors
BINCOL(PGLOBAL g, PCOLDEF cdp, PTDB tp, PCOL cp, int i, PCSZ am = "BIN");
BINCOL(BINCOL *colp, PTDB tdbp); // Constructor used in copy process
// Implementation int GetAmType(void) override {return TYPE_AM_BIN;} int GetDeplac(void) {return Deplac;} int GetFileSize(void)
{return N ? N : GetTypeSize(Buf_Type, Long);}
protected:
BINCOL(void) = default; // Default constructor not to be used
// Members staticconstchar Endian; // The host endian setting (L or B) char *Buff; // Utility buffer char Eds; // The file endian setting char Fmt; // The converted value format int N; // The number of bytes in the file int M; // The buffer type size int Lim; // Min(N,M)
}; // end of class BINCOL
/***********************************************************************/ /* This is the class declaration for the DBF columns catalog table. */ /***********************************************************************/ class TDBDCL : public TDBCAT { public: // Constructor
TDBDCL(PDOSDEF tdp) : TDBCAT(tdp)
{Fn = tdp->GetFn(); Topt = tdp->GetTopt();}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.