Sign in Join
FPDoc Onlineexperiment

TCommands class

In unit fpMkUnit

Collection of commands to execute during build

Declaration

pascal
TCommands = class(TNamedCollection)

Inheritance

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

Description

TCommands is a specialized collection class that manages a list of TCommand objects.

This class provides methods to add, remove, and iterate through build commands that should be executed during the package compilation process.

Commands are typically shell commands, compiler invocations, or other external tools needed for building packages.

Properties

CommandItemspublicIndexed access to command items
CommandspublicAccess to commands by destination
DefaultAtpublicDefault execution timing for commands

Methods

AddCommandpublicAdd a new command to the collection
GetEnumeratorpublicGet enumerator for iterating commands

Inherited

From TNamedCollection (4)

IndexOfName ItemByName Items UniqueNames

From TCollection (29)

Add 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.