A toolkit for working with phylogenetic data.
v0.24.0
AttributeTreeNodeData Class Reference

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

Inherits CommonNodeData.

Detailed Description

Data class for AttributeTreeNodes.

See AttributeTree for more information.

Definition at line 92 of file tree/attribute_tree/tree.hpp.

Public Member Functions

 AttributeTreeNodeData (AttributeTreeNodeData &&)=delete
 
virtual ~AttributeTreeNodeData () override=default
 
virtual std::unique_ptr< BaseNodeDataclone () const override
 Polymorphically copy an instance of this class. Use instead of copy constructor. More...
 
AttributeTreeNodeDataoperator= (AttributeTreeNodeData &&)=delete
 
virtual std::unique_ptr< BaseNodeDatarecreate () 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 CommonNodeData
 CommonNodeData (CommonNodeData &&)=delete
 
virtual ~CommonNodeData () override=default
 
CommonNodeDataoperator= (CommonNodeData &&)=delete
 
- 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< AttributeTreeNodeDatacreate ()
 
- Static Public Member Functions inherited from CommonNodeData
static std::unique_ptr< CommonNodeDatacreate ()
 
- Static Public Member Functions inherited from BaseNodeData
static std::unique_ptr< BaseNodeDatacreate ()
 Create a new instance of this class. Use instead of default constructor. More...
 

Public Attributes

AttributeTreeMap attributes
 List of attributes stored on this node. More...
 
- Public Attributes inherited from CommonNodeData
std::string name
 Name of the node. More...
 

Protected Member Functions

 AttributeTreeNodeData ()=default
 
 AttributeTreeNodeData (AttributeTreeNodeData const &)=default
 
AttributeTreeNodeDataoperator= (AttributeTreeNodeData const &)=default
 
- Protected Member Functions inherited from CommonNodeData
 CommonNodeData ()=default
 
 CommonNodeData (CommonNodeData const &)=default
 
CommonNodeDataoperator= (CommonNodeData 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

◆ ~AttributeTreeNodeData()

virtual ~AttributeTreeNodeData ( )
overridevirtualdefault

◆ AttributeTreeNodeData() [1/3]

◆ AttributeTreeNodeData() [2/3]

AttributeTreeNodeData ( )
protecteddefault

◆ AttributeTreeNodeData() [3/3]

AttributeTreeNodeData ( AttributeTreeNodeData const &  )
protecteddefault

Member Function Documentation

◆ clone()

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

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

Reimplemented from CommonNodeData.

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

◆ create()

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

Definition at line 116 of file tree/attribute_tree/tree.hpp.

◆ operator=() [1/2]

AttributeTreeNodeData& operator= ( AttributeTreeNodeData &&  )
delete

◆ operator=() [2/2]

AttributeTreeNodeData& operator= ( AttributeTreeNodeData const &  )
protecteddefault

◆ recreate()

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 CommonNodeData.

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

Member Data Documentation

◆ attributes

AttributeTreeMap attributes

List of attributes stored on this node.

Definition at line 138 of file tree/attribute_tree/tree.hpp.


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