[Overview][Types][Classes][Index] Reference for unit 'FileReferenceList' (#lazutils)

TFileReferenceList

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

Implements a list used to maintain TFileReference instances.

Declaration

Source position: filereferencelist.pas line 59

type TFileReferenceList = class

public

  constructor Create;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure Clear;

  

Removes any tree nodes in the internal AVL tree.

  procedure BeginUpdate;

  

Increments the UpdateLock for the class instance.

  procedure EndUpdate;

  

Decrements the UpdateLock and signals OnChange when needed.

  procedure AddFilename();

  

Adds a reference-counted file name to the list.

  procedure RemoveFilename();

  

Remove a reference for the specified file name.

  function GetFileReference();

  

Gets an existing TFileReference instance for the specified file name.

  function CreateSearchPathFromAllFiles;

  

Gets a delimited list of search paths for the reference-counted files in the list.

  function CreateFileList;

  

Creates and returns a TStringList instance with the file names in the list.

  property TimeStamp: Integer; [r]

  

Contains the timestamp value for the last change to the list.

  property OnChanged: TNotifyEvent; [rw]

  

Event handler signalled when items in the list have been changed.

  property UpdateLock: Integer; [r]

  

Contains the active update counter for the list.

end;

Inheritance

TFileReferenceList

  

Implements a list used to maintain TFileReference instances.

|

TObject


Version 4.0 Generated 2025-05-03 Home