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

#include <genesis/tree/drawing/rectangular_tree.hpp>

Inherits LayoutEdgeData.

Detailed Description

Data class for RectangularTreeEdges.

Definition at line 134 of file rectangular_tree.hpp.

Public Member Functions

 RectangularEdgeData (RectangularEdgeData &&)=delete
 
virtual ~RectangularEdgeData ()=default
 
virtual std::unique_ptr
< BaseEdgeData
clone () const override
 Polymorphically copy an instance of this class. Use instead of copy constructor. More...
 
RectangularEdgeDataoperator= (RectangularEdgeData &&)=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 LayoutEdgeData
 LayoutEdgeData (LayoutEdgeData &&)=delete
 
virtual ~LayoutEdgeData ()=default
 
LayoutEdgeDataoperator= (LayoutEdgeData &&)=delete
 
- 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
< RectangularEdgeData
create ()
 
- Static Public Member Functions inherited from LayoutEdgeData
static std::unique_ptr
< LayoutEdgeData
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...
 

Protected Member Functions

 RectangularEdgeData ()=default
 
 RectangularEdgeData (RectangularEdgeData const &)=default
 
RectangularEdgeDataoperator= (RectangularEdgeData const &)=default
 
- Protected Member Functions inherited from LayoutEdgeData
 LayoutEdgeData ()=default
 
 LayoutEdgeData (LayoutEdgeData const &)=default
 
LayoutEdgeDataoperator= (LayoutEdgeData 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...
 

Additional Inherited Members

- Public Attributes inherited from LayoutEdgeData
utils::SvgStroke stroke
 
- Public Attributes inherited from DefaultEdgeData
double branch_length = 0.0
 Branch length of the edge. More...
 

Constructor & Destructor Documentation

virtual ~RectangularEdgeData ( )
virtualdefault
RectangularEdgeData ( )
protecteddefault
RectangularEdgeData ( RectangularEdgeData 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 LayoutEdgeData.

Definition at line 168 of file rectangular_tree.hpp.

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

Definition at line 158 of file rectangular_tree.hpp.

RectangularEdgeData& operator= ( RectangularEdgeData &&  )
delete
RectangularEdgeData& operator= ( RectangularEdgeData 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 LayoutEdgeData.

Definition at line 163 of file rectangular_tree.hpp.


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