| 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
Haystack | Returns the haystack type of a Finder type.
Functions
begin | The begin of a container.
beginPosition | Begin position of object in host.
clear | Resets an object.
end | The end of a container.
endPosition | End position of object in host.
find | Search for a Pattern in a Finder object.
findBegin | Search the begin of an approximate match.
haystack | Returns the haystack of a Finder object.
infix |
length | The number of items/characters.
position | Position of an iterator.
setHaystack | Sets 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. Example Programs Index Finder, Index Finder StringSet See Also Index Find Algorithm SeqAn - Sequence Analysis Library - www.seqan.de