[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Class to manage collections of pointers.
|
Destroys the list and releases the memory used to store the list elements. |
|
|
Adds a new pointer to the list. |
|
|
Clears the pointer list. |
|
|
Removes a pointer from the list. |
|
|
Raises an EListError exception. |
|
|
Exchanges two pointers in the list. |
|
|
Increases the capacity of the list if needed. |
|
|
Returns the first non-nil pointer in the list. |
|
|
Returns the index of a given pointer. |
|
|
Inserts a new pointer in the list at a given position. |
|
|
Returns the last non-nil pointer in the list. |
|
|
Moves a pointer from one position in the list to another. |
|
|
Removes a value from the list. |
|
|
Removes Nil pointers from the list and frees unused memory. |
|
|
Sorts the pointers in the list. |
|
|
Current capacity (i.e. number of pointers that can be stored) of the list. |
|
|
Current number of pointers in the list. |
|
|
Probides access to the pointers in the list. |
|
|
Memory array where pointers are stored. |
|
|
Class to manage collections of pointers. |
|
| | ||
TList is a class that can be used to manage collections of pointers. It introduces methods and properties to store the pointers, search in the list of pointers, sort them. It manages its memory by itself, no intervention for that is needed.
To manage collections of strings, it is better to use a TStrings descendent such as TStringList. To manage general objects, a TCollection class exists, from which a descendent can be made to manage collections of various kinds.
|
Class to manage arrays or collections of strings |
|
|
Base class to manage collections of named objects. |