// Members
PCSZ Fn; /* Path/Name of corresponding file */
PCSZ Ofn; /* Base Path/Name of matching index files*/
PCSZ Entry; /* Zip entry name or pattern */
PCSZ Pwd; /* Zip password */
PIXDEF To_Indx; /* To index definitions blocks */ bool Mapped; /* 0: disk file, 1: memory mapped file */ bool Zipped; /* true for zipped table file */ bool Mulentries; /* true for multiple entries */ bool Append; /* Used when creating zipped table */ bool Padded; /* true for padded table file */ bool Huge; /* true for files larger than 2GB */ bool Accept; /* true if wrong lines are accepted */ bool Eof; /* true if an EOF (0xA) character exists */ int *To_Pos; /* To array of block starting positions */ int Optimized; /* 0: No, 1:Yes, 2:Redo optimization */ int AllocBlks; /* Number of suballocated opt blocks */ int Compressed; /* 0: No, 1: gz, 2:zlib compressed file */ int Lrecl; /* Size of biggest record */ int AvgLen; /* Average size of records */ int Block; /* Number de blocks of FIX/VCT tables */ int Last; /* Number of elements of last block */ int Blksize; /* Size of padded blocks */ int Maxerr; /* Maximum number of bad records (DBF) */ int ReadMode; /* Specific to DBF */ int Ending; /* Length of end of lines */ char Teds; /* Binary table default endian setting */
}; // end of DOSDEF
/***********************************************************************/ /* This is the DOS/UNIX Access Method class declaration for files */ /* that are standard files with columns starting at fixed offset. */ /* The last column (and record) is of variable length. */ /***********************************************************************/ class DllExport TDBDOS : public TDBASE { friendclass XINDEX; friendclass DOSCOL; friendclass MAPCOL; friendclass TXTFAM; friendclass DOSFAM; friendclass VCTCOL; friend RCODE CntDeleteRow(PGLOBAL, PTDB, bool); public: // Constructors
TDBDOS(PDOSDEF tdp, PTXF txfp);
TDBDOS(PGLOBAL g, PTDBDOS tdbp);
// Members
PTXF Txfp; // To the File access method class //PBX To_BlkIdx; // To index test block
PBF To_BlkFil; // To evaluation block filter
PFIL SavFil; // Saved hidden filter char *To_Line; // Points to current processed line bool Abort; // TRUE when aborting UPDATE/DELETE bool Indxd; // TRUE for indexed UPDATE/DELETE int Lrecl; // Logical Record Length int AvgLen; // Logical Record Average Length //int Xeval; // BlockTest return value int Beval; // BlockEval return value
}; // end of class TDBDOS
/***********************************************************************/ /* Class DOSCOL: DOS access method column descriptor. */ /* This A.M. is used for text file tables under operating systems */ /* DOS, OS2, UNIX, WIN16 and WIN32. */ /***********************************************************************/ class DllExport DOSCOL : public COLBLK { friendclass TDBDOS; friendclass TDBFIX; public: // Constructors
DOSCOL(PGLOBAL g, PCOLDEF cdp, PTDB tp, PCOL cp, int i, PCSZ am = "DOS");
DOSCOL(DOSCOL *colp, PTDB tdbp); // Constructor used in copy process
// Default constructor not to be used
DOSCOL(void) = default;
// Members
PVBLK Min; // Array of block min values
PVBLK Max; // Array of block max values
PVBLK Bmap; // Array of block bitmap values
PVBLK Dval; // Array of column distinct values
PVAL To_Val; // To value used for Update/Insert
PVAL OldVal; // The previous value of the object. char *Buf; // Buffer used in read/write operations char Dsp; // The decimal separator bool Ldz; // True if field contains leading zeros bool Nod; // True if no decimal point int Dcm; // Last Dcm digits are decimals int Deplac; // Offset in dos_buf int Clustered; // 0:No 1:Yes int Sorted; // 0:No 1:Asc (2:Desc - NIY) int Ndv; // Number of distinct values int Nbm; // Number of uint in bitmap
}; // end of class DOSCOL
#endif// __TABDOS_H
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-08)
¤
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.