Skip to content

DataSource::StepRangeImpl

#include <sbio/core/datasource.hh>
template<class DS>
class StepRangeImpl

Defined 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()) {}).

  • DS The DataSource to iterate over (const/non-const…)
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.

inline explicit

inline explicit SBIO_HD StepRangeImpl(DS & ds)

Defined in src/lib/sbio/core/datasource.hh:463


inline

inline SBIO_HD ~StepRangeImpl()

Defined in src/lib/sbio/core/datasource.hh:467


StepRangeImpl(const StepRangeImpl &) = delete

Defined in src/lib/sbio/core/datasource.hh:475

Deleted constructor.


StepRangeImpl & operator=(const StepRangeImpl &) = delete

Defined in src/lib/sbio/core/datasource.hh:476

Deleted assignment operator.


const inline

inline SBIO_HDIt begin() const

Defined in src/lib/sbio/core/datasource.hh:485

Return an iterator at the first step index.

An iterator at the first step index.


const inline

inline SBIO_HDIt end() const

Defined in src/lib/sbio/core/datasource.hh:492

Return an iterator pointing to the ExhaustedSentinel.

An iterator pointing to the ExhaustedSentinel.

Name Description
It

using It = IteratorImpl< DS >

Type: IteratorImpl< DS >

Defined in src/lib/sbio/core/datasource.hh:461

Return Name Description
DS & m_ds

DS & m_ds

Defined in src/lib/sbio/core/datasource.hh:495