![]() |
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 > |
![]() | |
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 |
![]() | |
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 171 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::BaseType = Iterator<InputSpan, T> |
Definition at line 175 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::const_iterator = Iterator<SelfType, const T> |
Definition at line 181 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::ElementType = typename std::remove_const<value_type>::type |
Definition at line 179 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::iterator = Iterator<SelfType, T> |
Definition at line 180 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::pointer = typename BaseType::pointer |
Definition at line 178 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::reference = typename BaseType::reference |
Definition at line 177 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::SelfType = InputSpanIterator |
Definition at line 174 of file InputSpan.h.
using o2::framework::InputSpan::InputSpanIterator< T >::value_type = typename BaseType::value_type |
Definition at line 176 of file InputSpan.h.
|
inline |
Definition at line 183 of file InputSpan.h.
|
inline |
Definition at line 210 of file InputSpan.h.
|
inline |
Definition at line 215 of file InputSpan.h.
|
inline |
Get element at {slotindex, partindex}.
Definition at line 189 of file InputSpan.h.
|
inline |
Check if slot is valid, index of part is not used.
Definition at line 195 of file InputSpan.h.
|
inline |
Get number of parts in input slot.
Definition at line 204 of file InputSpan.h.