Class Iter
Base class for iterators to traverse containers.

Implements IteratorAssociatedTypesConcept
All Subcl's AdaptorIterator, AdjacencyIterator, AlignColIterator, AnnotationTreeIterator, BfsIterator, BottomUpIterator, ConcatVirtualIterator, DeltaMapIterator, DfsPreorderIterator, EdgeIterator, InputStreamIterator, MaxRepeatsIterator, MultiMemsIterator, MumsIterator, OutEdgeIterator, OutputStreamIterator, PositionIterator, RightArrayBinaryTreeIterator, StdAdaptorIterator, StreamIterator, SuperMaxRepeatsFastIterator, SuperMaxRepeatsIterator, TopDownHistoryIterator, TopDownIterator, VertexIterator, VSTreeIterator, ZipIterator
All Impl'd IteratorAssociatedTypesConcept
Defined in <seqan/basic.h>
Signature template <typename TContainer, typename TSpec> class Iter;

Template Parameters

TContainer The type of the container to iterate.
TSpec Type to use for specializing the Iter class.

Member Function Overview

Interface Function Overview

Interface Functions Inherited From IteratorAssociatedTypesConcept

Interface Metafunction Overview

Interface Metafunctions Inherited From IteratorAssociatedTypesConcept

Member Functions Detail

Iter::Iter() Iter::Iter(stream) Iter::Iter(streamBuf)



stream The TStream to write to.
streamBuf A StreamBuffer to write to.

Allows default construction, construction from stream, as well as from a StreamBuffer.

Data Races

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

Interface Metafunctions Detail


The container type of the iterator.

Template Parameters

TIter The TIter class to query for its container type.


Type The container type of TIter


Metafunction that complements the const-ness of the container of an iterator.

Template Parameters

TIter The Iter to complement the container constness of.


Type The type of the iterator that is the same as TIter except that the const-ness of the container is complemented.


Metafunction to make enforce const-ness of the container of an iterator.

Template Parameters

TIter The iterator type to make the container const of.


Type The resulting Iter type with a const container.


Return specialization tag of the Iter specialization.

Template Parameters

TIter The Iter class to get specialization tag of.


Type The specialization tag used for the Iter.