[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements IEnumerator for the TFPList class.
Source position: classesh.inc line 206
type TFPListEnumerator = class |
||
public |
||
constructor Create(); |
|
Initialize a new instance of TFPListEnumerator |
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 TFPList class. |
|
| | ||
TObject |
TFPListEnumerator implements the #rtl.system.IEnumerator interface for the TFPList class, so the TFPList class can be used in a for ... in loop. It is returned by the TFPList.GetEnumerator method of TFPList.
|
Class to manage collections of pointers. |
|
|
Create an IEnumerator instance |
|
|
Enumerator support interface |