ATLAS Offline Software
|
#include <RangeIterator.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = std::ptrdiff_t |
using | value_type = ExpandedIdentifier |
using | pointer = ExpandedIdentifier * |
using | reference = ExpandedIdentifier & |
Public Member Functions | |
ConstRangeIterator ()=default | |
ConstRangeIterator (const Range &range) | |
ConstRangeIterator | begin () const |
ConstRangeIterator | end () const |
ConstRangeIterator | operator++ () |
const ExpandedIdentifier & | operator* () const |
bool | operator== (const ConstRangeIterator &other) const |
Private Attributes | |
std::vector< std::size_t > | m_indices |
ExpandedIdentifier | m_id |
ExpandedIdentifier | m_min |
ExpandedIdentifier | m_max |
const Range * | m_range {} |
Definition at line 46 of file RangeIterator.h.
using ConstRangeIterator::difference_type = std::ptrdiff_t |
Definition at line 49 of file RangeIterator.h.
using ConstRangeIterator::iterator_category = std::forward_iterator_tag |
Definition at line 48 of file RangeIterator.h.
Definition at line 51 of file RangeIterator.h.
Definition at line 52 of file RangeIterator.h.
Definition at line 50 of file RangeIterator.h.
|
default |
Fill all running identifiers m_id : the current id m_min : the set of low bounds m_max : the set of high bounds
Definition at line 151 of file RangeIterator.cxx.
ConstRangeIterator ConstRangeIterator::begin | ( | ) | const |
Definition at line 18 of file RangeIterator.cxx.
ConstRangeIterator ConstRangeIterator::end | ( | ) | const |
Definition at line 32 of file RangeIterator.cxx.
const ExpandedIdentifier & ConstRangeIterator::operator* | ( | ) | const |
Definition at line 244 of file RangeIterator.cxx.
ConstRangeIterator ConstRangeIterator::operator++ | ( | ) |
The local range is not exceeded. increase the value then reset the remaining fields.
The current range field was exhausted check the previous one.
Definition at line 181 of file RangeIterator.cxx.
bool ConstRangeIterator::operator== | ( | const ConstRangeIterator & | other | ) | const |
Definition at line 250 of file RangeIterator.cxx.
|
private |
Definition at line 66 of file RangeIterator.h.
|
private |
Definition at line 65 of file RangeIterator.h.
|
private |
Definition at line 68 of file RangeIterator.h.
|
private |
Definition at line 67 of file RangeIterator.h.
Definition at line 69 of file RangeIterator.h.