Iterator.
More...
#include <Const.h>
Iterator.
Definition at line 77 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 87 of file Const.h.
87 :
91 {
92 }
uint16_t m_DetectorSetBits
Bits in DetectorSet.
uint16_t m_SetBit
Set bit.
◆ ~Iterator()
Destructor.
Definition at line 97 of file Const.h.
◆ getDetector()
Get detector.
Definition at line 125 of file Const.h.
126 {
127 return *(*this);
128 }
◆ getIndex()
Get index.
Definition at line 143 of file Const.h.
◆ getSetBit()
uint16_t getSetBit |
( |
| ) |
const |
|
inline |
Get set bit.
Definition at line 151 of file Const.h.
◆ increment()
Increment.
Definition at line 109 of file Const.h.
110 {
111 ++(*this);
112 }
◆ operator!=()
bool operator!= |
( |
const Iterator & |
iterator | ) |
|
◆ operator*()
Operator *.
Definition at line 117 of file Const.h.
118 {
120 }
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: