[Overview][Constants][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Basic list of memory blocks
Source position: fgl.pp line 46
type TFPSList = class(TObject) |
||
public |
||
constructor Create(); |
|
Create a new instance of TFPSList |
destructor Destroy; override; |
|
Destroy the list instance. |
class function ItemIsManaged; virtual; |
||
function Add(); |
|
Add a new item to the list |
procedure Clear; |
|
Clear the list |
procedure Delete(); |
|
Delete an item from the list |
procedure DeleteRange(); |
|
Delete a range of elements |
class procedure Error(); |
|
Raise an EListError exception. |
procedure Exchange(); |
|
Exchange two items in the list |
function Expand; |
|
Expand the capacity of the list |
procedure Extract(); |
|
delete an element from the list |
function IndexOf(); |
|
Search an item in the list |
procedure Insert(); |
|
Insert a new item in the list. |
procedure Move(); |
|
Moves an item from one position in the list to another. |
procedure Assign(); |
|
Copy one list to another |
procedure AddList(); |
|
Adds the elements from another list |
function Remove(); |
|
Remove the item from the list |
procedure Pack; |
|
Remove empty items from the list |
procedure Sort(); |
|
Sort the list |
|
Current capacity of the list |
|
|
Current element count |
|
property Items []: Pointer; default; [rw] |
|
Items in the list |
|
Size of the items in the list |
|
|
Internal list pointer |
|
property First: Pointer; [rw] |
|
Pointer to first non-empty item in the list |
property Last: Pointer; [rw] |
|
Pointer to last non-empty item in the list |
end; |
|
Basic list of memory blocks |
|
| | ||
TObject |
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.
|
Class to manage collections of pointers. |
|
|
Generic map |
|
|
Generic object list |
|
|
Generic interfaced object list |
|
|
Generic map for reference counted objects |