TAbstractResourceWriter class
Base abstract resource writer class
Declaration
TAbstractResourceWriter = classDescends from it: TCoffResourceWriter TElfResourceWriter TExternalResourceWriter TMachOResourceWriter TResResourceWriter
Description
This is the base class that represents a resource writer.
A resource writer is an object whose job is to write all resources contained in a TResources object to a stream in a specific format.
Typically, a TResources object invokes Write method of the resource writer when it wants the writer to write data to a stream.
Usually each resource writer registers itself with TResources class in the initialization section of the unit in which it is implemented: this way a TResources object can find it when it is asked to write itself to a file, and no writer was specified (the writer is found based on the extension of the file to write to).
See also
- TResources
- TAbstractResource
- TAbstractResourceReader
- TResResourceWriter
- TCoffResourceWriter
- TElfResourceWriter
- TExternalResourceWriter
Properties
Extensions | public | The extensions of file types the writer is able to write |
Description | public | The writer description |
Methods
GetTree | protected | Gets the internal resource tree of a TResources object |
GetExtensions | protected | Returns the extensions the writer is registered for |
GetDescription | protected | Returns the description of the writer |
Write | protected | Writes resources to a stream |
Create | public | Creates a new writer object |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
