TBaseMap.InternalGetDataPtr function
Gets a Pointer to the data for the specified map item.
Declaration
function InternalGetDataPtr(AItem: PMapItem): PointerDescription
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
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
