Skip to content

TResourceFile

Resource file.

Declaration

Source position: objects.pp line 578

type

  TResourceFile = object(TObject)
    Stream: PStream = ^TStream;
    Modified: Boolean;
    constructor Init;
    destructor Done;
    function Count : Sw_Integer;
    function KeyAt : string;
    function Get : PObject;
    function SwitchTo : PStream;
    procedure Flush;
    procedure Delete;
    procedure Put;
  end;

Description

TResourceFile represents the resources in a binary file image.

Methods

Member Visibility Description
Count default Number of resources in the file.
Delete default Delete a resource from the file.
Done default Destroy the instance and remove it from memory.
Flush default Writes the resources to the stream.
Get default Return a resource by key name.
Init default Instantiate a new instance.
KeyAt default Return the key of the item at a certain position.
Put default Set a resource by key name.
SwitchTo default Write resources to a new stream.
See all Methods

Fieldss

Member Visibility Description
Modified default Have resources changed ?
Stream default Actual file stream.
See all Fieldss