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

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

Inherits DefaultEdgeData.

Detailed Description

Data class for AttributeTreeEdges.

See AttributeTree for more information.

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

Public Member Functions

 AttributeTreeEdgeData (AttributeTreeEdgeData &&)=delete
 
virtual ~AttributeTreeEdgeData ()=default
 
virtual std::unique_ptr
< BaseEdgeData
clone () const override
 Polymorphically copy an instance of this class. Use instead of copy constructor. More...
 
AttributeTreeEdgeDataoperator= (AttributeTreeEdgeData &&)=delete
 
virtual std::unique_ptr
< BaseEdgeData
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 DefaultEdgeData
 DefaultEdgeData (DefaultEdgeData &&)=delete
 
virtual ~DefaultEdgeData ()=default
 
DefaultEdgeDataoperator= (DefaultEdgeData &&)=delete
 
- Public Member Functions inherited from BaseEdgeData
 BaseEdgeData (BaseEdgeData &&)=delete
 Deleted move constructor. More...
 
virtual ~BaseEdgeData ()=default
 Virtual destructor. Needed for polymorphism. More...
 
BaseEdgeDataoperator= (BaseEdgeData &&)=delete
 Deleted move assignment. More...
 

Static Public Member Functions

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

Public Attributes

AttributeTreeMap attributes
 List of attributes stored on this edge. More...
 
- Public Attributes inherited from DefaultEdgeData
double branch_length = 0.0
 Branch length of the edge. More...
 

Protected Member Functions

 AttributeTreeEdgeData ()=default
 
 AttributeTreeEdgeData (AttributeTreeEdgeData const &)=default
 
AttributeTreeEdgeDataoperator= (AttributeTreeEdgeData const &)=default
 
- Protected Member Functions inherited from DefaultEdgeData
 DefaultEdgeData ()=default
 
 DefaultEdgeData (DefaultEdgeData const &)=default
 
DefaultEdgeDataoperator= (DefaultEdgeData const &)=default
 
- Protected Member Functions inherited from BaseEdgeData
 BaseEdgeData ()=default
 Protected default constructor. Called from the create() function. More...
 
 BaseEdgeData (BaseEdgeData const &)=default
 Protected copy constructor. Called from the clone() function. More...
 
BaseEdgeDataoperator= (BaseEdgeData const &)=default
 Protected copy assignment. Not used right now. More...
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Reimplemented from DefaultEdgeData.

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

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

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

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

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

Reimplemented from DefaultEdgeData.

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

Member Data Documentation

AttributeTreeMap attributes

List of attributes stored on this edge.

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


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