![]() |
Project
|
#include <RawParser.h>
Public Types | |
using | parent_type = ParentType |
using | self_type = Iterator |
using | iterator_category = std::forward_iterator_tag |
using | value_type = T |
using | reference = T & |
using | pointer = T * |
Public Member Functions | |
Iterator ()=delete | |
Iterator (parent_type parser, int start=0) | |
~Iterator ()=default | |
self_type & | operator++ () |
self_type | operator++ (int) |
reference | operator* () |
bool | operator== (const self_type &other) const |
bool | operator!= (const self_type &rh) const |
buffer_type const * | raw () const |
get pointer to raw block at current position, rdh starts here | |
buffer_type const * | data () const |
get pointer to payload at current position | |
size_t | offset () const |
offset of payload at current position | |
size_t | size () const |
get size of payload at current position | |
size_t | sizeTotal () const |
get size of payload + header at current position | |
template<typename U > | |
U const * | get_if (U const *=nullptr) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, self_type const &it) |
Iterator implementation Supports the following operations:
Definition at line 515 of file RawParser.h.
using o2::framework::RawParser< MAX_SIZE, BOUNDS_CHECKS >::Iterator< T, ParentType >::iterator_category = std::forward_iterator_tag |
Definition at line 520 of file RawParser.h.
using o2::framework::RawParser< MAX_SIZE, BOUNDS_CHECKS >::Iterator< T, ParentType >::parent_type = ParentType |
Definition at line 518 of file RawParser.h.
using o2::framework::RawParser< MAX_SIZE, BOUNDS_CHECKS >::Iterator< T, ParentType >::pointer = T* |
Definition at line 523 of file RawParser.h.
using o2::framework::RawParser< MAX_SIZE, BOUNDS_CHECKS >::Iterator< T, ParentType >::reference = T& |
Definition at line 522 of file RawParser.h.
using o2::framework::RawParser< MAX_SIZE, BOUNDS_CHECKS >::Iterator< T, ParentType >::self_type = Iterator |
Definition at line 519 of file RawParser.h.
using o2::framework::RawParser< MAX_SIZE, BOUNDS_CHECKS >::Iterator< T, ParentType >::value_type = T |
Definition at line 521 of file RawParser.h.
|
delete |
|
inline |
Definition at line 527 of file RawParser.h.
|
default |
|
inline |
get pointer to payload at current position
Definition at line 572 of file RawParser.h.
|
inline |
get header as specific type Normal usage is get_if<T>() but in some rare cases the type can also be passed by parameter get_if((T*)nullptr), the parameter is ignored
Definition at line 600 of file RawParser.h.
|
inline |
offset of payload at current position
Definition at line 578 of file RawParser.h.
|
inline |
Definition at line 560 of file RawParser.h.
|
inline |
Definition at line 548 of file RawParser.h.
|
inline |
Definition at line 535 of file RawParser.h.
|
inline |
Definition at line 541 of file RawParser.h.
|
inline |
Definition at line 553 of file RawParser.h.
|
inline |
get pointer to raw block at current position, rdh starts here
Definition at line 566 of file RawParser.h.
|
inline |
get size of payload at current position
Definition at line 584 of file RawParser.h.
|
inline |
get size of payload + header at current position
Definition at line 590 of file RawParser.h.
|
friend |
Definition at line 605 of file RawParser.h.