ATLAS Offline Software
Loading...
Searching...
No Matches
LArCompactSubsetVector::iterator Class Reference

Iterator class. More...

#include <LArCompactSubset.h>

Collaboration diagram for LArCompactSubsetVector::iterator:

Public Types

typedef long difference_type

Public Member Functions

 iterator (size_t febIndex, LArCompactSubsetVector &subset)
 Constructor.
bool operator== (const iterator &other) const
 `Dereference' the iterator.
bool operator!= (const iterator &other) const
 Compare iterators for inequality.
iteratoroperator++ ()
 Advance iterator.
iterator operator+ (size_t delta)
 Adjust iterator.
difference_type operator- (const iterator &other)
 Iterator difference.

Private Attributes

*Index we re currently referencing size_t m_febIndex
*The subset within which we live LArCompactSubsetVectorm_subset

Detailed Description

Iterator class.

This dereferences into LArCompactSubsetFebPair. The iteration variable is the FEB index.

Definition at line 544 of file LArCompactSubset.h.

Member Typedef Documentation

◆ difference_type

Constructor & Destructor Documentation

◆ iterator()

LArCompactSubsetVector::iterator::iterator ( size_t febIndex,
LArCompactSubsetVector & subset )

Constructor.

Parameters
febIndexThe FEB index to which we point.
subsetThe subset within which we live.

Member Function Documentation

◆ operator!=()

bool LArCompactSubsetVector::iterator::operator!= ( const iterator & other) const

Compare iterators for inequality.

◆ operator+()

iterator LArCompactSubsetVector::iterator::operator+ ( size_t delta)

Adjust iterator.

Parameters
deltaAmount by which to advance the iterator.

◆ operator++()

iterator & LArCompactSubsetVector::iterator::operator++ ( )

Advance iterator.

◆ operator-()

difference_type LArCompactSubsetVector::iterator::operator- ( const iterator & other)

Iterator difference.

Parameters
otherOther iterator for difference.

◆ operator==()

bool LArCompactSubsetVector::iterator::operator== ( const iterator & other) const

`Dereference' the iterator.

*/ LArCompactSubsetFebPair operator*();

/**

Compare iterators for equality.

Member Data Documentation

◆ m_febIndex

* Index we re currently referencing size_t LArCompactSubsetVector::iterator::m_febIndex
private

Definition at line 599 of file LArCompactSubset.h.

◆ m_subset

* The subset within which we live LArCompactSubsetVector& LArCompactSubsetVector::iterator::m_subset
private

Definition at line 602 of file LArCompactSubset.h.


The documentation for this class was generated from the following file: