DataSource::StepRangeImpl
StepRangeImpl
Section titled “StepRangeImpl”#include <sbio/core/datasource.hh>template<class DS>class StepRangeImplDefined in src/lib/sbio/core/datasource.hh:459
A range over the steps of a DataSource, for use in a range-based for loop.
Each parallel executing unit (e.g. a thread or rank, etc.) iterating will setup its own range-based loop (for (auto step : ds.steps()) {}).
Template Parameters
Section titled “Template Parameters”DSThe DataSource to iterate over (const/non-const…)
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
SBIO_HD |
StepRangeImpl inline explicit |
|
SBIO_HD |
~StepRangeImpl inline |
|
StepRangeImpl |
Deleted constructor. | |
StepRangeImpl & |
operator= |
Deleted assignment operator. |
SBIO_HDIt |
begin const inline |
Return an iterator at the first step index. |
SBIO_HDIt |
end const inline |
Return an iterator pointing to the ExhaustedSentinel. |
StepRangeImpl
Section titled “StepRangeImpl”inline explicit
inline explicit SBIO_HD StepRangeImpl(DS & ds)Defined in src/lib/sbio/core/datasource.hh:463
~StepRangeImpl
Section titled “~StepRangeImpl”inline
inline SBIO_HD ~StepRangeImpl()Defined in src/lib/sbio/core/datasource.hh:467
StepRangeImpl
Section titled “StepRangeImpl”StepRangeImpl(const StepRangeImpl &) = deleteDefined in src/lib/sbio/core/datasource.hh:475
Deleted constructor.
operator=
Section titled “operator=”StepRangeImpl & operator=(const StepRangeImpl &) = deleteDefined in src/lib/sbio/core/datasource.hh:476
Deleted assignment operator.
const inline
inline SBIO_HDIt begin() constDefined in src/lib/sbio/core/datasource.hh:485
Return an iterator at the first step index.
Returns
Section titled “Returns”An iterator at the first step index.
const inline
inline SBIO_HDIt end() constDefined in src/lib/sbio/core/datasource.hh:492
Return an iterator pointing to the ExhaustedSentinel.
Returns
Section titled “Returns”An iterator pointing to the ExhaustedSentinel.
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
It |
using It = IteratorImpl< DS >Type: IteratorImpl< DS >
Defined in src/lib/sbio/core/datasource.hh:461
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
DS & |
m_ds |
DS & m_dsDefined in src/lib/sbio/core/datasource.hh:495