Unit 'fgl' Package
[Overview][Constants][Types][Classes][Index] [#rtl]

TFPGMapInterfacedObjectData.OnKeyCompare

Compare function for key values.

Declaration

Source position: fgl.pp line 434

public property TFPGMapInterfacedObjectData.OnKeyCompare : TKeyCompareFunc
  read FOnKeyCompare
  write SetOnKeyCompare;

Description

OnKeyCompare can be set to a function that compares key values. The default value for this event is a function that compares keys based on a byte-by-byte comparison of the memory block. The function must have the following semantics:

See also

TFPGMapInterfacedObjectData.OnDataCompare

  

Compare function for data values.


Documentation generated on: Jul 24 2023