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

TBaseMap.InternalGetId

Get the ID value for the specified map item.

Declaration

Source position: maps.pp line 116

protected function TBaseMap.InternalGetId(

  AItem: PMapItem;

  out AID

):Boolean;

Arguments

AItem

  

Map item examined in the method.

AID

  

Value for the ID in the specified map item.

Function result

False if the specified map item is not a valid Pointer.

Description

InternalGetId is a Boolean function used to get the ID value for the specified map item. AItem is a Pointer to the map item examined in the method. The return value is False if AItem has not been assigned (contains Nil), and no actions are performed in the method.

InternalGetId stores the ID value from AItem in the AID parameter. The number of bytes used for the ID is specified using a TMapIdType value in the constructor for the class.

InternalGetID is used primarily in the implementation of TBaseMapIterator and descendant classes.


Version 3.2 Generated 2024-02-25 Home