[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

TResourceFile

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Resource file

Declaration

Source position: objects.pp line 503

type TResourceFile = object(TObject) end;

  Stream: PStream;

  

Actual file stream

  Modified: Boolean;

  

Have resources changed ?

  constructor Init();

  

Instantiate a new instance.

  destructor Done; virtual;

  

Destroy the instance and remove it from memory.

  function Count;

  

Number of resources in the file

  function KeyAt();

  

Return the key of the item at a certain position.

  function Get();

  

Return a resource by key name.

  function SwitchTo();

  

Write resources to a new stream.

  procedure Flush;

  

Writes the resources to the stream.

  procedure Delete();

  

Delete a resource from the file

  procedure Put();

  

Set a resource by key name.

Inheritance

TResourceFile

  

Resource file

TObject

  

Basis of all objects

Description

TResourceFile represents the resources in a binary file image.


Documentation generated on: Nov 16 2015