A library for working with phylogenetic and population genetic data.
v0.32.0
NexusBlock Class Referenceabstract

#include <genesis/utils/formats/nexus/block.hpp>

Inherited by NexusTaxa, and NexusTrees.

Detailed Description

Definition at line 47 of file block.hpp.

Public Member Functions

 NexusBlock ()=default
 
 NexusBlock (NexusBlock &&)=default
 
 NexusBlock (NexusBlock const &)=default
 
virtual ~NexusBlock ()=default
 
virtual std::string block_name () const =0
 
NexusBlockoperator= (NexusBlock &&)=default
 
NexusBlockoperator= (NexusBlock const &)=default
 
virtual void to_stream (std::ostream &os) const =0
 

Constructor & Destructor Documentation

◆ NexusBlock() [1/3]

NexusBlock ( )
default

◆ ~NexusBlock()

virtual ~NexusBlock ( )
virtualdefault

◆ NexusBlock() [2/3]

NexusBlock ( NexusBlock const &  )
default

◆ NexusBlock() [3/3]

NexusBlock ( NexusBlock &&  )
default

Member Function Documentation

◆ block_name()

virtual std::string block_name ( ) const
pure virtual

Implemented in NexusTrees, and NexusTaxa.

◆ operator=() [1/2]

NexusBlock& operator= ( NexusBlock &&  )
default

◆ operator=() [2/2]

NexusBlock& operator= ( NexusBlock const &  )
default

◆ to_stream()

virtual void to_stream ( std::ostream &  os) const
pure virtual

Implemented in NexusTrees, and NexusTaxa.


The documentation for this class was generated from the following file: