KeyIterator

KeyIterator class

Dictionary iterator that provides key access.

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

Template parameters

ParameterDescription
DictDictionary class.

Methods

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

See Also