Class TDbfFile
Unit
Declaration
type TDbfFile = class(TPagedFile)
Description
This item has no description.
Hierarchy
- TObject
- TPagedFile
- TDbfFile
Overview
Fields
| Protected | FMdxFile: TIndexFile; |
| Protected | FMemoFile: TMemoFile; |
| Protected | FFieldDefs: TDbfFieldDefs; |
| Protected | FIndexNames: TStringList; |
| Protected | FIndexFiles: TList; |
| Protected | FDbfVersion: TXBaseVersion; |
| Protected | FPrevBuffer: TRecordBuffer; |
| Protected | FDefaultBuffer: TRecordBuffer; |
| Protected | FRecordBufferSize: Integer; |
| Protected | FLockUserLen: DWORD; |
| Protected | FFileCodePage: Cardinal; |
| Protected | FUseCodePage: Cardinal; |
| Protected | FFileLangId: Byte; |
| Protected | FCountUse: Integer; |
| Protected | FCurIndex: Integer; |
| Protected | FForceClose: Boolean; |
| Protected | FLockField: TDbfFieldDef; |
| Protected | FNullField: TDbfFieldDef; |
| Protected | FAutoIncPresent: Boolean; |
| Protected | FCopyDateTimeAsString: Boolean; |
| Protected | FDateTimeHandling: TDateTimeHandling; |
| Protected | FOnLocaleError: TDbfLocaleErrorEvent; |
| Protected | FOnIndexMissing: TDbfIndexMissingEvent; |
Methods
| Protected | function HasBlob: Boolean; |
| Protected | function GetMemoExt: string; |
| Protected | function GetLanguageId: Integer; |
| Protected | function GetLanguageStr: string; |
| Protected | procedure ConstructFieldDefs; |
| Protected | procedure InitDefaultBuffer; |
| Protected | procedure UpdateNullField(Buffer: Pointer; AFieldDef: TDbfFieldDef; Action: TUpdateNullField); |
| Protected | procedure WriteLockInfo(Buffer: TRecordBuffer); |
| Public | constructor Create; |
| Public | destructor Destroy; override; |
| Public | procedure Open; |
| Public | procedure Close; |
| Public | procedure Zap; |
| Public | procedure FinishCreate(AFieldDefs: TDbfFieldDefs; MemoSize: Integer); |
| Public | function GetIndexByName(AIndexName: string): TIndexFile; |
| Public | procedure SetRecordSize(NewSize: Integer); override; |
| Public | procedure TryExclusive; override; |
| Public | procedure EndExclusive; override; |
| Public | procedure OpenIndex(IndexName, IndexField: string; CreateIndex: Boolean; Options: TIndexOptions); |
| Public | function DeleteIndex(const AIndexName: string): Boolean; |
| Public | procedure CloseIndex(AIndexName: string); |
| Public | procedure RepageIndex(AIndexFile: string); |
| Public | procedure CompactIndex(AIndexFile: string); |
| Public | function Insert(Buffer: TRecordBuffer): integer; |
| Public | procedure WriteHeader; override; |
| Public | procedure ApplyAutoIncToBuffer(DestBuf: TRecordBuffer); |
| Public | procedure FastPackTable; |
| Public | procedure RestructureTable(DbfFieldDefs: TDbfFieldDefs; Pack: Boolean); |
| Public | procedure Rename(DestFileName: string; NewIndexFileNames: TStrings; DeleteFiles: boolean); |
| Public | function GetFieldInfo(FieldName: string): TDbfFieldDef; |
| Public | function GetFieldData(Column: Integer; DataType: TFieldType; Src,Dst: Pointer; NativeFormat: boolean): Boolean; |
| Public | function GetFieldDataFromDef(AFieldDef: TDbfFieldDef; DataType: TFieldType; Src, Dst: Pointer; NativeFormat: boolean): Boolean; |
| Public | procedure SetFieldData(Column: Integer; DataType: TFieldType; Src,Dst: Pointer; NativeFormat: boolean); |
| Public | procedure InitRecord(DestBuf: TRecordBuffer); |
| Public | procedure PackIndex(lIndexFile: TIndexFile; AIndexName: string); |
| Public | procedure RegenerateIndexes; |
| Public | procedure LockRecord(RecNo: Integer; Buffer: TRecordBuffer); |
| Public | procedure UnlockRecord(RecNo: Integer; Buffer: TRecordBuffer); |
| Public | procedure RecordDeleted(RecNo: Integer; Buffer: TRecordBuffer); |
| Public | procedure RecordRecalled(RecNo: Integer; Buffer: TRecordBuffer); |
Properties
Description
Fields
| Protected | FMdxFile: TIndexFile; |
|
This item has no description. | |
| Protected | FMemoFile: TMemoFile; |
|
This item has no description. | |
| Protected | FFieldDefs: TDbfFieldDefs; |
|
This item has no description. | |
| Protected | FIndexNames: TStringList; |
|
This item has no description. | |
| Protected | FIndexFiles: TList; |
|
This item has no description. | |
| Protected | FDbfVersion: TXBaseVersion; |
|
This item has no description. | |
| Protected | FPrevBuffer: TRecordBuffer; |
|
This item has no description. | |
| Protected | FDefaultBuffer: TRecordBuffer; |
|
This item has no description. | |
| Protected | FRecordBufferSize: Integer; |
|
This item has no description. | |
| Protected | FLockUserLen: DWORD; |
|
This item has no description. | |
| Protected | FFileCodePage: Cardinal; |
|
This item has no description. | |
| Protected | FUseCodePage: Cardinal; |
|
This item has no description. | |
| Protected | FFileLangId: Byte; |
|
This item has no description. | |
| Protected | FCountUse: Integer; |
|
This item has no description. | |
| Protected | FCurIndex: Integer; |
|
This item has no description. | |
| Protected | FForceClose: Boolean; |
|
This item has no description. | |
| Protected | FLockField: TDbfFieldDef; |
|
This item has no description. | |
| Protected | FNullField: TDbfFieldDef; |
|
This item has no description. | |
| Protected | FAutoIncPresent: Boolean; |
|
This item has no description. | |
| Protected | FCopyDateTimeAsString: Boolean; |
|
This item has no description. | |
| Protected | FDateTimeHandling: TDateTimeHandling; |
|
This item has no description. | |
| Protected | FOnLocaleError: TDbfLocaleErrorEvent; |
|
This item has no description. | |
| Protected | FOnIndexMissing: TDbfIndexMissingEvent; |
|
This item has no description. | |
Methods
| Protected | function HasBlob: Boolean; |
|
This item has no description. | |
| Protected | function GetMemoExt: string; |
|
This item has no description. | |
| Protected | function GetLanguageId: Integer; |
|
This item has no description. | |
| Protected | function GetLanguageStr: string; |
|
This item has no description. | |
| Protected | procedure ConstructFieldDefs; |
|
This item has no description. | |
| Protected | procedure InitDefaultBuffer; |
|
This item has no description. | |
| Protected | procedure UpdateNullField(Buffer: Pointer; AFieldDef: TDbfFieldDef; Action: TUpdateNullField); |
|
This item has no description. | |
| Protected | procedure WriteLockInfo(Buffer: TRecordBuffer); |
|
This item has no description. | |
| Public | constructor Create; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | procedure Open; |
|
This item has no description. | |
| Public | procedure Close; |
|
This item has no description. | |
| Public | procedure Zap; |
|
This item has no description. | |
| Public | procedure FinishCreate(AFieldDefs: TDbfFieldDefs; MemoSize: Integer); |
|
This item has no description. | |
| Public | function GetIndexByName(AIndexName: string): TIndexFile; |
|
This item has no description. | |
| Public | procedure SetRecordSize(NewSize: Integer); override; |
|
This item has no description. | |
| Public | procedure TryExclusive; override; |
|
This item has no description. | |
| Public | procedure EndExclusive; override; |
|
This item has no description. | |
| Public | procedure OpenIndex(IndexName, IndexField: string; CreateIndex: Boolean; Options: TIndexOptions); |
|
This item has no description. | |
| Public | function DeleteIndex(const AIndexName: string): Boolean; |
|
This item has no description. | |
| Public | procedure CloseIndex(AIndexName: string); |
|
This item has no description. | |
| Public | procedure RepageIndex(AIndexFile: string); |
|
This item has no description. | |
| Public | procedure CompactIndex(AIndexFile: string); |
|
This item has no description. | |
| Public | function Insert(Buffer: TRecordBuffer): integer; |
|
This item has no description. | |
| Public | procedure WriteHeader; override; |
|
This item has no description. | |
| Public | procedure ApplyAutoIncToBuffer(DestBuf: TRecordBuffer); |
|
This item has no description. | |
| Public | procedure FastPackTable; |
|
This item has no description. | |
| Public | procedure RestructureTable(DbfFieldDefs: TDbfFieldDefs; Pack: Boolean); |
|
This item has no description. | |
| Public | procedure Rename(DestFileName: string; NewIndexFileNames: TStrings; DeleteFiles: boolean); |
|
This item has no description. | |
| Public | function GetFieldInfo(FieldName: string): TDbfFieldDef; |
|
This item has no description. | |
| Public | function GetFieldData(Column: Integer; DataType: TFieldType; Src,Dst: Pointer; NativeFormat: boolean): Boolean; |
|
This item has no description. | |
| Public | function GetFieldDataFromDef(AFieldDef: TDbfFieldDef; DataType: TFieldType; Src, Dst: Pointer; NativeFormat: boolean): Boolean; |
|
This item has no description. | |
| Public | procedure SetFieldData(Column: Integer; DataType: TFieldType; Src,Dst: Pointer; NativeFormat: boolean); |
|
This item has no description. | |
| Public | procedure InitRecord(DestBuf: TRecordBuffer); |
|
This item has no description. | |
| Public | procedure PackIndex(lIndexFile: TIndexFile; AIndexName: string); |
|
This item has no description. | |
| Public | procedure RegenerateIndexes; |
|
This item has no description. | |
| Public | procedure LockRecord(RecNo: Integer; Buffer: TRecordBuffer); |
|
This item has no description. | |
| Public | procedure UnlockRecord(RecNo: Integer; Buffer: TRecordBuffer); |
|
This item has no description. | |
| Public | procedure RecordDeleted(RecNo: Integer; Buffer: TRecordBuffer); |
|
This item has no description. | |
| Public | procedure RecordRecalled(RecNo: Integer; Buffer: TRecordBuffer); |
|
This item has no description. | |
Properties
| Public | property MemoFile: TMemoFile read FMemoFile; |
|
This item has no description. | |
| Public | property FieldDefs: TDbfFieldDefs read FFieldDefs; |
|
This item has no description. | |
| Public | property IndexNames: TStringList read FIndexNames; |
|
This item has no description. | |
| Public | property IndexFiles: TList read FIndexFiles; |
|
This item has no description. | |
| Public | property MdxFile: TIndexFile read FMdxFile; |
|
This item has no description. | |
| Public | property LanguageId: Integer read GetLanguageId; |
|
This item has no description. | |
| Public | property LanguageStr: string read GetLanguageStr; |
|
This item has no description. | |
| Public | property FileCodePage: Cardinal read FFileCodePage; |
|
This item has no description. | |
| Public | property UseCodePage: Cardinal read FUseCodePage write FUseCodePage; |
|
This item has no description. | |
| Public | property FileLangId: Byte read FFileLangId write FFileLangId; |
|
This item has no description. | |
| Public | property DbfVersion: TXBaseVersion read FDbfVersion write FDbfVersion; |
|
This item has no description. | |
| Public | property PrevBuffer: TRecordBuffer read FPrevBuffer; |
|
This item has no description. | |
| Public | property ForceClose: Boolean read FForceClose; |
|
This item has no description. | |
| Public | property CopyDateTimeAsString: Boolean read FCopyDateTimeAsString write FCopyDateTimeAsString; |
|
This item has no description. | |
| Public | property DateTimeHandling: TDateTimeHandling read FDateTimeHandling write FDateTimeHandling; |
|
This item has no description. | |
| Public | property OnIndexMissing: TDbfIndexMissingEvent read FOnIndexMissing write FOnIndexMissing; |
|
This item has no description. | |
| Public | property OnLocaleError: TDbfLocaleErrorEvent read FOnLocaleError write FOnLocaleError; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.