DictionaryIterator

DictionaryIterator class

Dictionary iterator that provides KeyValuePair notation.

template<typename Dict>class DictionaryIterator : public System::Details::NativeIteratorWrapperBase<Dict::KeyValuePairType, Dict::map_t::const_iterator>,
                                                  private System::Details::IteratorPointerUpdater<Dict::KeyValuePairType, false>

Template parameters

ParameterDescription
DictDictionary class.

Methods

MethodDescription
System::Details::VirtualizedIteratorBase<typename Dict::KeyValuePairType> * CloneIterator() const overrideClones current iterator.
void DecrementIterator() overrideMoves the iterator step back.
DictionaryIterator(typename Dict::map_t::const_iterator&&, typename Dict::map_t::const_iterator&&)Constructor.
DictionaryIterator(const typename Dict::map_t::const_iterator&, const typename Dict::map_t::const_iterator&)Constructor.
DictionaryIterator(DictionaryIterator&&)Move constructor.
void IncrementIterator() overrideMoves the iterator step forward.
void ShiftIteratorBy(std::ptrdiff_t) overrideMoves the iterator by the specified number of steps.
virtual ~DictionaryIterator()Destructor.

See Also