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

TBaseMap.InternalGetDataPtr

Gets a Pointer to the data for the specified map item.

Declaration

Source position: maps.pp line 115

protected function TBaseMap.InternalGetDataPtr(

  AItem: PMapItem

):Pointer;

Arguments

AItem

  

Map item examined in the method.

Function result

Pointer to the data for the specified map item.

Description

InternalGetDataPtr is a function used to get a Pointer to the data for the specified map item. AItem is a Pointer to the map item examined in the method. The return value is set to Nil when AItem has not been assigned, and no actions are performed in the method.

InternalGetDataPtr sets the Pointer in the return value to the position in AItem immediately after the ID value. InternalGetDataPtr is used in the implementation of methods like Delete and FreeData.

Do not call InternalGetDataPtr directly. Use one of the public methods in the class, or a descendant class like TMap which implements the GetDataPtr method.

See also

TBaseMap.Delete

  

Deletes the specified map item from the AVL Tree.

TMap.GetDataPtr

  

Gets a Pointer to the data for the specified map item.


Version 3.2 Generated 2024-02-25 Home