Sign in Join
FPDoc Onlineexperiment

TGenericResource class

In unit resource

Generic resource class

Declaration

pascal
TGenericResource = class(TAbstractResource)

Inheritance

  1. TGenericResource
  2. TAbstractResource

Description

This class represents a generic resource.

It is suitable to use in all situations where a higher level class is not needed (e.g. the resource raw data is made of arbitrary data) or when total low-level control is desirable.

This class is also the default one that is used by TResourceFactory when it finds no class matching the given type.

See also

Methods

GetTypeprotectedReturns the type of the resource
GetNameprotectedReturns the name of the resource
ChangeDescTypeAllowedprotectedReports whether changing the type of resource type or name is allowed
ChangeDescValueAllowedprotectedReports whether changing the value of resource type or name is allowed
NotifyResourcesLoadedprotectedTells the resource that all resources have been loaded
CreatepublicCreates a new resource
DestroypublicDestroys the object
UpdateRawDatapublicUpdates RawData stream.

Inherited

From TAbstractResource (20)

_Type CacheData Characteristics CodePage CompareContents DataOffset DataSize DataVersion HeaderSize LangID MemoryFlags Name Owner OwnerList RawData SetChildOwner SetCustomRawDataStream SetDescOwner SetOwnerList Version

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