User Tools

Site Tools


api:dk11:delphi:gisfiledbf.tgis_filedbf

TGIS_FileDBF class

DK11 for Delphi | GisFileDBF.TGIS_FileDBF | Classes | Constructors | Fields | Methods | Properties

Encapsulation of DBF file access.

Available also on: .NET | Java.

Syntax

// Delphi
type
  TGIS_FileDBF = class( TGIS_BufferedFileStream )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_FileDBF : public TGIS_BufferedFileStream
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create an instance based on given file name.
Destroy public Standard destructor.
(Inherited from TGIS_BaseStream)

Fields

Inherited Protected
Name Visibility Description
skipEndMarkerFlag protected True if skip end marker.

Methods

Inherited Overrides Protected
Name Visibility Description
AddRecord public Add a new record to the database.
CopyHeader public Copy header to another file.
CopyRecords public Copy DBF file records.
doCreate protected Constructor helper.
(Inherited from TGIS_BufferedFileStream)
Eof public
(Inherited from TGIS_BufferedStream)
FlushBuffer public Flush all buffers.
(Inherited from TGIS_BufferedStream)
GetField public Get field given by _field_name from _record_no.
getRecordsCount protected Read number of records.
Read public
(Inherited from TGIS_BufferedStream)
ReadAsciiString public Read string of the width from the stream.
(Inherited from TGIS_Stream)
ReadByte public Read byte.
(Inherited from TGIS_BaseStream)
ReadBytesCnt public Read array of bytes
(Inherited from TGIS_Stream)
ReadBytesSafe public Read array of bytes
(Inherited from TGIS_Stream)
ReadCardinal public Read cardinal.
(Inherited from TGIS_BaseStream)
ReadDouble public Read short double.
(Inherited from TGIS_BaseStream)
ReadHeader public Read file header.
ReadHeader(Boolean) public Read file header.
ReadInt64 public Read int64.
(Inherited from TGIS_BaseStream)
ReadInteger public Read integer.
(Inherited from TGIS_BaseStream)
ReadLine public Read line from text file up to CR.
(Inherited from TGIS_Stream)
ReadShortInt public Read short integer.
(Inherited from TGIS_BaseStream)
ReadSingle public Read single.
(Inherited from TGIS_BaseStream)
ReadSmallInt public Read smallint.
(Inherited from TGIS_BaseStream)
ReadString public Read string of the width from the stream.
(Inherited from TGIS_Stream)
ReadStructure public Read field structure.
ReadToken public Read token (delimited by a space char) from text file.
(Inherited from TGIS_Stream)
ReadWord public Read word.
(Inherited from TGIS_BaseStream)
Seek public
(Inherited from TGIS_BufferedStream)
Write public
(Inherited from TGIS_BufferedStream)
WriteByte public Write byte.
(Inherited from TGIS_BaseStream)
WriteBytes public Write array of bytes
(Inherited from TGIS_Stream)
WriteBytesCnt public Write array of bytes
(Inherited from TGIS_Stream)
WriteCardinal public Write cardinal.
(Inherited from TGIS_BaseStream)
WriteDouble public Write double.
(Inherited from TGIS_BaseStream)
WriteHeader public Write file header.
WriteInteger public Write integer.
(Inherited from TGIS_BaseStream)
WriteLine public Write text line ended with CR/LF to the stream.
(Inherited from TGIS_Stream)
WriteRecord public Write DBF record.
WriteShortInt public Write short integer.
(Inherited from TGIS_BaseStream)
WriteSingle public Write Single.
(Inherited from TGIS_BaseStream)
WriteString public Write a string to the stream.
(Inherited from TGIS_Stream)
WriteStringCnt public Write a string to the stream.
(Inherited from TGIS_Stream)
WriteStructure public Write field structure.
WriteVarAsString public Write a variant as a string to the stream.
(Inherited from TGIS_Stream)
WriteWord public Write word.
(Inherited from TGIS_BaseStream)

Properties

Inherited Protected
Name Visibility Description
CodePage public Code page of the stream.
(Inherited from TGIS_Stream)
FixCodePage public If True then program will try to switch between UTF8 and System Code Page to properly recognize files with improper setup.
(Inherited from TGIS_Stream)
Path public Stream file path (if applicable).
(Inherited from TGIS_BufferedFileStream)
Position public
(Inherited from TGIS_BufferedStream)
RecordsCount public Number of records in DBF file.
Size public Get actual size of the stream.
(Inherited from TGIS_BufferedStream)
SkipEndMarker public Skip writing end marker byte upon a file close.

2020/07/31 01:04

Page Tools