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

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

Inherits LayoutNodeData.

Detailed Description

Data class for CircularTreeNodes.

Definition at line 72 of file circular_tree.hpp.

Public Member Functions

 CircularNodeData (CircularNodeData &&)=delete
 
virtual ~CircularNodeData ()=default
 
virtual std::unique_ptr
< BaseNodeData
clone () const override
 Polymorphically copy an instance of this class. Use instead of copy constructor. More...
 
CircularNodeDataoperator= (CircularNodeData &&)=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 LayoutNodeData
 LayoutNodeData (LayoutNodeData &&)=delete
 
virtual ~LayoutNodeData ()=default
 
LayoutNodeDataoperator= (LayoutNodeData &&)=delete
 
- Public Member Functions inherited from DefaultNodeData
 DefaultNodeData (DefaultNodeData &&)=delete
 
virtual ~DefaultNodeData ()=default
 
DefaultNodeDataoperator= (DefaultNodeData &&)=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
< CircularNodeData
create ()
 
- Static Public Member Functions inherited from LayoutNodeData
static std::unique_ptr
< LayoutNodeData
create ()
 
- Static Public Member Functions inherited from DefaultNodeData
static std::unique_ptr
< DefaultNodeData
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...
 

Public Attributes

double a = -1.0
 
double children_max_a = -1.0
 
double children_min_a = -1.0
 
int parent_index = -1
 
double r = -1.0
 
- Public Attributes inherited from LayoutNodeData
utils::SvgGroup shape
 
- Public Attributes inherited from DefaultNodeData
std::string name
 Name of the node. More...
 

Protected Member Functions

 CircularNodeData ()=default
 
 CircularNodeData (CircularNodeData const &)=default
 
CircularNodeDataoperator= (CircularNodeData const &)=default
 
- Protected Member Functions inherited from LayoutNodeData
 LayoutNodeData ()=default
 
 LayoutNodeData (LayoutNodeData const &)=default
 
LayoutNodeDataoperator= (LayoutNodeData const &)=default
 
- Protected Member Functions inherited from DefaultNodeData
 DefaultNodeData ()=default
 
 DefaultNodeData (DefaultNodeData const &)=default
 
DefaultNodeDataoperator= (DefaultNodeData 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 ~CircularNodeData ( )
virtualdefault
CircularNodeData ( )
protecteddefault
CircularNodeData ( CircularNodeData 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 LayoutNodeData.

Definition at line 106 of file circular_tree.hpp.

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

Definition at line 96 of file circular_tree.hpp.

CircularNodeData& operator= ( CircularNodeData &&  )
delete
CircularNodeData& operator= ( CircularNodeData 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 LayoutNodeData.

Definition at line 101 of file circular_tree.hpp.

Member Data Documentation

double a = -1.0

Definition at line 118 of file circular_tree.hpp.

double children_max_a = -1.0

Definition at line 123 of file circular_tree.hpp.

double children_min_a = -1.0

Definition at line 122 of file circular_tree.hpp.

int parent_index = -1

Definition at line 120 of file circular_tree.hpp.

double r = -1.0

Definition at line 117 of file circular_tree.hpp.


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