Declaration¶
Source position: fpmkunit.pp line 1151
type
TPackages = class(TNamedCollection)
public
function AddPackage : TPackage;
function GetEnumerator : TPackageEnumerator;
property Packages[AName : string]: TPackage; {r}
property PackageItems[AIndex : Integer]: TPackage; {rw}
end;
Inheritance¶
Description¶
TPackages is a managed collection class that stores and provides access to multiple TPackage objects. This class supports enumeration, indexed access, and package lookup by name.
The collection manages package objects and provides various methods for adding, accessing, and iterating through packages in the fpmake build system.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| PackageItems | public | Indexed access to packages in the collection |
| Packages read only | public | Access to packages by name |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| AddPackage | public | Adds a new package to the collection |
| GetEnumerator | public | Gets enumerator for iterating packages |