![]() |
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, size_t position=0, size_t size=0) | |
| ElementType | get (size_t pos) const |
| Get element at {slotindex, partindex}. | |
| bool | isValid (size_t=0) const |
| Check if slot is valid, index of part is not used. | |
| 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, size_t position=0, size_t size=0) | |
| ~Iterator ()=default | |
| SelfType & | operator++ () |
| SelfType | operator++ (int) |
| reference | operator* () const |
| bool | operator== (const SelfType &rh) const |
| bool | 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 183 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::BaseType = Iterator<InputSpan, T> |
Definition at line 187 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::const_iterator = Iterator<SelfType, const T> |
Definition at line 193 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::ElementType = typename std::remove_const<value_type>::type |
Definition at line 191 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::iterator = Iterator<SelfType, T> |
Definition at line 192 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::pointer = typename BaseType::pointer |
Definition at line 190 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::reference = typename BaseType::reference |
Definition at line 189 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::SelfType = InputSpanIterator |
Definition at line 186 of file InputSpan.h.
| using o2::framework::InputSpan::InputSpanIterator< T >::value_type = typename BaseType::value_type |
Definition at line 188 of file InputSpan.h.
|
inline |
Definition at line 195 of file InputSpan.h.
|
inline |
Definition at line 222 of file InputSpan.h.
|
inline |
Definition at line 227 of file InputSpan.h.
|
inline |
Get element at {slotindex, partindex}.
Definition at line 201 of file InputSpan.h.
|
inline |
Check if slot is valid, index of part is not used.
Definition at line 207 of file InputSpan.h.
|
inline |
Get number of parts in input slot.
Definition at line 216 of file InputSpan.h.