Sign in Join
FPDoc Onlineexperiment

TPackageVariants class

In unit fpMkUnit

Collection of package variants

Declaration

pascal
TPackageVariants = class(TNamedCollection)

Inheritance

  1. TPackageVariants
  2. TNamedCollection
  3. TCollection
  4. TPersistent
  5. TObject

Description

TPackageVariants is a collection class that manages multiple TPackageVariant objects. This class provides methods for adding, accessing, and enumerating package variants within a package configuration.

Properties

NamepublicName of the package variants collection
MasterPackagepublicReference to the master package owning the variants
DefaultPackageVariantpublicDefault package variant used when none specified
ActivePackageVariantpublicCurrently active package variant for building
DefaultPackageVariantNamepublicName of the default package variant
ActivePackageVariantNamepublicName of the currently active package variant
IsInheritablepublicWhether package variants can be inherited by child packages
AutoAddToPackagepublicWhether variants are automatically added to the package

Methods

AddpublicAdds a new package variant to the collection
GetEnumeratorpublicGets enumerator for iterating package variants

Inherited

From TNamedCollection (4)

IndexOfName ItemByName Items UniqueNames

From TCollection (28)

Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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