TFPGList class
Generic list.
Declaration
TFPGList<T> = class(TFPSList)Inheritance
Description
TFPGList can be used to specialize a list for any type
T
that does not require reference counting (such as interfaced objects). It
will specialize to a list with the same methods as
TFPSList or
TFPListSee also
Properties
First | public | First non-empty item. |
Last | public | Last non-empty item. |
Items | public | Indexed access to items in the list. |
List | public | Internal list object. |
Methods
CopyItem | protected | |
Deref | protected | |
Get | protected | |
GetList | protected | |
ItemPtrCompare | protected | |
Put | protected | |
GetLast | protected | |
SetLast | protected | |
GetFirst | protected | |
SetFirst | protected | |
Create | public | Instantiate a new list. |
ItemIsManaged | public | Indicates whether the list item is a managed type or not. |
Add | public | Add new item of type T to the list. |
Extract | public | Extract an item from the list. |
GetEnumerator | public | Return a list enumerator for T. |
IndexOf | public | Index of item. |
Insert | public | Insert a new item in the list. |
Assign | public | Copy elements from Source list. |
AddList | public | Adds the elements from another list. |
Remove | public | Remove an item from the list. |
Sort | public | Sort the list. |
SortRange | public |
Fields
FOnCompare | protected |
Types and constants
TFPGListEnumeratorSpec | public |
Inherited
From TFPSList (23)
Capacity CheckIndex Clear CopyItems Count Delete DeleteRange Destroy Error Exchange Expand InsertRange InternalExchange InternalGet InternalItems InternalPut ItemSize Move Pack QuickSort RaiseIndexError SetCapacity SetCount
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.
