Sign in Join
FPDoc Onlineexperiment

TFPSList class

In unit fgl

Basic list of memory blocks.

Declaration

pascal
TFPSList = class(TObject)

Inheritance

  1. TFPSList
  2. TObject

Descends from it: TFPGInterfacedObjectList TFPGList TFPGObjectList TFPSMap

Description

TFPSList can be seen as the generalized equivalent of the classes unit TFPList list. It is used as a base class for the TFPGList, TFPGMap, TFPGObjectList, TFPGInterfacedObjectList and TFPGMapInterfacedObjectData generic classes.

This list is not meant to be used directly, it is an auxiliary class for the actual generic list classes.

See also

Properties

InternalItemsprotected
CapacitypublicCurrent capacity of the list.
CountpublicCurrent element count.
ItemspublicItems in the list.
ItemSizepublicSize of the items in the list.
ListpublicInternal list pointer.
FirstpublicPointer to first non-empty item in the list.
LastpublicPointer to last non-empty item in the list.

Methods

CopyItemprotected
CopyItemsprotected
Derefprotected
Getprotected
InternalExchangeprotected
InternalGetprotected
InternalPutprotected
Putprotected
QuickSortprotected
SetCapacityprotected
SetCountprotected
RaiseIndexErrorprotected
GetLastprotected
SetLastprotected
GetFirstprotected
SetFirstprotected
CheckIndexprotected
CreatepublicCreate a new instance of TFPSList.
DestroypublicDestroy the list instance.
ItemIsManagedpublicIndicates whether the list item is a managed type or not.
AddpublicAdd a new item to the list.
ClearpublicClear the list.
DeletepublicDelete an item from the list.
DeleteRangepublicDelete a range of elements.
ErrorpublicRaise an EListError exception.
ExchangepublicExchange two items in the list.
ExpandpublicExpand the capacity of the list.
Extractpublicdelete an element from the list.
IndexOfpublicSearch an item in the list.
InsertpublicInsert a new item in the list.
InsertRangepublic
MovepublicMoves an item from one position in the list to another.
AssignpublicCopy one list to another.
AddListpublicAdds the elements from another list.
RemovepublicRemove the item from the list.
PackpublicRemove empty items from the list.
SortpublicSort the list.
SortRangepublic

Fields

FListprotected
FCountprotected
FCapacityprotected
FItemSizeprotected

Inherited

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.