A library for working with phylogenetic and population genetic data.
v0.32.0
RegionWindowStream< InputStreamIterator, DataType >::DerivedIterator Class Referencefinal

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

Inherits BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator.

Detailed Description

template<class InputStreamIterator, class DataType = typename InputStreamIterator::value_type>
class genesis::population::RegionWindowStream< InputStreamIterator, DataType >::DerivedIterator

Internal iterator that produces Windows.

Definition at line 117 of file region_window_stream.hpp.

Public Member Functions

 DerivedIterator (self_type &&)=default
 
 DerivedIterator (self_type const &)=default
 
virtual ~DerivedIterator () override=default
 
DerivedIteratoroperator= (self_type &&)=default
 
DerivedIteratoroperator= (self_type const &)=default
 
- Public Member Functions inherited from BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator
virtual ~BaseIterator ()=default
 

Public Types

using base_iterator_type = typename BaseWindowStream< InputStreamIterator, DataType >::BaseIterator
 
using const_reference = value_type const &
 
using Entry = typename Window::Entry
 
using InputType = typename InputStreamIterator::value_type
 
using iterator_category = std::input_iterator_tag
 
using pointer = value_type *
 
using reference = value_type &
 
using self_type = typename RegionWindowStream< InputStreamIterator, DataType >::DerivedIterator
 
using value_type = Window
 
using Window = ::genesis::population::Window< DataType >
 
- Public Types inherited from BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator
using const_reference = value_type const &
 
using InputType = typename InputStreamType::value_type
 
using iterator_category = std::input_iterator_tag
 
using pointer = value_type *
 
using reference = value_type &
 
using self_type = typename BaseWindowStream< InputStreamType, DataType, WindowType >::BaseIterator
 
using value_type = WindowType
 

Public Attributes

friend RegionWindowStream
 
- Public Attributes inherited from BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator
friend BaseWindowStream
 
friend Iterator
 

Additional Inherited Members

- Protected Member Functions inherited from BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator
 BaseIterator ()=default
 
 BaseIterator (BaseWindowStream const *parent)
 Construct the base class, which does initialization checks on its member variables to ensure that the user has set up the functors correctly. More...
 
void init_ (BaseWindowStream const *parent)
 Initialize the base iterator class and check that it is set up correctly. More...
 
- Protected Attributes inherited from BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator
InputStreamIterator current_
 
InputStreamIterator end_
 
bool is_first_window_ = true
 
bool is_last_window_ = false
 

Constructor & Destructor Documentation

◆ ~DerivedIterator()

virtual ~DerivedIterator ( )
overridevirtualdefault

◆ DerivedIterator() [1/2]

DerivedIterator ( self_type const &  )
default

◆ DerivedIterator() [2/2]

DerivedIterator ( self_type &&  )
default

Member Function Documentation

◆ operator=() [1/2]

DerivedIterator& operator= ( self_type &&  )
default

◆ operator=() [2/2]

DerivedIterator& operator= ( self_type const &  )
default

Member Typedef Documentation

◆ base_iterator_type

using base_iterator_type = typename BaseWindowStream< InputStreamIterator, DataType >::BaseIterator

Definition at line 131 of file region_window_stream.hpp.

◆ const_reference

using const_reference = value_type const&

Definition at line 141 of file region_window_stream.hpp.

◆ Entry

using Entry = typename Window::Entry

Definition at line 134 of file region_window_stream.hpp.

◆ InputType

using InputType = typename InputStreamIterator::value_type

Definition at line 135 of file region_window_stream.hpp.

◆ iterator_category

using iterator_category = std::input_iterator_tag

Definition at line 137 of file region_window_stream.hpp.

◆ pointer

using pointer = value_type*

Definition at line 139 of file region_window_stream.hpp.

◆ reference

Definition at line 140 of file region_window_stream.hpp.

◆ self_type

using self_type = typename RegionWindowStream< InputStreamIterator, DataType >::DerivedIterator

Definition at line 127 of file region_window_stream.hpp.

◆ value_type

using value_type = Window

Definition at line 138 of file region_window_stream.hpp.

◆ Window

Member Data Documentation

◆ RegionWindowStream

Definition at line 203 of file region_window_stream.hpp.


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