![]() |
ATLAS Offline Software
|
Helper class to be used in conjunction with ProxyContainers. More...
#include <PhaseIIInDetRawDataContainer.h>
Public Member Functions | |
| unsigned int | beginIndex () const |
| the first element in the range | |
| unsigned int | endIndex () const |
| the index of the element after the last element | |
| bool | empty () const |
| return true if this range does not contain any elements. | |
| const unsigned int & | rangeIndex () const |
| the index which identifies this range within its parent. | |
| bool | operator== (const IndexWithRange &other) const |
Public Attributes | |
| unsigned int | m_beginIndex {} |
| index of the first child element in the range | |
| unsigned int | m_endIndex {} |
| index after the last child element of this range | |
| unsigned int | m_rangeIndex {} |
| the index if the element which is the parent of the children where the index may refer to a different container | |
Helper class to be used in conjunction with ProxyContainers.
The class provides a range of child elements and for debugging purposes also caches the element index of the element which is parent to these child elements. This class can be used by a proxy container to implement the necessary methods for iterating over child elements.
Definition at line 180 of file PhaseIIInDetRawDataContainer.h.
|
inline |
the first element in the range
Definition at line 186 of file PhaseIIInDetRawDataContainer.h.
|
inline |
return true if this range does not contain any elements.
Definition at line 190 of file PhaseIIInDetRawDataContainer.h.
|
inline |
the index of the element after the last element
Definition at line 188 of file PhaseIIInDetRawDataContainer.h.
|
inline |
Definition at line 198 of file PhaseIIInDetRawDataContainer.h.
|
inline |
the index which identifies this range within its parent.
For example if this range represents the hits of a module, this could be the identifier hash.
Definition at line 195 of file PhaseIIInDetRawDataContainer.h.
| unsigned int PhaseII::IndexWithRange::m_beginIndex {} |
index of the first child element in the range
Definition at line 181 of file PhaseIIInDetRawDataContainer.h.
| unsigned int PhaseII::IndexWithRange::m_endIndex {} |
index after the last child element of this range
Definition at line 182 of file PhaseIIInDetRawDataContainer.h.
| unsigned int PhaseII::IndexWithRange::m_rangeIndex {} |
the index if the element which is the parent of the children where the index may refer to a different container
Definition at line 183 of file PhaseIIInDetRawDataContainer.h.