Iterator.
More...
#include <Const.h>
Iterator.
Definition at line 86 of file Const.h.
◆ Iterator()
Iterator |
( |
int |
index, |
|
|
uint16_t |
detectorSetBits, |
|
|
uint16_t |
setBit |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | index | Index. |
[in] | detectorSetBits | Bits in DetectorSet. |
[in] | setBit | Set bit. |
Definition at line 96 of file Const.h.
96 :
100 {
101 }
uint16_t m_DetectorSetBits
Bits in DetectorSet.
uint16_t m_SetBit
Set bit.
◆ ~Iterator()
Destructor.
Definition at line 106 of file Const.h.
◆ getDetector()
Get detector.
Definition at line 134 of file Const.h.
135 {
136 return *(*this);
137 }
◆ getIndex()
Get index.
Definition at line 152 of file Const.h.
◆ getSetBit()
uint16_t getSetBit |
( |
| ) |
const |
|
inline |
Get set bit.
Definition at line 160 of file Const.h.
◆ increment()
Increment.
Definition at line 118 of file Const.h.
119 {
120 ++(*this);
121 }
◆ operator!=()
Operator !=.
Definition at line 201 of file UnitConst.cc.
202{
203 return !(*this == iterator);
204}
◆ operator*()
Operator *.
Definition at line 126 of file Const.h.
127 {
129 }
static EDetector getDetector(uint16_t bit)
Conversion of bit pattern to detector ID.
◆ operator++()
Operator ++.
Definition at line 181 of file UnitConst.cc.
182{
183 while (1) {
187 return *this;
188 }
190 break;
191 }
193 return *this;
194}
◆ operator==()
bool operator== |
( |
const Iterator & |
iterator | ) |
const |
Operator ==.
Definition at line 196 of file UnitConst.cc.
197{
198 return this->
m_SetBit == iterator.m_SetBit;
199}
◆ m_DetectorSetBits
uint16_t m_DetectorSetBits |
|
private |
◆ m_Index
◆ m_SetBit
The documentation for this class was generated from the following files: