NxsTaxaBlock Class Reference

The default implementation of the NxsTaxaBlockAPI that is used to parse TAXA blocks into a list of unique (case-insensitive) labels. More...

#include <nxstaxablock.h>

List of all members.

Public Member Functions

virtual unsigned AddTaxonLabel (const std::string &s)
void ChangeTaxonLabel (unsigned i, NxsString s)
unsigned TaxLabelToNumber (const std::string &label) const
unsigned FindTaxon (const NxsString &label) const
bool IsAlreadyDefined (const std::string &label)
unsigned GetMaxTaxonLabelLength ()
unsigned GetNTax () const
unsigned GetNTaxTotal () const
unsigned GetNumTaxonLabels () const
NxsString GetTaxonLabel (unsigned i) const
void HandleTaxLabels (NxsToken &token)
bool NeedsQuotes (unsigned i)
virtual void Report (std::ostream &out) NCL_COULD_BE_CONST
virtual void Reset ()
void SetNtax (unsigned n)
void WriteAsNexus (std::ostream &out) const
virtual unsigned GetNumActiveTaxa () const
virtual bool IsActiveTaxon (unsigned i) const
virtual unsigned InactivateTaxa (const std::set< unsigned > &)
virtual unsigned ActivateTaxa (const std::set< unsigned > &)
virtual unsigned InactivateTaxon (unsigned)
virtual unsigned ActivateTaxon (unsigned)
void WriteTaxLabelsCommand (std::ostream &out) const
unsigned GetMaxIndex () const
unsigned GetIndicesForLabel (const std::string &label, NxsUnsignedSet *inds) const

Protected Member Functions

virtual void Read (NxsToken &token)
void CheckCapitalizedTaxonLabel (const std::string &s) const
unsigned CapitalizedTaxLabelToNumber (const std::string &s) const

Detailed Description

The default implementation of the NxsTaxaBlockAPI that is used to parse TAXA blocks into a list of unique (case-insensitive) labels.

Definition at line 142 of file nxstaxablock.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:13 2010 for NCL by  doxygen 1.6.3