NxsTaxaBlockAPI Class Reference

This abstract class describes the interface that every block that wants to serve as a reader of NEXUS TAXA blocks should fulfill. More...

#include <nxstaxablock.h>

List of all members.

Public Member Functions

virtual unsigned AddTaxonLabel (const std::string &s)=0
virtual void ChangeTaxonLabel (unsigned i, NxsString s)=0
virtual unsigned FindTaxon (const NxsString &label) const =0
virtual bool IsAlreadyDefined (const std::string &label)=0
virtual unsigned GetMaxTaxonLabelLength ()=0
virtual unsigned GetNumTaxonLabels () const =0
virtual unsigned GetNTax () const =0
virtual unsigned GetNTaxTotal () const =0
virtual NxsString GetTaxonLabel (unsigned i) const =0
virtual std::vector< std::string > GetAllLabels () const
virtual unsigned TaxLabelToNumber (const std::string &label) const =0
virtual void HandleTaxLabels (NxsToken &token)=0
virtual void WriteTaxLabelsCommand (std::ostream &out) const =0
virtual void SetNtax (unsigned n)=0
virtual unsigned GetNumActiveTaxa () const =0
virtual bool IsActiveTaxon (unsigned i) const =0
virtual unsigned InactivateTaxa (const std::set< unsigned > &s)=0
virtual unsigned ActivateTaxa (const std::set< unsigned > &)=0
virtual unsigned InactivateTaxon (unsigned)=0
virtual unsigned ActivateTaxon (unsigned)=0

Detailed Description

This abstract class describes the interface that every block that wants to serve as a reader of NEXUS TAXA blocks should fulfill.

A parsed taxa block in NEXUS is essentially a list of unique taxon labels.

When compared the label comparison is not case-sensitive.

The taxon can be referred to in NEXUS files by its number (numbering starting at 1), or its label.

Definition at line 34 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