LDMX Software
|
Iterator type representing a group of elements. More...
#include <GroupBy.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = Group |
using | difference_type = std::ptrdiff_t |
using | pointer = Group * |
using | reference = Group & |
Public Member Functions | |
constexpr | GroupIterator (const GroupBy &groupBy, Iterator groupBegin) |
constexpr GroupIterator & | operator++ () |
Pre-increment operator to advance to the next group. | |
constexpr GroupIterator | operator++ (int) |
Post-increment operator to advance to the next group. | |
constexpr Group | operator* () const |
Derefence operator that returns the pointed-to group of elements. | |
Private Attributes | |
const GroupBy & | m_groupBy |
Iterator | m_groupBegin |
Iterator | m_groupEnd |
Friends | |
constexpr bool | operator== (const GroupIterator &lhs, const GroupEndIterator &rhs) |
constexpr bool | operator!= (const GroupIterator &lhs, const GroupEndIterator &rhs) |
Iterator type representing a group of elements.
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::difference_type = std::ptrdiff_t |
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::iterator_category = std::input_iterator_tag |
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::pointer = Group* |
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::reference = Group& |
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::value_type = Group |
|
inlineconstexpr |
|
inlineconstexpr |
Derefence operator that returns the pointed-to group of elements.
Definition at line 79 of file GroupBy.h.
|
inlineconstexpr |
Pre-increment operator to advance to the next group.
Definition at line 65 of file GroupBy.h.
References ActsExamples::GroupBy< Iterator, KeyGetter >::findEndOfGroup().
|
inlineconstexpr |
|
friend |
|
friend |
|
private |
|
private |
|
private |