A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MassTreeNodeData Class Reference

#include <genesis/tree/mass_tree/tree.hpp>

Inherits BaseNodeData.

Detailed Description

Data class for MassTreeNodes. Stores nothing.

See MassTree for more information.

Definition at line 97 of file tree/mass_tree/tree.hpp.

Public Member Functions

 MassTreeNodeData (MassTreeNodeData &&)=delete
 
virtual ~MassTreeNodeData ()=default
 
virtual std::unique_ptr
< BaseNodeData
clone () const override
 Polymorphically copy an instance of this class. Use instead of copy constructor. More...
 
MassTreeNodeDataoperator= (MassTreeNodeData &&)=delete
 
virtual std::unique_ptr
< BaseNodeData
recreate () const override
 Polymorphically create a default-constructed instance of this class with the same derived type as it was called on. More...
 
- Public Member Functions inherited from BaseNodeData
 BaseNodeData (BaseNodeData &&)=delete
 Deleted move constructor. More...
 
virtual ~BaseNodeData ()=default
 Virtual destructor. Needed for polymorphism. More...
 
BaseNodeDataoperator= (BaseNodeData &&)=delete
 Deleted move assignment. More...
 

Static Public Member Functions

static std::unique_ptr
< MassTreeNodeData
create ()
 
- Static Public Member Functions inherited from BaseNodeData
static std::unique_ptr
< BaseNodeData
create ()
 Create a new instance of this class. Use instead of default constructor. More...
 

Protected Member Functions

 MassTreeNodeData ()=default
 
 MassTreeNodeData (MassTreeNodeData const &)=default
 
MassTreeNodeDataoperator= (MassTreeNodeData const &)=default
 
- Protected Member Functions inherited from BaseNodeData
 BaseNodeData ()=default
 Protected default constructor. Called from the create() function. More...
 
 BaseNodeData (BaseNodeData const &)=default
 Protected copy constructor. Called from the clone() function. More...
 
BaseNodeDataoperator= (BaseNodeData const &)=default
 Protected copy assignment. Not used right now. More...
 

Constructor & Destructor Documentation

virtual ~MassTreeNodeData ( )
virtualdefault
MassTreeNodeData ( )
protecteddefault
MassTreeNodeData ( MassTreeNodeData const &  )
protecteddefault

Member Function Documentation

virtual std::unique_ptr< BaseNodeData > clone ( ) const
inlineoverridevirtual

Polymorphically copy an instance of this class. Use instead of copy constructor.

Reimplemented from BaseNodeData.

Definition at line 131 of file tree/mass_tree/tree.hpp.

static std::unique_ptr< MassTreeNodeData > create ( )
inlinestatic

Definition at line 121 of file tree/mass_tree/tree.hpp.

MassTreeNodeData& operator= ( MassTreeNodeData &&  )
delete
MassTreeNodeData& operator= ( MassTreeNodeData const &  )
protecteddefault
virtual std::unique_ptr< BaseNodeData > recreate ( ) const
inlineoverridevirtual

Polymorphically create a default-constructed instance of this class with the same derived type as it was called on.

Reimplemented from BaseNodeData.

Definition at line 126 of file tree/mass_tree/tree.hpp.


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