Represents type TGHashtableEnumerator.
Namespace: GHashTable
Delphi
|
type
TGHashtableEnumerator = class(TInterfacedObject, IIterator)
end;
|
|
Name
|
Description
|
|
Count
|
Returns the number of items left in the enumeration.
|
|
Current
|
Represents property Current.
|
|
Keys
|
Represents property Keys.
|
|
RefCount
|
Represents property RefCount.
|
Top
|
|
Name
|
Description
|
|
CurrentElement
|
Returns the current item in the enumeration, your "place" in the enumeration.
When the iterator is first supplied or when it is Reset, there is no current element (calling this method in such a case should raise an exception). Only after the first call to the NextElement method will this method return a value.
Unlike the NextElement method which returns a new value every time you call it, this method always returns the same value no matter how many times you call it (until NextElement is called, of course).
|
|
GetCount
|
Returns the number of items left in the enumeration.
Accessor method for CommonInterfaces.IIterator.Count property.
Note
|
Required by VCL.Net
|
|
|
GetCurrent
|
Represents method GetCurrent.
|
|
HasMoreElements
|
Returns True if there are more elements to retrieve from the enumeration. While this method returns true, the CommonInterfaces.IIterator.NextElement method should not raise an exception.
|
|
MoveNext
|
Represents method MoveNext.
|
|
NextElement
|
Returns the next item in the enumeration. If there are no more items, the method should raise an exception.
To check if there are more items, use the CommonInterfaces.IIterator.HasMoreElements method. The NextElement method advances its place in the enumeration and then returns that item. Every call to NextElement returns a new item (until the end of the enumeration). If you wish to access the current item multiple times in a loop, use the CommonInterfaces.IIterator.CurrentElement method.
|
|
Reset
|
Resets the iterator to the beginning of the enumeration.
|
Top
|
|
Name
|
Description
|
|
FTable
|
Represents field FTable.
|
Top
|