Analysis Software
Documentation for sPHENIX simulation software
|
Iterator type representing a group of elements. More...
#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/Utilities/GroupBy.hpp>
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 |
Dereference 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.
Definition at line 52 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 52 of file GroupBy.hpp
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::difference_type = std::ptrdiff_t |
Definition at line 56 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 56 of file GroupBy.hpp
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::iterator_category = std::input_iterator_tag |
Definition at line 54 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 54 of file GroupBy.hpp
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::pointer = Group* |
Definition at line 57 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 57 of file GroupBy.hpp
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::reference = Group& |
Definition at line 58 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 58 of file GroupBy.hpp
using ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::value_type = Group |
Definition at line 55 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 55 of file GroupBy.hpp
|
inline |
Definition at line 60 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 60 of file GroupBy.hpp
|
inline |
Dereference operator that returns the pointed-to group of elements.
Definition at line 79 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 79 of file GroupBy.hpp
References ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::m_groupBegin, ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::m_groupBy, ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::m_groupEnd, ActsExamples::GroupBy< Iterator, KeyGetter >::m_keyGetter, and ActsExamples::makeRange().
|
inline |
Pre-increment operator to advance to the next group.
Definition at line 65 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 65 of file GroupBy.hpp
References ActsExamples::GroupBy< Iterator, KeyGetter >::findEndOfGroup(), ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::m_groupBegin, ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::m_groupBy, ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::m_groupEnd, and swap().
|
inline |
Post-increment operator to advance to the next group.
Definition at line 73 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 73 of file GroupBy.hpp
|
friend |
Definition at line 95 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 95 of file GroupBy.hpp
|
friend |
Definition at line 91 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 91 of file GroupBy.hpp
|
private |
Definition at line 88 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 88 of file GroupBy.hpp
Referenced by ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::operator*(), and ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::operator++().
|
private |
Definition at line 87 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 87 of file GroupBy.hpp
Referenced by ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::operator*(), and ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::operator++().
|
private |
Definition at line 89 of file GroupBy.hpp.
View newest version in sPHENIX GitHub at line 89 of file GroupBy.hpp
Referenced by ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::operator*(), and ActsExamples::GroupBy< Iterator, KeyGetter >::GroupIterator::operator++().