NxsTaxaBlock * PublicNexusReader::RegisterTaxa ( const std::vector< std::string > &  tl  ) 

Registers the strings is the vector as taxon labels.

  • a vector of taxon names.
    a new taxa block for the these taxa. This taxa block will also be stored in the reader so that future files can refer to these taxa.
    This function is useful if you want to programmatically create a NEXUS TAXA block and have the reader treat it in the same way as if the NxsTaxaBlock were read from a file

This is is a convenience function that creates a NxsTaxaBlock, fills it, and then calls AddReadTaxaBlock.

the block created.

Definition at line 36 of file nxspublicblocks.cpp.

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