Helper class for BitFieldCoder that corresponds to one field value.
More...
#include <BitFieldCoder.h>
Helper class for BitFieldCoder that corresponds to one field value.
Definition at line 32 of file BitFieldCoder.h.
◆ BitFieldElement() [1/4]
dd4hep::DDSegmentation::BitFieldElement::BitFieldElement |
( |
| ) |
|
|
default |
◆ BitFieldElement() [2/4]
dd4hep::DDSegmentation::BitFieldElement::BitFieldElement |
( |
const BitFieldElement & |
| ) |
|
|
default |
◆ BitFieldElement() [3/4]
dd4hep::DDSegmentation::BitFieldElement::BitFieldElement |
( |
BitFieldElement && |
| ) |
|
|
default |
◆ BitFieldElement() [4/4]
dd4hep::DDSegmentation::BitFieldElement::BitFieldElement |
( |
const std::string & |
name, |
|
|
unsigned |
offset, |
|
|
int |
signedWidth |
|
) |
| |
The standard c'tor.
- Parameters
-
name | name of the field |
offset | offset of field |
signedWidth | width of field, negative if field is signed |
Definition at line 21 of file BitFieldCoder.cpp.
◆ ~BitFieldElement()
dd4hep::DDSegmentation::BitFieldElement::~BitFieldElement |
( |
| ) |
|
|
default |
◆ isSigned()
bool dd4hep::DDSegmentation::BitFieldElement::isSigned |
( |
| ) |
const |
|
inline |
True if field is interpreted as signed
Definition at line 70 of file BitFieldCoder.h.
◆ mask()
CellID dd4hep::DDSegmentation::BitFieldElement::mask |
( |
| ) |
const |
|
inline |
◆ maxValue()
int dd4hep::DDSegmentation::BitFieldElement::maxValue |
( |
| ) |
const |
|
inline |
◆ minValue()
int dd4hep::DDSegmentation::BitFieldElement::minValue |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& dd4hep::DDSegmentation::BitFieldElement::name |
( |
| ) |
const |
|
inline |
◆ offset()
unsigned dd4hep::DDSegmentation::BitFieldElement::offset |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ set()
void dd4hep::DDSegmentation::BitFieldElement::set |
( |
CellID & |
bitfield, |
|
|
FieldID |
value |
|
) |
| const |
◆ value()
FieldID dd4hep::DDSegmentation::BitFieldElement::value |
( |
CellID |
bitfield | ) |
const |
calculate this field's value given an external 64 bit bitmap
Definition at line 55 of file BitFieldCoder.cpp.
◆ width()
unsigned dd4hep::DDSegmentation::BitFieldElement::width |
( |
| ) |
const |
|
inline |
◆ _isSigned
bool dd4hep::DDSegmentation::BitFieldElement::_isSigned {} |
|
protected |
◆ _mask
CellID dd4hep::DDSegmentation::BitFieldElement::_mask {} |
|
protected |
◆ _maxVal
int dd4hep::DDSegmentation::BitFieldElement::_maxVal {} |
|
protected |
◆ _minVal
int dd4hep::DDSegmentation::BitFieldElement::_minVal {} |
|
protected |
◆ _name
std::string dd4hep::DDSegmentation::BitFieldElement::_name |
|
protected |
◆ _offset
unsigned dd4hep::DDSegmentation::BitFieldElement::_offset {} |
|
protected |
◆ _width
unsigned dd4hep::DDSegmentation::BitFieldElement::_width {} |
|
protected |
The documentation for this class was generated from the following files: