ATLAS Offline Software
|
const_iterator class. More...
#include <LArCompactSubset.h>
Public Types | |
typedef long | difference_type |
Public Member Functions | |
const_iterator (size_t febIndex, const LArCompactSubsetVector &subset) | |
Constructor. More... | |
LArCompactSubsetConstFebPair | operator* () |
‘Dereference’ the iterator. More... | |
bool | operator== (const const_iterator &other) const |
Compare iterators for equality. More... | |
bool | operator!= (const const_iterator &other) const |
Compare iterators for inequality. More... | |
const_iterator & | operator++ () |
Advance iterator. More... | |
const_iterator | operator+ (size_t delta) const |
Adjust iterator. More... | |
difference_type | operator- (const const_iterator &other) const |
Iterator difference. More... | |
Private Attributes | |
size_t | m_febIndex |
Index we're currently referencing. More... | |
const LArCompactSubsetVector & | m_subset |
The subset within which we live. More... | |
const_iterator class.
This dereferences into LArCompactSubsetConstFebPair. The iteration variable is the FEB index.
Definition at line 611 of file LArCompactSubset.h.
Definition at line 614 of file LArCompactSubset.h.
LArCompactSubsetVector::const_iterator::const_iterator | ( | size_t | febIndex, |
const LArCompactSubsetVector & | subset | ||
) |
Constructor.
febIndex | The FEB index to which we point. |
subset | The subset within which we live. |
bool LArCompactSubsetVector::const_iterator::operator!= | ( | const const_iterator & | other | ) | const |
Compare iterators for inequality.
LArCompactSubsetConstFebPair LArCompactSubsetVector::const_iterator::operator* | ( | ) |
‘Dereference’ the iterator.
const_iterator LArCompactSubsetVector::const_iterator::operator+ | ( | size_t | delta | ) | const |
Adjust iterator.
delta | Amount by which to advance the iterator. |
const_iterator& LArCompactSubsetVector::const_iterator::operator++ | ( | ) |
Advance iterator.
difference_type LArCompactSubsetVector::const_iterator::operator- | ( | const const_iterator & | other | ) | const |
Iterator difference.
other | Other iterator for difference. |
bool LArCompactSubsetVector::const_iterator::operator== | ( | const const_iterator & | other | ) | const |
Compare iterators for equality.
|
private |
Index we're currently referencing.
Definition at line 666 of file LArCompactSubset.h.
|
private |
The subset within which we live.
Definition at line 669 of file LArCompactSubset.h.