ATLAS Offline Software
|
Iterator for LArCompactSubsetChannelVector. More...
#include <LArCompactSubset.h>
Public Member Functions | |
const_iterator () | |
Default constructor. More... | |
const_iterator (unsigned int chan, const LArCompactSubsetVector &subset) | |
Constructor from channel index and subset reference. More... | |
LArCompactSubsetConstChannelProxy | operator* () const |
Iterator dereference. More... | |
bool | operator== (const const_iterator &other) const |
Iterator equality test. More... | |
bool | operator!= (const const_iterator &other) const |
Iterator inequality test. More... | |
const_iterator & | operator++ () |
Iterator increment. More... | |
const_iterator | operator- (size_t delta) const |
Adjust iterator backwards. More... | |
long | operator- (const const_iterator &other) const |
Iterator difference. More... | |
Private Attributes | |
unsigned int | m_chan |
Channel index at which we're currently pointing. More... | |
const LArCompactSubsetVector * | m_subset |
Subset within which we live. More... | |
Iterator for LArCompactSubsetChannelVector.
Iteration variable is the channel index.
Definition at line 263 of file LArCompactSubset.h.
LArCompactSubsetChannelVector::const_iterator::const_iterator | ( | ) |
Default constructor.
LArCompactSubsetChannelVector::const_iterator::const_iterator | ( | unsigned int | chan, |
const LArCompactSubsetVector & | subset | ||
) |
Constructor from channel index and subset reference.
bool LArCompactSubsetChannelVector::const_iterator::operator!= | ( | const const_iterator & | other | ) | const |
Iterator inequality test.
LArCompactSubsetConstChannelProxy LArCompactSubsetChannelVector::const_iterator::operator* | ( | ) | const |
Iterator dereference.
Yields a channel proxy.
const_iterator& LArCompactSubsetChannelVector::const_iterator::operator++ | ( | ) |
Iterator increment.
long LArCompactSubsetChannelVector::const_iterator::operator- | ( | const const_iterator & | other | ) | const |
Iterator difference.
other | Other iterator for difference. |
const_iterator LArCompactSubsetChannelVector::const_iterator::operator- | ( | size_t | delta | ) | const |
Adjust iterator backwards.
delta | Amount by which to adjust. |
bool LArCompactSubsetChannelVector::const_iterator::operator== | ( | const const_iterator & | other | ) | const |
Iterator equality test.
|
private |
Channel index at which we're currently pointing.
Definition at line 319 of file LArCompactSubset.h.
|
private |
Subset within which we live.
Definition at line 322 of file LArCompactSubset.h.