Skip to content

TPackageEnumerator

Enumerator for iterating through package collections

Declaration

Source position: fpmkunit.pp line 1143

type

  TPackageEnumerator = class(TCollectionEnumerator)
  public
    function GetCurrent : TPackage;
    property Current: TPackage; {r}
  end;

Description

TPackageEnumerator provides iteration support for TPackages collections using the for-in syntax. This class implements the enumerator pattern allowing convenient iteration through package collections.

The enumerator maintains the current position and provides access to the current TPackage object during iteration loops.

Properties

Member Visibility Description
Current read only public Current package being enumerated
See all Properties

Methods

Member Visibility Description
GetCurrent public Gets current package in enumeration
See all Methods