CacheCls unit
Unit implementing cache class.
The CacheCls unit implements a caching class: similar to a hash
class, it can be used to cache data, associated with string values (keys).
The class is calls TCache
Classes and records
ECacheError | class | Exception class used in the cachecls unit. |
TCache | class | Cache class. |
TCacheSlot | record | Record representing 1 item in the cache list. |
Types
PCacheSlot | type | Pointer to TCacheSlot record. |
PCacheSlotArray | type | Pointer to TCacheSlotArray array. |
TCacheSlotArray | type | Array of TCacheSlot. |
TOnFreeSlot | procedure type | Callback called when a slot must be freed. |
TOnIsDataEqual | procedure type | Callback type to check whether 2 data types are equal. |
Resource strings
SInvalidIndex | resource string | Message shown when an invalid index is passed. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
