Sign in Join
FPDoc Onlineexperiment

TPackageEnumerator class

In unit fpMkUnit

Enumerator for iterating through package collections

Declaration

pascal
TPackageEnumerator = class(TCollectionEnumerator)

Inheritance

  1. TPackageEnumerator
  2. TCollectionEnumerator

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

CurrentpublicCurrent package being enumerated

Methods

GetCurrentpublicGets current package in enumeration

Inherited

From TCollectionEnumerator (2)

Create MoveNext

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.