unsigned NxsUnalignedBlock::NumCharsForTaxon ( unsigned  taxInd  ) 

Returns number of characters stored for taxon whose index in the TAXA block is `i'.

In an UNALIGNED block, each taxon can have a different number of characters, and this function can be used to find out how many characters are stored for any particular taxon. Note that `i' should be the index of the taxon of interest as it appears in the TAXA block. Because there may be fewer taxa in this UNALIGNED block (`ntax') than there are in the TAXA block (`ntaxTotal'), it is possible that no data were stored for the taxon having index `i', in which case a NxsUnalignedBlock::NxsX_NoDataForTaxon exception is thrown.

Definition at line 820 of file nxsunalignedblock.cpp.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:13 2010 for NCL by  doxygen 1.6.3