User Tools

Site Tools


api:dk11:delphi:gisstreams.tgis_filestream

TGIS_FileStream class

DK11 for Delphi | GisStreams.TGIS_FileStream | Classes | Constructors | Fields | Methods | Properties

Equivalent to TFileStream.

Available also on: .NET | Java.

Syntax

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

Inheritance

→ TStream → TGIS_BaseStreamTGIS_HandleStream

Constructors

Inherited Overrides Protected
Name Visibility Description
Create(String; Word) public Create an instance of stream.
Create(String; Word; Cardinal) public Create an instance of stream.
Destroy public Standard destructor.
(Overrides TGIS_HandleStream.Destroy)

Fields

Inherited Protected
Name Visibility Description
FStream protected File handle.
(Inherited from TGIS_HandleStream)

Methods

Inherited Overrides Protected
Name Visibility Description
Read public See documentation for TStream in Delphi help.
(Inherited from TGIS_HandleStream)
ReadByte public Read byte.
(Inherited from TGIS_BaseStream)
ReadCardinal public Read cardinal.
(Inherited from TGIS_BaseStream)
ReadDouble public Read short double.
(Inherited from TGIS_BaseStream)
ReadInt64 public Read int64.
(Inherited from TGIS_BaseStream)
ReadInteger public Read integer.
(Inherited from TGIS_BaseStream)
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)
ReadWord public Read word.
(Inherited from TGIS_BaseStream)
Seek(Int64; TSeekOrigin) public See documentation for TStream in Delphi help.
(Inherited from TGIS_HandleStream)
Seek(LongInt; Word) public See documentation for TStream in Delphi help.
(Inherited from TGIS_HandleStream)
Write public See documentation for TStream in Delphi help.
(Inherited from TGIS_HandleStream)
WriteByte public Write byte.
(Inherited from TGIS_BaseStream)
WriteCardinal public Write cardinal.
(Inherited from TGIS_BaseStream)
WriteDouble public Write double.
(Inherited from TGIS_BaseStream)
WriteInteger public Write integer.
(Inherited from TGIS_BaseStream)
WriteShortInt public Write short integer.
(Inherited from TGIS_BaseStream)
WriteSingle public Write Single.
(Inherited from TGIS_BaseStream)
WriteWord public Write word.
(Inherited from TGIS_BaseStream)

Properties

Inherited Protected
Name Visibility Description
FileName public See documentation for TFileStream in Delphi help.
PatrolRead public If True, use patrol read to fetch whole file into OS cache.
Position public See documentation for TStream in Delphi help.
(Inherited from TGIS_HandleStream)
Size public See documentation for TStream in Delphi help.
(Inherited from TGIS_HandleStream)

Remarks

Available metadata keys:

Metadata Values Default Description
TGIS_Stream.PatrolRead TRUE
FALSE
FALSE If true then file prefetching (cache warming) is enabled. Value can be changed only upon application startup (before opening any file).

2021/01/22 21:08

Page Tools