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!=()
bool operator!= |
( |
const Iterator & |
iterator | ) |
|
◆ 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 182 of file UnitConst.cc.
183{
184 while (1) {
188 return *this;
189 }
191 break;
192 }
194 return *this;
195}
◆ operator==()
bool operator== |
( |
const Iterator & |
iterator | ) |
|
◆ m_DetectorSetBits
uint16_t m_DetectorSetBits |
|
private |
◆ m_Index
◆ m_SetBit
The documentation for this class was generated from the following files: