DataSource::IteratorImpl
IteratorImpl
Section titled “IteratorImpl”#include <sbio/core/datasource.hh>template<class DS>class IteratorImplDefined in src/lib/sbio/core/datasource.hh:374
An iterator implementation to allow generating step indices from the DataSource.
The iterator on a DataSource is used to automatically generate new step indices until an ExhaustedSentinel is returned.
Template Parameters
Section titled “Template Parameters”DSThe DataSource to iterate over.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
operator== |
friend |
Declared here |
operator!= |
friend |
Declared here |
IteratorImpl |
function |
Declared here |
operator* |
function |
Declared here |
operator++ |
function |
Declared here |
operator++ |
function |
Declared here |
iterator_category |
typedef |
Declared here |
difference_type |
typedef |
Declared here |
value_type |
typedef |
Declared here |
pointer |
typedef |
Declared here |
reference |
typedef |
Declared here |
m_ds |
variable |
Declared here |
m_idx |
variable |
Declared here |
Friends
Section titled “Friends”| Name | Description |
|---|---|
operator== inline |
|
operator!= inline |
operator==
Section titled “operator==”inline
friend inline bool operator==(const IteratorImpl & a, const IteratorImpl & b)Defined in src/lib/sbio/core/datasource.hh:409
operator!=
Section titled “operator!=”inline
friend inline bool operator!=(const IteratorImpl & a, const IteratorImpl & b)Defined in src/lib/sbio/core/datasource.hh:415
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
IteratorImpl inline |
||
reference |
operator* const inline |
|
IteratorImpl & |
operator++ inline |
|
IteratorImpl |
operator++ inline |
IteratorImpl
Section titled “IteratorImpl”inline
inline IteratorImpl(DS & ds, value_type idx)Defined in src/lib/sbio/core/datasource.hh:384
operator*
Section titled “operator*”const inline
inline reference operator*() constDefined in src/lib/sbio/core/datasource.hh:392
operator++
Section titled “operator++”inline
inline IteratorImpl & operator++()Defined in src/lib/sbio/core/datasource.hh:399
operator++
Section titled “operator++”inline
inline IteratorImpl operator++(int)Defined in src/lib/sbio/core/datasource.hh:403
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
iterator_category |
|
difference_type |
|
value_type |
|
pointer |
|
reference |
iterator_category
Section titled “iterator_category”using iterator_category = std::forward_iterator_tagDefined in src/lib/sbio/core/datasource.hh:377
difference_type
Section titled “difference_type”using difference_type = std::ptrdiff_tDefined in src/lib/sbio/core/datasource.hh:378
value_type
Section titled “value_type”using value_type = typename FTraits::StepIdxTypeDefined in src/lib/sbio/core/datasource.hh:379
pointer
Section titled “pointer”using pointer = voidDefined in src/lib/sbio/core/datasource.hh:381
reference
Section titled “reference”using reference = value_typeDefined in src/lib/sbio/core/datasource.hh:382
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
DS & |
m_ds |
|
FTraits::StepIdxType |
m_idx |
DS & m_dsDefined in src/lib/sbio/core/datasource.hh:420
FTraits::StepIdxType m_idxDefined in src/lib/sbio/core/datasource.hh:421