DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Lightweight helper class for BitField64 that corresponds to one field value. More...
#include <BitField64.h>
Public Member Functions | |
BitFieldValue ()=delete | |
BitFieldValue (CellID &bitfield, const BitFieldElement &bv) | |
only c'tor with reference to bitfield and BitFieldElement More... | |
FieldID | value () const |
FieldID | value (CellID id) const |
Calculate Field value given an external 64 bit bitmap value. More... | |
BitFieldValue & | operator= (FieldID in) |
operator FieldID () const | |
const std::string & | name () const |
unsigned | offset () const |
unsigned | width () const |
bool | isSigned () const |
CellID | mask () const |
int | minValue () const |
int | maxValue () const |
Private Attributes | |
CellID & | _value |
const BitFieldElement & | _bv |
Lightweight helper class for BitField64 that corresponds to one field value.
(Not thread safe - only use directly through BitField64).
Definition at line 36 of file BitField64.h.
|
delete |
|
inline |
only c'tor with reference to bitfield and BitFieldElement
Definition at line 46 of file BitField64.h.
|
inline |
True if field is interpreted as signed
Definition at line 77 of file BitField64.h.
|
inline |
The field's mask
Definition at line 80 of file BitField64.h.
|
inline |
Maximal value
Definition at line 86 of file BitField64.h.
|
inline |
Minimal value
Definition at line 83 of file BitField64.h.
|
inline |
The field's name
Definition at line 68 of file BitField64.h.
|
inline |
The field's offset
Definition at line 71 of file BitField64.h.
|
inline |
Conversion operator for long64 - allows to write:
long64 index = myBitFieldValue ;
Definition at line 65 of file BitField64.h.
|
inline |
Definition at line 57 of file BitField64.h.
|
inline |
Returns the current field value
Definition at line 51 of file BitField64.h.
Calculate Field value given an external 64 bit bitmap value.
Definition at line 54 of file BitField64.h.
|
inline |
The field's width
Definition at line 74 of file BitField64.h.
|
private |
Definition at line 39 of file BitField64.h.
|
private |
Definition at line 38 of file BitField64.h.