unsigned NxsBlock::TaxonLabelToNumber ( NxsString  s  )  const [virtual]

This base class version simply returns 0, but a derived class should override this function if it needs to construct and run a NxsSetReader object to read a set involving taxa.

The NxsSetReader object may need to use this function to look up a taxon label encountered in the set. A class that overrides this method should return the taxon index in the range [1..ntax].

Reimplemented in NxsAssumptionsBlock, and NxsCharactersBlock.

Definition at line 509 of file nxsblock.cpp.

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