TFPSList class
Basic list of memory blocks.
Declaration
TFPSList = class(TObject)Inheritance
- TFPSList
- 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
InternalItems | protected | |
Capacity | public | Current capacity of the list. |
Count | public | Current element count. |
Items | public | Items in the list. |
ItemSize | public | Size of the items in the list. |
List | public | Internal list pointer. |
First | public | Pointer to first non-empty item in the list. |
Last | public | Pointer to last non-empty item in the list. |
Methods
CopyItem | protected | |
CopyItems | protected | |
Deref | protected | |
Get | protected | |
InternalExchange | protected | |
InternalGet | protected | |
InternalPut | protected | |
Put | protected | |
QuickSort | protected | |
SetCapacity | protected | |
SetCount | protected | |
RaiseIndexError | protected | |
GetLast | protected | |
SetLast | protected | |
GetFirst | protected | |
SetFirst | protected | |
CheckIndex | protected | |
Create | public | Create a new instance of TFPSList. |
Destroy | public | Destroy the list instance. |
ItemIsManaged | public | Indicates whether the list item is a managed type or not. |
Add | public | Add a new item to the list. |
Clear | public | Clear the list. |
Delete | public | Delete an item from the list. |
DeleteRange | public | Delete a range of elements. |
Error | public | Raise an EListError exception. |
Exchange | public | Exchange two items in the list. |
Expand | public | Expand the capacity of the list. |
Extract | public | delete an element from the list. |
IndexOf | public | Search an item in the list. |
Insert | public | Insert a new item in the list. |
InsertRange | public | |
Move | public | Moves an item from one position in the list to another. |
Assign | public | Copy one list to another. |
AddList | public | Adds the elements from another list. |
Remove | public | Remove the item from the list. |
Pack | public | Remove empty items from the list. |
Sort | public | Sort the list. |
SortRange | public |
Fields
FList | protected | |
FCount | protected | |
FCapacity | protected | |
FItemSize | protected |
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.
