#include <genesis/tree/formats/newick/simple_tree.hpp>
Inherits CommonNodeData.
Data class for SimpleNewickTreeNodes.
See SimpleNewickTree for more information.
Definition at line 99 of file simple_tree.hpp.
Public Member Functions | |
| SimpleNewickNodeData (SimpleNewickNodeData &&)=delete | |
| virtual | ~SimpleNewickNodeData () override=default |
| virtual std::unique_ptr< BaseNodeData > | clone () const override |
| Polymorphically copy an instance of this class. Use instead of copy constructor. More... | |
| SimpleNewickNodeData & | operator= (SimpleNewickNodeData &&)=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 CommonNodeData | |
| CommonNodeData (CommonNodeData &&)=delete | |
| virtual | ~CommonNodeData () override=default |
| CommonNodeData & | operator= (CommonNodeData &&)=delete |
Public Member Functions inherited from BaseNodeData | |
| BaseNodeData (BaseNodeData &&)=delete | |
| Deleted move constructor. More... | |
| virtual | ~BaseNodeData ()=default |
| Virtual destructor. Needed for polymorphism. More... | |
| BaseNodeData & | operator= (BaseNodeData &&)=delete |
| Deleted move assignment. More... | |
Static Public Member Functions | |
| static std::unique_ptr< SimpleNewickNodeData > | create () |
Static Public Member Functions inherited from CommonNodeData | |
| static std::unique_ptr< CommonNodeData > | 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 | |
| std::vector< std::string > | comments |
| List of comments such as NHX elements. More... | |
Public Attributes inherited from CommonNodeData | |
| std::string | name |
| Name of the node. More... | |
Protected Member Functions | |
| SimpleNewickNodeData ()=default | |
| SimpleNewickNodeData (SimpleNewickNodeData const &)=default | |
| SimpleNewickNodeData & | operator= (SimpleNewickNodeData const &)=default |
Protected Member Functions inherited from CommonNodeData | |
| CommonNodeData ()=default | |
| CommonNodeData (CommonNodeData const &)=default | |
| CommonNodeData & | operator= (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... | |
| BaseNodeData & | operator= (BaseNodeData const &)=default |
| Protected copy assignment. Not used right now. More... | |
|
overridevirtualdefault |
|
delete |
|
protecteddefault |
|
protecteddefault |
|
inlineoverridevirtual |
Polymorphically copy an instance of this class. Use instead of copy constructor.
Reimplemented from CommonNodeData.
Definition at line 133 of file simple_tree.hpp.
|
inlinestatic |
Definition at line 123 of file simple_tree.hpp.
|
delete |
|
protecteddefault |
|
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 128 of file simple_tree.hpp.
| std::vector<std::string> comments |
List of comments such as NHX elements.
Definition at line 145 of file simple_tree.hpp.