Skip to content

SourceSet::RangeImpl

#include <sbio/core/iteration.hh>
template<class Set, bool Batched>
class RangeImpl

Defined in src/lib/sbio/core/iteration.hh:890

A range over the steps (or batches) of the set, for the calling unit.

Leaving the loop, by exhaustion or by break, ends the unit’s iteration with the Execution policy, as for a DataSource.

  • Set The SourceSet to iterate over (const/non-const etc.)

  • Batched Whether the range is over batches of steps.

Return Name Description
SBIO_HD RangeImpl inline
SBIO_HD ~RangeImpl inline
RangeImpl Deleted constructor.
RangeImpl & operator= Deleted assignment operator.
SBIO_HDIt begin const inline
SBIO_HDIt end const inline
SBIO_HDIt cbegin const inline
SBIO_HDIt cend const inline

inline

inline SBIO_HD RangeImpl(Set & set, hd_std::size_t batch_size = 0)

Defined in src/lib/sbio/core/iteration.hh:894


inline

inline SBIO_HD ~RangeImpl()

Defined in src/lib/sbio/core/iteration.hh:899


RangeImpl(const RangeImpl &) = delete

Defined in src/lib/sbio/core/iteration.hh:906

Deleted constructor.


RangeImpl & operator=(const RangeImpl &) = delete

Defined in src/lib/sbio/core/iteration.hh:907

Deleted assignment operator.


const inline

inline SBIO_HDIt begin() const

Defined in src/lib/sbio/core/iteration.hh:909


const inline

inline SBIO_HDIt end() const

Defined in src/lib/sbio/core/iteration.hh:917


const inline

inline SBIO_HDIt cbegin() const

Defined in src/lib/sbio/core/iteration.hh:927


const inline

inline SBIO_HDIt cend() const

Defined in src/lib/sbio/core/iteration.hh:928

Name Description
It

using It = IteratorImpl< Set, Batched >

Type: IteratorImpl< Set, Batched >

Defined in src/lib/sbio/core/iteration.hh:892

Return Name Description
Set & m_set
hd_std::size_t m_batch_size

Set & m_set

Defined in src/lib/sbio/core/iteration.hh:931


hd_std::size_t m_batch_size

Defined in src/lib/sbio/core/iteration.hh:932