Spec DeltaMapIterator
Bidirectional iterator over a DeltaMap.

Extends Iter
Implements BidirectionalIteratorConcept
All Extended Iter
All Impl'd BidirectionalIteratorConcept, CopyConstructibleConcept, DefaultConstructibleConcept, EqualityComparableConcept, ForwardIteratorConcept, InputIteratorConcept, IteratorAssociatedTypesConcept
Defined in <seqan/journaled_string_tree.h>
Signature template <typename TDeltaMap> class Iter<TDeltaMap, DeltaMapIteratorSpec>;

Template Parameters

TDeltaMap The delta map to iterate.

Member Function Overview

Member Functions Inherited From Iter

Member Functions Inherited From EqualityComparableConcept

Interface Function Overview

Interface Functions Inherited From BidirectionalIteratorConcept

Interface Functions Inherited From InputIteratorConcept

Interface Functions Inherited From IteratorAssociatedTypesConcept

Interface Metafunction Overview

Interface Metafunctions Inherited From Iter

Interface Metafunctions Inherited From IteratorAssociatedTypesConcept

Interface Functions Detail

DeltaType deltaType(it);

Returns the delta type associated with the current value the iterator is pointing to.

Parameters

it The iterator pointing to the value for which the delta type should be determined.

Returns

DeltaType The type of the current value. Of type DeltaType.

Data Races

Thread safety unknown!

TDeltaValue deltaValue(it, tag);

Returns the delta value associated with the current iterator position.

Parameters

it The iterator to query the delta event for.
tag The tag used to select the requested delta type.

Returns

TDeltaValue A reference to the delta at the current iterator position of type DeltaValue. @remark Note the expression isDeltaType(deltaType(it), tag)<\tt> must evaluate to true<\tt>, otherwise the result is undefined.

Data Races

Thread safety unknown!