Concept
ForwardIteratorConcept
Iterator that allows passing over a linear sequence multiple times.
Concept Definition
Required Metafunctions
DifferenceType of an object that stores the difference between two iterators. (IteratorAssociatedTypesConcept)
GetValueType for reading values. (IteratorAssociatedTypesConcept)
PointerReturns pointer to an object, required for operator->, for example. (IteratorAssociatedTypesConcept)
ReferenceReference type. (IteratorAssociatedTypesConcept)
ValueType of the items in the container or behind an iterator. (IteratorAssociatedTypesConcept)
Required Functions
goNextIterates to next position.
operator*C++ built-in multiplication operator. (InputIteratorConcept)
operator++ (prefix)C++ built-in prefix increment operator. (InputIteratorConcept)
operator++ (suffix)C++ built-in suffix increment operator. (InputIteratorConcept)
operator->C++ built-in structure dereference operator. (InputIteratorConcept)
Refinements
BidirectionalIteratorConceptIterator that can be both incremented and decremented.
MutableBidirectionalIteratorConceptA Bidirectional Iterator that allows dereferenced assignment
MutableForwardIteratorConceptA Forward Iterator that allows dereferenced assignment.
MutableRootedIteratorConceptA Rooted Iterator that allows dereferenced assignment.
RootedIteratorConceptIterator that knows its container.
ForwardIteratorConcept<T>
Include Headers
seqan/basic.h
Remarks
The SeqAn iterators mirror the definitions from ConceptC++.
Implemented by
AnnotationTree IteratorIterator of the annotation tree represented by a FragmentStore. (RootedIteratorConcept)
BottomUp IteratorIterator for an efficient postorder depth-first search in a suffix tree.
ModifiedIteratorAllows to modify arbitrary iterators by specializing what differs from an origin. (RandomAccessIteratorConcept)
TopDownHistory IteratorString tree iterator that can go down, right, and up. Supports depth-first search.
Used By Function
Functions
getValueAccess to the value. (IteratorAssociatedTypesConcept)
valueReference to the value. (IteratorAssociatedTypesConcept)
Examples
In the following, x is an iterator to type X.
The following expressions must be valid.
++x  // Preincrement.
x++  // Postincrement.
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:16