Concept
BidirectionalIteratorConcept
Iterator that can be both incremented and decremented.
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. (ForwardIteratorConcept)
goPreviousIterates to pevious 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)
operator-- (prefix)C++ built-in prefix decrement operator.
operator-- (suffix)C++ built-in suffix decrement operator.
Refinements
MutableRandomAccessIteratorConceptA RandomAccessIteratorConcept that allows assignable derefentiation.
RandomAccessIteratorConceptAn iterator allowing random access.
BidirectionalIteratorConcept<T>
Include Headers
seqan/basic.h
Remarks
The SeqAn iterators mirror the definitions from ConceptC++.
Implemented by
ModifiedIteratorAllows to modify arbitrary iterators by specializing what differs from an origin. (RandomAccessIteratorConcept)
Used By Function
Functions
getValueAccess to the value. (IteratorAssociatedTypesConcept)
goNextIterates to next position. (ForwardIteratorConcept)
valueReference to the value. (IteratorAssociatedTypesConcept)
Examples
In the following, x is an iterator to type X.
The following expressions must be valid.
--x  // Predecrement.
x--  // Postdecrement.
SeqAn - Sequence Analysis Library - www.seqan.de
 

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