TDefCollection class
Definition collection.
Declaration
TDefCollection = class(TOwnedCollection)Inheritance
- TDefCollection
- TOwnedCollection
- TCollection
- TPersistent
- TObject
Descends from it: TFieldDefs TIndexDefs
Description
TDefCollection is a parent class for the
TFieldDefs and
TIndexDefs collections: It holds a set of named
definitions on behalf of a
TDataset component. To this end, it introduces a
dataset
property, and a mechanism to notify the dataset of any updates in the collection. It is supposed to hold items of class
TNamedItem, so the
Find method can find items by named.Properties
Dataset | public | Dataset this collection manages definitions for. |
Updated | public | Has one of the items been changed. |
Methods
SetItemName | protected | Virtual method to set the name of the specified item. |
create | public | Instantiate a new TDefCollection instance. |
Find | public | Find an item by name. |
GetItemNames | public | Return a list of all names in the collection. |
IndexOf | public | Find location of item by name. |
Inherited
From TOwnedCollection (1)
From TCollection (29)
Add Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetPropName Sort Update UpdateCount
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
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.
