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

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

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

Detailed Description

template<class InputStreamIterator, class Data = typename InputStreamIterator::value_type>
class genesis::population::WindowViewStream< InputStreamIterator, Data >::DerivedIterator

Internal iterator that produces WindowViews.

Definition at line 118 of file window_view_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, WindowViewType >::BaseIterator
 
using const_reference = value_type const &
 
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 WindowViewStream< InputStreamIterator, DataType >::DerivedIterator
 
using value_type = WindowViewType
 
- 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 WindowViewStream
 
- 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, WindowViewType >::BaseIterator

Definition at line 135 of file window_view_stream.hpp.

◆ const_reference

using const_reference = value_type const&

Definition at line 146 of file window_view_stream.hpp.

◆ InputType

using InputType = typename InputStreamIterator::value_type

Definition at line 140 of file window_view_stream.hpp.

◆ iterator_category

using iterator_category = std::input_iterator_tag

Definition at line 142 of file window_view_stream.hpp.

◆ pointer

using pointer = value_type*

Definition at line 144 of file window_view_stream.hpp.

◆ reference

Definition at line 145 of file window_view_stream.hpp.

◆ self_type

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

Definition at line 130 of file window_view_stream.hpp.

◆ value_type

Definition at line 143 of file window_view_stream.hpp.

Member Data Documentation

◆ WindowViewStream

Definition at line 195 of file window_view_stream.hpp.


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