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

#include <genesis/utils/math/twobit_vector/iterator_substitutions.hpp>

Detailed Description

Definition at line 48 of file iterator_substitutions.hpp.

Public Member Functions

 IteratorSubstitutions ()
 
 IteratorSubstitutions (TwobitVector const &vector)
 
 IteratorSubstitutions (IteratorSubstitutions const &)=default
 
 IteratorSubstitutions (IteratorSubstitutions &&)=default
 
 ~IteratorSubstitutions ()=default
 
TwobitVector::WordType hash () const
 Get the hash value of the current vector. More...
 
bool operator!= (self_type const &other) const
 
value_type const & operator* ()
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
value_type const * operator-> ()
 
IteratorSubstitutionsoperator= (IteratorSubstitutions const &)=default
 
IteratorSubstitutionsoperator= (IteratorSubstitutions &&)=default
 
bool operator== (self_type const &other) const
 
size_t position () const
 Get the position that is currently deleted. More...
 
TwobitVector const & vector () const
 Get the current vector. More...
 

Public Types

using iterator_category = std::forward_iterator_tag
 
using self_type = IteratorSubstitutions
 
using value_type = TwobitVector
 

Constructor & Destructor Documentation

Definition at line 65 of file iterator_substitutions.hpp.

IteratorSubstitutions ( TwobitVector const &  vector)
inlineexplicit

Definition at line 73 of file iterator_substitutions.hpp.

~IteratorSubstitutions ( )
default

Member Function Documentation

TwobitVector::WordType hash ( ) const
inline

Get the hash value of the current vector.

Definition at line 201 of file iterator_substitutions.hpp.

bool operator!= ( self_type const &  other) const
inline

Definition at line 181 of file iterator_substitutions.hpp.

value_type const& operator* ( )
inline

Definition at line 97 of file iterator_substitutions.hpp.

self_type& operator++ ( )
inline

Definition at line 107 of file iterator_substitutions.hpp.

self_type operator++ ( int  )
inline

Definition at line 169 of file iterator_substitutions.hpp.

value_type const* operator-> ( )
inline

Definition at line 102 of file iterator_substitutions.hpp.

IteratorSubstitutions& operator= ( IteratorSubstitutions const &  )
default
IteratorSubstitutions& operator= ( IteratorSubstitutions &&  )
default
bool operator== ( self_type const &  other) const
inline

Definition at line 176 of file iterator_substitutions.hpp.

size_t position ( ) const
inline

Get the position that is currently deleted.

Definition at line 193 of file iterator_substitutions.hpp.

TwobitVector const& vector ( ) const
inline

Get the current vector.

Definition at line 209 of file iterator_substitutions.hpp.

Member Typedef Documentation

using iterator_category = std::forward_iterator_tag

Definition at line 57 of file iterator_substitutions.hpp.

Definition at line 58 of file iterator_substitutions.hpp.

Definition at line 59 of file iterator_substitutions.hpp.


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