Spec
AdaptorIteratorAdapts iterators to RootedIteratorConcept.
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
-
TIter hostIterator(iter);
Return the host iterator of an AdaptorIterator. -
void setContainer(iter, container);
Set container of an AdaptorIterator. -
void setPosition(iter, pos);
Set position of AdaptorIterator.
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
Thread safety unknown!
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
Thread safety unknown!
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
Thread safety unknown!
void setPosition(iter, pos);
Set position of AdaptorIterator.
Parameters
iter
|
The AdaptorIterator to set the position for. |
---|---|
pos
|
The position to set. |
Data Races
Thread safety unknown!