System::Collections::Generic::KeyIterator class

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>
ParameterDescription
DictDictionary class.

Methods

MethodDescription
CloneIterator() const overrideClones current iterator.
DecrementIterator() overrideMoves the iterator step back.
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.
ShiftIteratorBy(std::ptrdiff_t) overrideMoves the iterator by the specified number of steps.
virtual ~KeyIterator()Destructor.

See Also