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

TMapID

Represents an ID in a map association.

Declaration

Source position: maps.pp line 53

type TMapID = record

  case TMapIdType of

    itu1: (

        U1: Byte;

  

Unsigned Byte value for the ID (1 Byte).

      );

    its1: (

        S1: ShortInt;

  

.

      );

    itu2: (

        U2: Word;

  

Unsigned Word value for the ID (2 Bytes).

      );

    its2: (

        S2: SmallInt;

  

Signed SmallInt value for the ID (2 Bytes).

      );

    itu4: (

        U4: LongWord;

  

Unsigned LongWord value for the ID (4 Bytes).

      );

    its4: (

        S4: LongInt;

  

Signed LongInt value for the ID (4 Bytes).

      );

    itu8: (

        U8: QWord;

  

Unsigned QWord value for the ID (8 Bytes).

      );

    its8: (

        S8: Int64;

  

Signed Int64 value for the ID (8 Bytes).

      );

    itu16: (

        U16H: QWord;

  

Unsigned QWords (Low and High) (16 Bytes) (with Endian byte order).

        U16L: QWord;

  

.

      );

    its16: (

        S16H: Int64;

  

.

        S16L: QWord;

  

Signed QWord (Low) and Int64 (High) (16 Bytes) (with Endian byte order).

      );

    itu32: (

        U32HH: QWord;

  

Unsigned QWords (LL, LH, HL, HH) (32 Bytes) (with Endian byte order).

        U32HL: QWord;

  

Unsigned QWords (LL, LH, HL, HH) (32 Bytes) (with Endian byte order).

        U32LH: QWord;

  

Unsigned QWords (LL, LH, HL, HH) (32 Bytes) (with Endian byte order).

        U32LL: QWord;

  

Unsigned QWords (LL, LH, HL, HH) (32 Bytes) (with Endian byte order).

      );

    its32: (

        S32HH: Int64;

  

Signed QWords (LL, LH, HL) and signed Int64 (HH) (with Endian byte order).

        S32HL: QWord;

  

Signed QWords (LL, LH, HL) and signed Int64 (HH) (with Endian byte order).

        S32LH: QWord;

  

Signed QWords (LL, LH, HL) and signed Int64 (HH) (with Endian byte order).

        S32LL: QWord;

  

Signed QWords (LL, LH, HL) and signed Int64 (HH) (with Endian byte order).

      );

end;

Description

TMapID is a record type used to provide access to the byte values in the ID for a map association. Members are provided in TMapID to represent each byte in the signed or unsigned value used in the ID.

Values in the TMapIdType enumeration indicate which members in the variable structure are needed for the ID value. In other words, assigning an unsigned Byte value to the ID yields access to the U1 member. Assigning a signed ShortInt value to ID, yields access to the S1 member. Et. al.

The implementation for 16- and 32-byte ID values is platform- or OS-specific, and takes into account the Endian byte order for the values.

TMapID is the type used for the ID member in TMapItem.


Version 3.2 Generated 2024-02-25 Home