User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_filedbf

TGIS_FileDBF class

DK11 for .NET | TatukGIS.NDK.TGIS_FileDBF | Classes | Constructors | Fields | Methods | Properties

Encapsulation of DBF file access.

Available also on: Delphi | Java.

Syntax

// C#
public class TGIS_FileDBF : TGIS_BufferedFileStream
{
}
' VisualBasic
Public Class TGIS_FileDBF
  Inherits TGIS_BufferedFileStream
End Class
// Oxygene
type
  TGIS_FileDBF = public class( TGIS_BufferedFileStream )
  end;

Inheritance

→ TGIS_BaseStream → TGIS_StreamTGIS_BufferedStreamTGIS_BufferedFileStream

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_FileDBF() public Create an instance based on given file name.

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)
Flush 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)
ReadBytesCnt public Read array of bytes
(Inherited from TGIS_Stream)
ReadBytesSafe public Read array of bytes
(Inherited from TGIS_Stream)
ReadHeader public Read file header.
ReadHeader(bool) public Read file header.
ReadLine public Read line from text file up to CR.
(Inherited from TGIS_Stream)
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)
Seek public
(Inherited from TGIS_BufferedStream)
SetLength public
(Inherited from TGIS_BufferedStream)
SetSize protected Set stream size
(Inherited from TGIS_BufferedStream)
Write public
(Inherited from TGIS_BufferedStream)
WriteBytes public Write array of bytes
(Inherited from TGIS_Stream)
WriteBytesCnt public Write array of bytes
(Inherited from TGIS_Stream)
WriteHeader public Write file header.
WriteLine public Write text line ended with CR/LF to the stream.
(Inherited from TGIS_Stream)
WriteRecord public Write DBF record.
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)

Properties

Inherited Protected
Name Visibility Description
CodePage public Code page of the stream.
(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.

2019/01/25 17:02