TGenericResource class
Generic resource class
Declaration
TGenericResource = class(TAbstractResource)Inheritance
- TGenericResource
- 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
GetType | protected | Returns the type of the resource |
GetName | protected | Returns the name of the resource |
ChangeDescTypeAllowed | protected | Reports whether changing the type of resource type or name is allowed |
ChangeDescValueAllowed | protected | Reports whether changing the value of resource type or name is allowed |
NotifyResourcesLoaded | protected | Tells the resource that all resources have been loaded |
Create | public | Creates a new resource |
Destroy | public | Destroys the object |
UpdateRawData | public | Updates RawData stream. |
Inherited
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
