A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IteratorPreorder< TaxonomyType, TaxonType > Class Template Reference

#include <genesis/taxonomy/iterator/preorder.hpp>

Detailed Description

template<typename TaxonomyType, typename TaxonType>
class genesis::taxonomy::IteratorPreorder< TaxonomyType, TaxonType >

Definition at line 103 of file taxonomy/iterator/preorder.hpp.

Public Member Functions

 IteratorPreorder ()
 
 IteratorPreorder (TaxonomyType &taxonomy)
 
 IteratorPreorder (IteratorPreorder const &)=default
 
 IteratorPreorder (IteratorPreorder &&)=default
 
 ~IteratorPreorder ()=default
 
bool operator!= (const self_type &other) const
 
self_type operator* ()
 
self_type operator++ ()
 
self_type operator++ (int)
 
IteratorPreorderoperator= (IteratorPreorder const &)=default
 
IteratorPreorderoperator= (IteratorPreorder &&)=default
 
bool operator== (const self_type &other) const
 
TaxonType & taxon () const
 

Public Types

using iterator_category = std::forward_iterator_tag
 
using self_type = IteratorPreorder< TaxonomyType, TaxonType >
 

Constructor & Destructor Documentation

IteratorPreorder ( )
inline

Definition at line 119 of file taxonomy/iterator/preorder.hpp.

IteratorPreorder ( TaxonomyType &  taxonomy)
inlineexplicit

Definition at line 122 of file taxonomy/iterator/preorder.hpp.

~IteratorPreorder ( )
default
IteratorPreorder ( IteratorPreorder< TaxonomyType, TaxonType > const &  )
default
IteratorPreorder ( IteratorPreorder< TaxonomyType, TaxonType > &&  )
default

Member Function Documentation

bool operator!= ( const self_type other) const
inline

Definition at line 177 of file taxonomy/iterator/preorder.hpp.

self_type operator* ( )
inline

Definition at line 143 of file taxonomy/iterator/preorder.hpp.

self_type operator++ ( )
inline

Definition at line 148 of file taxonomy/iterator/preorder.hpp.

self_type operator++ ( int  )
inline

Definition at line 165 of file taxonomy/iterator/preorder.hpp.

IteratorPreorder& operator= ( IteratorPreorder< TaxonomyType, TaxonType > const &  )
default
IteratorPreorder& operator= ( IteratorPreorder< TaxonomyType, TaxonType > &&  )
default
bool operator== ( const self_type other) const
inline

Definition at line 172 of file taxonomy/iterator/preorder.hpp.

TaxonType& taxon ( ) const
inline

Definition at line 186 of file taxonomy/iterator/preorder.hpp.

Member Typedef Documentation

using iterator_category = std::forward_iterator_tag

Definition at line 112 of file taxonomy/iterator/preorder.hpp.

using self_type = IteratorPreorder<TaxonomyType, TaxonType>

Definition at line 113 of file taxonomy/iterator/preorder.hpp.


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