#include <genesis/population/window/base_window_stream.hpp>
Inherited by ChromosomeWindowStream< InputStreamIterator, DataType >::DerivedIterator, GenomeWindowStream< InputStreamIterator, DataType >::DerivedIterator, IntervalWindowStream< InputStreamIterator, DataType >::DerivedIterator, PositionWindowStream< InputStreamIterator, DataType >::DerivedIterator, QueueWindowStream< InputStreamIterator, DataType >::DerivedIterator, RegionWindowStream< InputStreamIterator, DataType >::DerivedIterator, and WindowViewStream< InputStreamIterator, Data >::DerivedIterator.
template<class InputStreamIterator, class Data = typename InputStreamIterator::value_type, class WindowType = typename ::genesis::population::Window<Data>>
class genesis::population::BaseWindowStream< InputStreamIterator, Data, WindowType >::BaseIterator
Internal PIMPL-like implementation of the iterator that produces Windows.
This is the internal iterator class that the actual window iterator needs to derive from. It declares the interface that we expect in the PIMPL-like setup in the above public Iterator.
Definition at line 478 of file base_window_stream.hpp.
◆ BaseIterator() [1/2]
◆ BaseIterator() [2/2]
Construct the base class, which does initialization checks on its member variables to ensure that the user has set up the functors correctly.
Definition at line 507 of file base_window_stream.hpp.
◆ ~BaseIterator()
◆ get_current_window_()
Get the current window that the iterator shall return when dereferenced.
◆ get_parent_()
Get a pointer to the base class parent.
In the derived class implementation, this should be a pointer to the derived parent class, to make sure that it contains the correct settings etc needed for the iteration.
◆ increment_()
virtual void increment_ |
( |
| ) |
|
|
protectedpure virtual |
Advance in the iteration. This function is called from operator++.
◆ init_()
Initialize the base iterator class and check that it is set up correctly.
Definition at line 536 of file base_window_stream.hpp.
◆ const_reference
◆ InputType
using InputType = typename InputStreamType::value_type |
◆ iterator_category
◆ pointer
◆ reference
◆ self_type
◆ value_type
◆ BaseWindowStream
◆ current_
InputStreamIterator current_ |
|
protected |
◆ end_
◆ is_first_window_
bool is_first_window_ = true |
|
protected |
◆ is_last_window_
bool is_last_window_ = false |
|
protected |
◆ Iterator
The documentation for this class was generated from the following file: