Concept
BasicOutputIteratorConcept
Iterator that allows dereferenced writing.
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
assignValueAssigns value to item.
goNextIterates to next position.
operator++ (prefix)C++ built-in prefix increment operator.
operator++ (suffix)C++ built-in suffix increment operator.
setValueMakes holder dependent.
Refinements
MutableForwardIteratorConceptA Forward Iterator that allows dereferenced assignment.
OutputIteratorConcept<T>
Include Headers
seqan/basic.h
Remarks
The SeqAn iterators mirror the definitions from ConceptC++.
Used By Function
Functions
getValueAccess to the value. (IteratorAssociatedTypesConcept)
setValueMakes holder dependent.
valueReference to the value. (IteratorAssociatedTypesConcept)
Examples
In the following, x is an iterator to type X, t is a valid rvalue of type X.
The following expressions must be valid.
*x = t     // Dereference assignment.
++x        // Preincrement.
(void)x++  // Postincrement.
*x++ = t   // Postincrement and assign.
 
assignValue(x, t);
SeqAn - Sequence Analysis Library - www.seqan.de
 

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