Sign in Join
FPDoc Onlineexperiment

TBlockResourceCache class

In unit LCLResCache

TBlockResourceCache - a cache for Block resources.

Declaration

pascal
TBlockResourceCache = class(THandleResourceCache)

Inheritance

  1. TBlockResourceCache
  2. THandleResourceCache
  3. TResourceCache

Descends from it: TBrushHandleCache

Description

Nothing more than the line above yet.

Properties

DataSizepublicDataSize - the total size of the data in the Block Resource.

Methods

CreatepublicConstructor for the class instance.
FindDescriptorpublicFindDescriptor - returns the descriptor whose pointer is given.
AddResourcepublicAddResource - inserts a Block resource into the list, referenced by a handle and a descriptor pointer, and returns the Block Resource Cache descriptor.
CompareDescriptorspublicCompareDescriptors - returns 0 if descriptors are equal, -1 if Desc1 is less, 1 if Desc1 is greater.

Events

OnCompareDescPtrWithDescriptorpublicOnCompareDescPtrWithDescriptor - the result of a comparison between a descriptor pointer and the descriptor itself.

Fields

FOnCompareDescPtrWithDescriptorprotectedFOnCompareDescPtrWithDescriptor - local variable to hold the result of a comparison between a descriptor pointer and the descriptor itself.

Inherited

From THandleResourceCache (1)

FindItem

From TResourceCache (14)

Clear CompareItems ConsistencyCheck Destroy ItemIsUsed ItemUnused ItemUsed Lock MaxUnusedItem RemoveDescriptor RemoveItem ResourceCacheDescriptorClass ResourceCacheItemClass Unlock

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.