class
ManagedSerializableDictionary::Enumerator
Helper class that enumerates over all entires in a managed dictionary.
Operates on managed object if the parent dictionary is in linked state, or on cached data otherwise.
Public
Constructors
Enumerator
Constructs a new enumerator for a managed dictionary.
- parent
- Owning dictionary object.
Enumerator
Methods
~Enumerator
GetKey
Returns the wrapped key data at the current enumerator position.
Only valid to call this if enumerator is valid (meaning last call to moveNext() returned true).
GetValue
Returns the wrapped value data at the current enumerator position.
Only valid to call this if enumerator is valid (meaning last call to moveNext() returned true).
MoveNext
Moves the enumerator to the next position.
Initially enumerator is at an invalid position and must be called at least once before accesing its data.
Returns: Returns if the enumerator is at valid position. When the enumerator returns false it means there are no more elements to enumerate.