A library for working with phylogenetic and population genetic data.
v0.32.0
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 (IteratorSubstitutions &&)=default
 
 IteratorSubstitutions (IteratorSubstitutions const &)=default
 
 IteratorSubstitutions (TwobitVector const &vector)
 
 ~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 &&)=default
 
IteratorSubstitutionsoperator= (IteratorSubstitutions const &)=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

◆ IteratorSubstitutions() [1/4]

Definition at line 65 of file iterator_substitutions.hpp.

◆ IteratorSubstitutions() [2/4]

IteratorSubstitutions ( TwobitVector const &  vector)
inlineexplicit

Definition at line 73 of file iterator_substitutions.hpp.

◆ ~IteratorSubstitutions()

~IteratorSubstitutions ( )
default

◆ IteratorSubstitutions() [3/4]

◆ IteratorSubstitutions() [4/4]

Member Function Documentation

◆ hash()

TwobitVector::WordType hash ( ) const
inline

Get the hash value of the current vector.

Definition at line 201 of file iterator_substitutions.hpp.

◆ operator!=()

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

Definition at line 181 of file iterator_substitutions.hpp.

◆ operator*()

value_type const& operator* ( )
inline

Definition at line 97 of file iterator_substitutions.hpp.

◆ operator++() [1/2]

self_type& operator++ ( )
inline

Definition at line 107 of file iterator_substitutions.hpp.

◆ operator++() [2/2]

self_type operator++ ( int  )
inline

Definition at line 169 of file iterator_substitutions.hpp.

◆ operator->()

value_type const* operator-> ( )
inline

Definition at line 102 of file iterator_substitutions.hpp.

◆ operator=() [1/2]

IteratorSubstitutions& operator= ( IteratorSubstitutions &&  )
default

◆ operator=() [2/2]

IteratorSubstitutions& operator= ( IteratorSubstitutions const &  )
default

◆ operator==()

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

Definition at line 176 of file iterator_substitutions.hpp.

◆ position()

size_t position ( ) const
inline

Get the position that is currently deleted.

Definition at line 193 of file iterator_substitutions.hpp.

◆ vector()

TwobitVector const& vector ( ) const
inline

Get the current vector.

Definition at line 209 of file iterator_substitutions.hpp.

Member Typedef Documentation

◆ iterator_category

using iterator_category = std::forward_iterator_tag

Definition at line 57 of file iterator_substitutions.hpp.

◆ self_type

Definition at line 58 of file iterator_substitutions.hpp.

◆ value_type

Definition at line 59 of file iterator_substitutions.hpp.


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