Sign in Join
FPDoc Onlineexperiment

TSources class

In unit fpMkUnit

Collection of source files

Declaration

pascal
TSources = class(TNamedCollection)

Inheritance

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

Description

TSources is a collection class that manages multiple source file entries for a Free Pascal package.

This collection provides methods for adding different types of sources (documentation, examples, tests) and manages their properties for building and installation.

Properties

SourceItemspublicIndexed access to source files in the collection

Methods

AddDocpublicAdds documentation sources to the collection
AddSrcpublicAdds source files to the collection
AddExamplepublicAdds example sources to the collection
AddTestpublicAdds test sources to the collection
GetEnumeratorpublicGets enumerator for iterating sources
AddDocFilespublicAdds documentation files matching file mask pattern
AddSrcFilespublicAdds source files matching file mask pattern
AddExampleFilespublicAdds example files matching file mask pattern
AddTestFilespublicAdds test files to the source collection

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.