Metafunction
Find
A metafunction to retrieve the index of a tag in the TagList.
Include Headers
seqan/basic.h
Parameters
A tag list. | |
A tag to retrieve the index of. Types: Tag |
Examples
if (format.tagId == TagListGetIndex<AutoSeqStreamFormat, Fasta>::VALUE)
{
// do something specific to Fasta format
}
// or even shorter:
if (isEqual(format.tagId, Fasta()))
{
// do something specific to Fasta format
}
SeqAn - Sequence Analysis Library - www.seqan.de