Spec AdaptorIterator
Adapts iterators to RootedIteratorConcept.

Extends Iter
All Extended Iter
All Impl'd IteratorAssociatedTypesConcept
Defined in <seqan/basic.h>
Signature template <typename TContainer, typename TIterator[, typename TSpec]> class Iter;

Template Parameters

TContainer The container to iterate over.
TIterator The iterator type to wrap.
TSpec Specialization tag for AdaptorIterator. Defaults to Default.

Member Function Overview

Member Functions Inherited From Iter

Interface Function Overview

Interface Functions Inherited From IteratorAssociatedTypesConcept

Interface Metafunction Overview

Interface Metafunctions Inherited From Iter

Interface Metafunctions Inherited From IteratorAssociatedTypesConcept

Member Functions Detail

Iter::Iter(); Iter::Iter(iter); Iter::Iter(container[, iterator]);

Constructor

Parameters

iter Other AdaptorIterator to copy from.
container The container to create an container of.
iterator The Standard iterator to wrap, defaults to beginning of container.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

Interface Functions Detail

TIter hostIterator(iter);

Return the host iterator of an AdaptorIterator.

Parameters

iter The AdaptorIterator to get the iterator for.

Returns

TIter The wrapped iterator.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

void setContainer(iter, container);

Set container of an AdaptorIterator.

Parameters

iter The AdaptorIterator to set the container to.
container The container to set for the AdaptorIterator.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

void setPosition(iter, pos);

Set position of AdaptorIterator.

Parameters

iter The AdaptorIterator to set the position for.
pos The position to set.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.