SourceSet::RangeImpl
RangeImpl
Section titled “RangeImpl”#include <sbio/core/iteration.hh>template<class Set, bool Batched>class RangeImplDefined 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.
Template Parameters
Section titled “Template Parameters”-
SetThe SourceSet to iterate over (const/non-const etc.) -
BatchedWhether the range is over batches of steps.
Public Methods
Section titled “Public Methods”| 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 |
RangeImpl
Section titled “RangeImpl”inline
inline SBIO_HD RangeImpl(Set & set, hd_std::size_t batch_size = 0)Defined in src/lib/sbio/core/iteration.hh:894
~RangeImpl
Section titled “~RangeImpl”inline
inline SBIO_HD ~RangeImpl()Defined in src/lib/sbio/core/iteration.hh:899
RangeImpl
Section titled “RangeImpl”RangeImpl(const RangeImpl &) = deleteDefined in src/lib/sbio/core/iteration.hh:906
Deleted constructor.
operator=
Section titled “operator=”RangeImpl & operator=(const RangeImpl &) = deleteDefined in src/lib/sbio/core/iteration.hh:907
Deleted assignment operator.
const inline
inline SBIO_HDIt begin() constDefined in src/lib/sbio/core/iteration.hh:909
const inline
inline SBIO_HDIt end() constDefined in src/lib/sbio/core/iteration.hh:917
cbegin
Section titled “cbegin”const inline
inline SBIO_HDIt cbegin() constDefined in src/lib/sbio/core/iteration.hh:927
const inline
inline SBIO_HDIt cend() constDefined in src/lib/sbio/core/iteration.hh:928
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
It |
using It = IteratorImpl< Set, Batched >Type: IteratorImpl< Set, Batched >
Defined in src/lib/sbio/core/iteration.hh:892
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
Set & |
m_set |
|
hd_std::size_t |
m_batch_size |
Set & m_setDefined in src/lib/sbio/core/iteration.hh:931
m_batch_size
Section titled “m_batch_size”hd_std::size_t m_batch_sizeDefined in src/lib/sbio/core/iteration.hh:932