[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TAbstractObjectReader.ReadDate

Read a date value from the stream.

Declaration

Source position: classesh.inc line 1031

public function TAbstractObjectReader.ReadDate: TDateTime; virtual; abstract;

Description

ReadDate is called by the streaming system when it wants to read a date/time value from the stream (i.e. after ReadValue returned a valuetype of vaDate). The return value should be the date/time value. (This value can be stored as a float, since TDateTime is nothing but a float.)

See also

TAbstractObjectReader.ReadFloat

  

Read a float value from the stream.

TAbstractObjectReader.ReadSingle

  

Read a single (real-type) value from the stream.

TAbstractObjectReader.ReadIdent

  

Read an identifier from the stream.

TAbstractObjectReader.ReadInt8

  

Read an 8-bit integer from the stream.

TAbstractObjectReader.ReadInt16

  

Read a 16-bit integer from the stream.

TAbstractObjectReader.ReadInt32

  

Read a 32-bit integer from the stream.

TAbstractObjectReader.ReadInt64

  

Read a 64-bit integer from the stream.

TabstractObjectReader.ReadSet

  

Reads a set from the stream.

TabstractObjectReader.ReadStr

  

Read a shortstring from the stream

TabstractObjectReader.ReadString

  

Read a string of type StringType from the stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.