Photon Quantum 3.0.0

Public Member Functions | Properties | List of all members
Quantum.Collections.QDictionaryIterator< K, V > Struct Template Reference

An iterator for traversing the entries of a QDictionary<K, V>. This iterator allows for traversing the key-value pairs stored within the dictionary in a sequential manner. More...

Public Member Functions

bool MoveNext ()
 Advances the iterator to the next element of the QDictionary<K, V>, which can be retrieved with QDictionaryIterator<K, V>.Current. More...
 

Properties

KeyValuePair< K, V > Current [get]
 Gets the current key-value pair in the QDictionary<K, V> based in the iterator state. More...
 
V * ValuePtrUnsafe [get]
 Returns a pointer to the current value based on the iterator current element. More...
 

Detailed Description

An iterator for traversing the entries of a QDictionary<K, V>. This iterator allows for traversing the key-value pairs stored within the dictionary in a sequential manner.

Type Constraints
K :unmanaged 
V :unmanaged 

Member Function Documentation

◆ MoveNext()

bool Quantum.Collections.QDictionaryIterator< K, V >.MoveNext ( )
inline

Advances the iterator to the next element of the QDictionary<K, V>, which can be retrieved with QDictionaryIterator<K, V>.Current.

Returns
true if the iterator is still in the boundaries of the QDictionary<K, V>.

Property Documentation

◆ Current

KeyValuePair<K, V> Quantum.Collections.QDictionaryIterator< K, V >.Current
get

Gets the current key-value pair in the QDictionary<K, V> based in the iterator state.

◆ ValuePtrUnsafe

V* Quantum.Collections.QDictionaryIterator< K, V >.ValuePtrUnsafe
get

Returns a pointer to the current value based on the iterator current element.