A library for working with phylogenetic and population genetic data.
v0.27.0
RegionWindowIterator< ForwardIterator, InputType, DataType >::Iterator Class Reference

#include <genesis/population/window/region_window_iterator.hpp>

Detailed Description

template<class ForwardIterator, class InputType, class DataType = InputType>
class genesis::population::RegionWindowIterator< ForwardIterator, InputType, DataType >::Iterator

Internal iterator over the data.

Definition at line 115 of file region_window_iterator.hpp.

Public Member Functions

 Iterator (self_type &&)=default
 
 Iterator (self_type const &)=default
 
 ~Iterator ()=default
 
 operator bool () const
 
bool operator!= (self_type const &other) const
 
value_typeoperator* ()
 
const value_typeoperator* () const
 
self_typeoperator++ ()
 
value_typeoperator-> ()
 
const value_typeoperator-> () const
 
Iteratoroperator= (self_type &&)=default
 
Iteratoroperator= (self_type const &)=default
 
bool operator== (self_type const &other) const
 Compare two iterators for equality. More...
 

Public Types

using Data = D
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::input_iterator_tag
 
using pointer = value_type const *
 
using reference = value_type const &
 
using self_type = RegionWindowIterator< T, D >::Iterator
 
using value_type = T
 

Public Attributes

friend RegionWindowIterator
 

Constructor & Destructor Documentation

◆ ~Iterator()

~Iterator ( )
default

◆ Iterator() [1/2]

Iterator ( self_type const &  )
default

◆ Iterator() [2/2]

Iterator ( self_type &&  )
default

Member Function Documentation

◆ operator bool()

operator bool ( ) const
inline

Definition at line 225 of file region_window_iterator.hpp.

◆ operator!=()

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

Definition at line 239 of file region_window_iterator.hpp.

◆ operator*() [1/2]

value_type& operator* ( )
inline

Definition at line 200 of file region_window_iterator.hpp.

◆ operator*() [2/2]

const value_type& operator* ( ) const
inline

Definition at line 195 of file region_window_iterator.hpp.

◆ operator++()

self_type& operator++ ( )
inline

Definition at line 209 of file region_window_iterator.hpp.

◆ operator->() [1/2]

value_type* operator-> ( )
inline

Definition at line 190 of file region_window_iterator.hpp.

◆ operator->() [2/2]

const value_type* operator-> ( ) const
inline

Definition at line 185 of file region_window_iterator.hpp.

◆ operator=() [1/2]

Iterator& operator= ( self_type &&  )
default

◆ operator=() [2/2]

Iterator& operator= ( self_type const &  )
default

◆ operator==()

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

Compare two iterators for equality.

Definition at line 233 of file region_window_iterator.hpp.

Member Typedef Documentation

◆ Data

using Data = D

Definition at line 130 of file region_window_iterator.hpp.

◆ difference_type

using difference_type = std::ptrdiff_t

Definition at line 127 of file region_window_iterator.hpp.

◆ iterator_category

using iterator_category = std::input_iterator_tag

Definition at line 128 of file region_window_iterator.hpp.

◆ pointer

using pointer = value_type const*

Definition at line 125 of file region_window_iterator.hpp.

◆ reference

using reference = value_type const&

Definition at line 126 of file region_window_iterator.hpp.

◆ self_type

Definition at line 123 of file region_window_iterator.hpp.

◆ value_type

using value_type = T

Definition at line 124 of file region_window_iterator.hpp.

Member Data Documentation

◆ RegionWindowIterator

Definition at line 179 of file region_window_iterator.hpp.


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