![]() |
Project
|
#include <InputSpan.h>
Inherits o2::framework::InputSpan::Iterator< InputSpan, T >.
Public Types | |
| using | SelfType = InputSpanIterator |
| using | BaseType = Iterator< InputSpan, T > |
| using | value_type = typename BaseType::value_type |
| using | reference = typename BaseType::reference |
| using | pointer = typename BaseType::pointer |
| using | ElementType = typename std::remove_const< value_type >::type |
| using | iterator = Iterator< SelfType, T > |
| using | const_iterator = Iterator< SelfType, const T > |
Public Types inherited from o2::framework::InputSpan::Iterator< InputSpan, T > | |
| using | ParentType = InputSpan |
| using | SelfType = Iterator |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = T |
| using | reference = T & |
| using | pointer = T * |
| using | difference_type = std::ptrdiff_t |
| using | ElementType = typename std::remove_const< value_type >::type |
Public Member Functions | |
| InputSpanIterator (InputSpan const *parent, bool isEnd=false) | |
| DataRefIndices | initialIndices () const |
| Initial indices for part-level iteration: first part starts at {headerIdx=0, payloadIdx=1}. | |
| DataRefIndices | endIndices () const |
| Sentinel used by nextIndicesGetter to signal end-of-slot. | |
| ElementType | getAtIndices (DataRefIndices indices) const |
| Get element at the given raw message indices in O(1). | |
| DataRefIndices | nextIndices (DataRefIndices current) const |
| Advance current to the next part's indices in O(1). | |
| size_t | size () const |
| Get number of parts in input slot. | |
| const_iterator | begin () const |
| const_iterator | end () const |
Public Member Functions inherited from o2::framework::InputSpan::Iterator< InputSpan, T > | |
| Iterator ()=delete | |
| Iterator (ParentType const *parent, bool isEnd=false) | |
| SelfType & | operator++ () |
| SelfType | operator++ (int) |
| reference | operator* () const |
| bool | operator== (const SelfType &rh) const |
| auto | operator<=> (const SelfType &rh) const |
| ParentType const * | parent () const |
| size_t | position () const |
An iterator over the input slots. It supports an iterator interface to access the parts in the slot.
Definition at line 192 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::BaseType = Iterator<InputSpan, T> |
Definition at line 196 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::const_iterator = Iterator<SelfType, const T> |
Definition at line 202 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::ElementType = typename std::remove_const<value_type>::type |
Definition at line 200 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::iterator = Iterator<SelfType, T> |
Definition at line 201 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::pointer = typename BaseType::pointer |
Definition at line 199 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::reference = typename BaseType::reference |
Definition at line 198 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::SelfType = InputSpanIterator |
Definition at line 195 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::value_type = typename BaseType::value_type |
Definition at line 197 of file InputSpan.h.
|
inline |
Definition at line 204 of file InputSpan.h.
|
inline |
Definition at line 232 of file InputSpan.h.
|
inline |
Definition at line 237 of file InputSpan.h.
|
inline |
Sentinel used by nextIndicesGetter to signal end-of-slot.
Definition at line 212 of file InputSpan.h.
|
inline |
Get element at the given raw message indices in O(1).
Definition at line 215 of file InputSpan.h.
|
inline |
Initial indices for part-level iteration: first part starts at {headerIdx=0, payloadIdx=1}.
Definition at line 210 of file InputSpan.h.
|
inline |
Advance current to the next part's indices in O(1).
Definition at line 221 of file InputSpan.h.
|
inline |
Get number of parts in input slot.
Definition at line 227 of file InputSpan.h.