Sign in Join
FPDoc Onlineexperiment

TConditionalStrings class

In unit fpMkUnit

Collection of conditional string values

Declaration

pascal
TConditionalStrings = class(TCollection)

Inheritance

  1. TConditionalStrings
  2. TCollection
  3. TPersistent
  4. TObject

Descends from it: TConditionalDestStrings TDependencies TResourceFiles

Description

TConditionalStrings is a specialized collection that manages multiple TConditionalString objects.

This class provides methods for adding, searching, and retrieving conditional strings based on platform criteria.

It enables efficient management of platform-specific configuration values in build systems.

Properties

ConditionalStringspublicIndexed access to conditional string items

Methods

AddListpublicAdd multiple conditional strings from list
IndexOfpublicFind index of conditional string matching criteria
FindpublicFind conditional string matching criteria
AddpublicAdd a new conditional string

Inherited

From TCollection (30)

Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items 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.