|
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_group_by_ |
| Iterator | m_group_begin_ |
| Iterator | m_group_end_ |
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 acts_examples::GroupBy< Iterator, KeyGetter >::GroupIterator::difference_type = std::ptrdiff_t |
| using acts_examples::GroupBy< Iterator, KeyGetter >::GroupIterator::iterator_category = std::input_iterator_tag |
| using acts_examples::GroupBy< Iterator, KeyGetter >::GroupIterator::pointer = Group* |
| using acts_examples::GroupBy< Iterator, KeyGetter >::GroupIterator::reference = Group& |
| using acts_examples::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 acts_examples::GroupBy< Iterator, KeyGetter >::findEndOfGroup().
|
inlineconstexpr |
|
friend |
|
friend |
|
private |
|
private |
|
private |