Class
Finder
Holds the haystack and a current search context.
Finder<THaystack[, TSpec]>
Parameters
THaystack
The haystack type.
Types: Index, String
TSpec
The index-algorithm to search with (Optional).
Default: The result of DefaultFinder
Remarks: Leave empty for online pattern matching (see Pattern).
If THaystack is an Index, then TSpec specifies the index search algorithm.
Metafunctions
HaystackReturns the haystack type of a Finder type.
Functions
clearResets an object.
findSearch for a Pattern in a Finder object.
haystackReturns the haystack of a Finder object.
positionPosition of an iterator.
setHaystackSets the haystack of a Finder object.
Remarks
position(finder) returns the position of the current hit in the haystack. If THaystack is a set of strings or an index of a set of strings, then position(finder) returns a Pair (hayNo, pos), in which hayNo is the haystack index and pos the local position of the hit.
Use clear(finder) to reset a finder object and search from the beginning.
SeqAn - Sequence Analysis Library - www.seqan.de