System::Collections::Generic::EnumeratorWrapperIterator class

EnumeratorWrapperIterator class

Iterator that wraps the pre-created enumerator and redirects all calls into it.

template<typename Element>class EnumeratorWrapperIterator : public System::Details::VirtualizedIteratorBase<Element>
ParameterDescription
ElementElement type.

Methods

MethodDescription
CloneIterator() const overrideClones current iterator.
EnumeratorWrapperIterator(const SharedPtr<IEnumerator<Element>>&)
IncrementIterator() overrideMoves the iterator step forward. Must update m_is_end and m_pointer.
IteratorEquals(System::Details::VirtualizedIteratorBase<Element> *) const overrideChecks if two iterators point to the same item.
virtual ~EnumeratorWrapperIterator()Destructor.

See Also