A toolkit for working with phylogenetic data.
v0.24.0
IteratorInsertions Class Reference

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

Detailed Description

Definition at line 48 of file iterator_insertions.hpp.

Public Member Functions

 IteratorInsertions ()
 
 IteratorInsertions (TwobitVector const &vector)
 
 IteratorInsertions (IteratorInsertions const &)=default
 
 IteratorInsertions (IteratorInsertions &&)=default
 
 ~IteratorInsertions ()=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-> ()
 
IteratorInsertionsoperator= (IteratorInsertions const &)=default
 
IteratorInsertionsoperator= (IteratorInsertions &&)=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 = IteratorInsertions
 
using value_type = TwobitVector
 

Constructor & Destructor Documentation

◆ IteratorInsertions() [1/4]

IteratorInsertions ( )
inline

Definition at line 65 of file iterator_insertions.hpp.

◆ IteratorInsertions() [2/4]

IteratorInsertions ( TwobitVector const &  vector)
inlineexplicit

Definition at line 73 of file iterator_insertions.hpp.

◆ ~IteratorInsertions()

~IteratorInsertions ( )
default

◆ IteratorInsertions() [3/4]

IteratorInsertions ( IteratorInsertions const &  )
default

◆ IteratorInsertions() [4/4]

Member Function Documentation

◆ hash()

TwobitVector::WordType hash ( ) const
inline

Get the hash value of the current vector.

Definition at line 211 of file iterator_insertions.hpp.

◆ operator!=()

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

Definition at line 191 of file iterator_insertions.hpp.

◆ operator*()

value_type const& operator* ( )
inline

Definition at line 97 of file iterator_insertions.hpp.

◆ operator++() [1/2]

self_type& operator++ ( )
inline

Definition at line 107 of file iterator_insertions.hpp.

◆ operator++() [2/2]

self_type operator++ ( int  )
inline

Definition at line 179 of file iterator_insertions.hpp.

◆ operator->()

value_type const* operator-> ( )
inline

Definition at line 102 of file iterator_insertions.hpp.

◆ operator=() [1/2]

IteratorInsertions& operator= ( IteratorInsertions const &  )
default

◆ operator=() [2/2]

IteratorInsertions& operator= ( IteratorInsertions &&  )
default

◆ operator==()

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

Definition at line 186 of file iterator_insertions.hpp.

◆ position()

size_t position ( ) const
inline

Get the position that is currently deleted.

Definition at line 203 of file iterator_insertions.hpp.

◆ vector()

TwobitVector const& vector ( ) const
inline

Get the current vector.

Definition at line 219 of file iterator_insertions.hpp.

Member Typedef Documentation

◆ iterator_category

using iterator_category = std::forward_iterator_tag

Definition at line 57 of file iterator_insertions.hpp.

◆ self_type

Definition at line 58 of file iterator_insertions.hpp.

◆ value_type

Definition at line 59 of file iterator_insertions.hpp.


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