[Overview][Constants][Types][Classes][Index] |
Create a new map with given key and data size.
Source position: fgl.pp line 269
public constructor TFPSMap.Create( |
AKeySize: Integer = sizeof(Pointer); |
ADataSize: Integer = sizeof(Pointer) |
); |
AKeySize |
|
Size for map keys |
ADataSize |
|
Size for map data |
Create instantiates a new TFPSMap instance and initializes TFPSMap.KeySize and TFPSMap.DataSize with AKeySize and ADataSize, respectively. It also initializes the TFPSMap.OnDataPtrCompare and TFPSMap.OnKeyPtrCompare properties to functions that compare memory blocks.
None.
TFPSMap.Destroy |
||
|
Size (in bytes) for the key |
|
|
Size (in bytes) for the data associated with keys |
|
|
Callback to compare 2 data items |
|
|
Callback to compare 2 keys |