[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements IEnumerator for the TList class.
Source position: classesh.inc line 284
type TListEnumerator = class |
||
public |
||
constructor Create(); |
|
Initialize a new instance of TListEnumerator. |
function GetCurrent; |
|
Return the current pointer in the list. |
function MoveNext; |
|
Move the position of the enumerator to the next position in the list. |
property Current: Pointer; [r] |
|
Current pointer in the list. |
end; |
|
Implements IEnumerator for the TList class. |
|
| | ||
|
Base class of all classes. |
TListEnumerator implements the #rtl.system.IEnumerator interface for the TList class, so the TList class can be used in a for ... in loop. It is returned by the TList.GetEnumerator method of TList.
|
Class to manage collections of pointers. |
|
|
Create an IEnumerator instance. |
|
|
Enumerator support interface. |