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